Cloud KMS V1 Client - Class KeyProjectResolutionMode (2.7.0)

Reference documentation and code samples for the Cloud KMS V1 Client class 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.

Protobuf type google.cloud.kms.v1.AutokeyConfig.KeyProjectResolutionMode

Namespace

Google \ Cloud \ Kms \ V1 \ AutokeyConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED

Value: 0

Default value. KeyProjectResolutionMode when not specified will act as DEDICATED_KEY_PROJECT.

Generated from protobuf enum KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED = 0;

DEDICATED_KEY_PROJECT

Value: 1

Keys are created in a dedicated project specified by key_project.

Generated from protobuf enum DEDICATED_KEY_PROJECT = 1;

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.

Generated from protobuf enum RESOURCE_PROJECT = 2;

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).

Generated from protobuf enum DISABLED = 3;