AutokeyConfig
Cloud KMS Autokey configuration for a folder.
JSON representation |
{
"name": string,
"keyProject": string,
"state": enum (State ),
"etag": string
} |
Fields |
name |
string
Identifier. Name of the AutokeyConfig resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig .
|
keyProject |
string
Optional. Name of the key project, e.g. projects/{PROJECT_ID} or projects/{PROJECT_NUMBER} , where Cloud KMS Autokey will provision a new CryptoKey when a KeyHandle is created. On folders.updateAutokeyConfig , the caller will require cloudkms.cryptoKeys.setIamPolicy permission on this key project. Once configured, for Cloud KMS Autokey to function properly, this key project must have the Cloud KMS API activated and the Cloud KMS Service Agent for this key project must be granted the cloudkms.admin role (or pertinent permissions). A request with an empty key project field will clear the configuration.
|
state |
enum (State )
Output only. The state for the AutokeyConfig.
|
etag |
string
Optional. A checksum computed by the server based on the value of other fields. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The request will be rejected with an ABORTED error on a mismatched etag.
|
State
The states AutokeyConfig can be in.
Enums |
STATE_UNSPECIFIED |
The state of the AutokeyConfig is unspecified. |
ACTIVE |
The AutokeyConfig is currently active. |
KEY_PROJECT_DELETED |
A previously configured key project has been deleted and the current AutokeyConfig is unusable. |
UNINITIALIZED |
The AutokeyConfig is not yet initialized or has been reset to its default uninitialized state. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-23 UTC."],[],[],null,[]]