Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API module Google::Cloud::Kms::V1::AutokeyConfig::KeyProjectResolutionMode.
Defines the resolution mode enum for the key project. The KeyProjectResolutionMode determines the mechanism by which AutokeyConfig identifies a key_project at its specific configuration node. This parameter also determines if Autokey can be used within this project or folder.
Constants
KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED
value: 0
Default value. KeyProjectResolutionMode when not specified will act as
DEDICATED_KEY_PROJECT.
DEDICATED_KEY_PROJECT
value: 1
Keys are created in a dedicated project specified by key_project.
RESOURCE_PROJECT
value: 2
Keys are created in the same project as the resource requesting the key.
The key_project must not be set when this mode is used.
DISABLED
value: 3
Disables the AutokeyConfig. When this mode is set, any AutokeyConfig
from higher levels in the resource hierarchy are ignored for this
resource and its descendants. This setting can be overridden
by a more specific configuration at a lower level. For example,
if Autokey is disabled on a folder, it can be re-enabled on a sub-folder
or project within that folder by setting a different mode (e.g.,
DEDICATED_KEY_PROJECT or RESOURCE_PROJECT).