Resource: CryptoKey
A CryptoKey represents a logical key that can be used for cryptographic operations.
A CryptoKey is made up of zero or more versions, which represent the actual key material used in cryptographic operations.
| JSON representation |
|---|
{ "name": string, "primary": { object ( |
| Fields | |
|---|---|
name |
Output only. The resource name for this |
primary |
Output only. A copy of the "primary" The Keys with |
purpose |
Immutable. The immutable purpose of this |
createTime |
Output only. The time at which this Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
nextRotationTime |
At
Key rotations performed manually via cryptoKeyVersions.create and cryptoKeys.updatePrimaryVersion
do not affect Keys with Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
versionTemplate |
A template describing settings for new |
labels |
Labels with user-defined metadata. For more information, see Labeling Keys. |
importOnly |
Immutable. Whether this key may contain imported versions only. |
destroyScheduledDuration |
Immutable. The period of time that versions of this key spend in the A duration in seconds with up to nine fractional digits, ending with ' |
cryptoKeyBackend |
Immutable. The resource name of the backend environment where the key material for all |
keyAccessJustificationsPolicy |
Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. |
Union field rotation_schedule. Controls the rate of automatic rotation. rotation_schedule can be only one of the following: |
|
rotationPeriod |
If Keys with A duration in seconds with up to nine fractional digits, ending with ' |
Methods |
|
|---|---|
|
Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. |