Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudkms/v1.getCryptoKey
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns metadata for a given CryptoKey, as well as its primary CryptoKeyVersion.
Using getCryptoKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCryptoKey(args: GetCryptoKeyArgs, opts?: InvokeOptions): Promise<GetCryptoKeyResult>
function getCryptoKeyOutput(args: GetCryptoKeyOutputArgs, opts?: InvokeOptions): Output<GetCryptoKeyResult>
def get_crypto_key(crypto_key_id: Optional[str] = None,
key_ring_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCryptoKeyResult
def get_crypto_key_output(crypto_key_id: Optional[pulumi.Input[str]] = None,
key_ring_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCryptoKeyResult]
func LookupCryptoKey(ctx *Context, args *LookupCryptoKeyArgs, opts ...InvokeOption) (*LookupCryptoKeyResult, error)
func LookupCryptoKeyOutput(ctx *Context, args *LookupCryptoKeyOutputArgs, opts ...InvokeOption) LookupCryptoKeyResultOutput
> Note: This function is named LookupCryptoKey
in the Go SDK.
public static class GetCryptoKey
{
public static Task<GetCryptoKeyResult> InvokeAsync(GetCryptoKeyArgs args, InvokeOptions? opts = null)
public static Output<GetCryptoKeyResult> Invoke(GetCryptoKeyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCryptoKeyResult> getCryptoKey(GetCryptoKeyArgs args, InvokeOptions options)
public static Output<GetCryptoKeyResult> getCryptoKey(GetCryptoKeyArgs args, InvokeOptions options)
fn::invoke:
function: google-native:cloudkms/v1:getCryptoKey
arguments:
# arguments dictionary
The following arguments are supported:
- Crypto
Key Id This property is required. string - Key
Ring Id This property is required. string - Location
This property is required. string - Project string
- Crypto
Key Id This property is required. string - Key
Ring Id This property is required. string - Location
This property is required. string - Project string
- crypto
Key Id This property is required. String - key
Ring Id This property is required. String - location
This property is required. String - project String
- crypto
Key Id This property is required. string - key
Ring Id This property is required. string - location
This property is required. string - project string
- crypto_
key_ id This property is required. str - key_
ring_ id This property is required. str - location
This property is required. str - project str
- crypto
Key Id This property is required. String - key
Ring Id This property is required. String - location
This property is required. String - project String
getCryptoKey Result
The following output properties are available:
- Create
Time string - The time at which this CryptoKey was created.
- Crypto
Key stringBackend - Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format
projects/*/locations/*/ekmConnections/*
. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. - Destroy
Scheduled stringDuration - Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.
- Import
Only bool - Immutable. Whether this key may contain imported versions only.
- Labels Dictionary<string, string>
- Labels with user-defined metadata. For more information, see Labeling Keys.
- Name string
- The resource name for this CryptoKey in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*
. - Next
Rotation stringTime - At next_rotation_time, the Key Management Service will automatically: 1. Create a new version of this CryptoKey. 2. Mark the new version as primary. Key rotations performed manually via CreateCryptoKeyVersion and UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- Primary
Pulumi.
Google Native. Cloudkms. V1. Outputs. Crypto Key Version Response - A copy of the "primary" CryptoKeyVersion that will be used by Encrypt when this CryptoKey is given in EncryptRequest.name. The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be omitted.
- Purpose string
- Immutable. The immutable purpose of this CryptoKey.
- Rotation
Period string - next_rotation_time will be advanced by this period when the service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. If rotation_period is set, next_rotation_time must also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- Version
Template Pulumi.Google Native. Cloudkms. V1. Outputs. Crypto Key Version Template Response - A template describing settings for new CryptoKeyVersion instances. The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion or auto-rotation are controlled by this template.
- Create
Time string - The time at which this CryptoKey was created.
- Crypto
Key stringBackend - Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format
projects/*/locations/*/ekmConnections/*
. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. - Destroy
Scheduled stringDuration - Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.
- Import
Only bool - Immutable. Whether this key may contain imported versions only.
- Labels map[string]string
- Labels with user-defined metadata. For more information, see Labeling Keys.
- Name string
- The resource name for this CryptoKey in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*
. - Next
Rotation stringTime - At next_rotation_time, the Key Management Service will automatically: 1. Create a new version of this CryptoKey. 2. Mark the new version as primary. Key rotations performed manually via CreateCryptoKeyVersion and UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- Primary
Crypto
Key Version Response - A copy of the "primary" CryptoKeyVersion that will be used by Encrypt when this CryptoKey is given in EncryptRequest.name. The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be omitted.
- Purpose string
- Immutable. The immutable purpose of this CryptoKey.
- Rotation
Period string - next_rotation_time will be advanced by this period when the service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. If rotation_period is set, next_rotation_time must also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- Version
Template CryptoKey Version Template Response - A template describing settings for new CryptoKeyVersion instances. The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion or auto-rotation are controlled by this template.
- create
Time String - The time at which this CryptoKey was created.
- crypto
Key StringBackend - Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format
projects/*/locations/*/ekmConnections/*
. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. - destroy
Scheduled StringDuration - Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.
- import
Only Boolean - Immutable. Whether this key may contain imported versions only.
- labels Map<String,String>
- Labels with user-defined metadata. For more information, see Labeling Keys.
- name String
- The resource name for this CryptoKey in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*
. - next
Rotation StringTime - At next_rotation_time, the Key Management Service will automatically: 1. Create a new version of this CryptoKey. 2. Mark the new version as primary. Key rotations performed manually via CreateCryptoKeyVersion and UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- primary
Crypto
Key Version Response - A copy of the "primary" CryptoKeyVersion that will be used by Encrypt when this CryptoKey is given in EncryptRequest.name. The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be omitted.
- purpose String
- Immutable. The immutable purpose of this CryptoKey.
- rotation
Period String - next_rotation_time will be advanced by this period when the service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. If rotation_period is set, next_rotation_time must also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- version
Template CryptoKey Version Template Response - A template describing settings for new CryptoKeyVersion instances. The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion or auto-rotation are controlled by this template.
- create
Time string - The time at which this CryptoKey was created.
- crypto
Key stringBackend - Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format
projects/*/locations/*/ekmConnections/*
. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. - destroy
Scheduled stringDuration - Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.
- import
Only boolean - Immutable. Whether this key may contain imported versions only.
- labels {[key: string]: string}
- Labels with user-defined metadata. For more information, see Labeling Keys.
- name string
- The resource name for this CryptoKey in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*
. - next
Rotation stringTime - At next_rotation_time, the Key Management Service will automatically: 1. Create a new version of this CryptoKey. 2. Mark the new version as primary. Key rotations performed manually via CreateCryptoKeyVersion and UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- primary
Crypto
Key Version Response - A copy of the "primary" CryptoKeyVersion that will be used by Encrypt when this CryptoKey is given in EncryptRequest.name. The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be omitted.
- purpose string
- Immutable. The immutable purpose of this CryptoKey.
- rotation
Period string - next_rotation_time will be advanced by this period when the service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. If rotation_period is set, next_rotation_time must also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- version
Template CryptoKey Version Template Response - A template describing settings for new CryptoKeyVersion instances. The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion or auto-rotation are controlled by this template.
- create_
time str - The time at which this CryptoKey was created.
- crypto_
key_ strbackend - Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format
projects/*/locations/*/ekmConnections/*
. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. - destroy_
scheduled_ strduration - Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.
- import_
only bool - Immutable. Whether this key may contain imported versions only.
- labels Mapping[str, str]
- Labels with user-defined metadata. For more information, see Labeling Keys.
- name str
- The resource name for this CryptoKey in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*
. - next_
rotation_ strtime - At next_rotation_time, the Key Management Service will automatically: 1. Create a new version of this CryptoKey. 2. Mark the new version as primary. Key rotations performed manually via CreateCryptoKeyVersion and UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- primary
Crypto
Key Version Response - A copy of the "primary" CryptoKeyVersion that will be used by Encrypt when this CryptoKey is given in EncryptRequest.name. The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be omitted.
- purpose str
- Immutable. The immutable purpose of this CryptoKey.
- rotation_
period str - next_rotation_time will be advanced by this period when the service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. If rotation_period is set, next_rotation_time must also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- version_
template CryptoKey Version Template Response - A template describing settings for new CryptoKeyVersion instances. The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion or auto-rotation are controlled by this template.
- create
Time String - The time at which this CryptoKey was created.
- crypto
Key StringBackend - Immutable. The resource name of the backend environment where the key material for all CryptoKeyVersions associated with this CryptoKey reside and where all related cryptographic operations are performed. Only applicable if CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource name in the format
projects/*/locations/*/ekmConnections/*
. Note, this list is non-exhaustive and may apply to additional ProtectionLevels in the future. - destroy
Scheduled StringDuration - Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.
- import
Only Boolean - Immutable. Whether this key may contain imported versions only.
- labels Map<String>
- Labels with user-defined metadata. For more information, see Labeling Keys.
- name String
- The resource name for this CryptoKey in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*
. - next
Rotation StringTime - At next_rotation_time, the Key Management Service will automatically: 1. Create a new version of this CryptoKey. 2. Mark the new version as primary. Key rotations performed manually via CreateCryptoKeyVersion and UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- primary Property Map
- A copy of the "primary" CryptoKeyVersion that will be used by Encrypt when this CryptoKey is given in EncryptRequest.name. The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be omitted.
- purpose String
- Immutable. The immutable purpose of this CryptoKey.
- rotation
Period String - next_rotation_time will be advanced by this period when the service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. If rotation_period is set, next_rotation_time must also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted.
- version
Template Property Map - A template describing settings for new CryptoKeyVersion instances. The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion or auto-rotation are controlled by this template.
Supporting Types
CertificateChainsResponse
- Cavium
Certs This property is required. List<string> - Cavium certificate chain corresponding to the attestation.
- Google
Card Certs This property is required. List<string> - Google card certificate chain corresponding to the attestation.
- Google
Partition Certs This property is required. List<string> - Google partition certificate chain corresponding to the attestation.
- Cavium
Certs This property is required. []string - Cavium certificate chain corresponding to the attestation.
- Google
Card Certs This property is required. []string - Google card certificate chain corresponding to the attestation.
- Google
Partition Certs This property is required. []string - Google partition certificate chain corresponding to the attestation.
- cavium
Certs This property is required. List<String> - Cavium certificate chain corresponding to the attestation.
- google
Card Certs This property is required. List<String> - Google card certificate chain corresponding to the attestation.
- google
Partition Certs This property is required. List<String> - Google partition certificate chain corresponding to the attestation.
- cavium
Certs This property is required. string[] - Cavium certificate chain corresponding to the attestation.
- google
Card Certs This property is required. string[] - Google card certificate chain corresponding to the attestation.
- google
Partition Certs This property is required. string[] - Google partition certificate chain corresponding to the attestation.
- cavium_
certs This property is required. Sequence[str] - Cavium certificate chain corresponding to the attestation.
- google_
card_ certs This property is required. Sequence[str] - Google card certificate chain corresponding to the attestation.
- google_
partition_ certs This property is required. Sequence[str] - Google partition certificate chain corresponding to the attestation.
- cavium
Certs This property is required. List<String> - Cavium certificate chain corresponding to the attestation.
- google
Card Certs This property is required. List<String> - Google card certificate chain corresponding to the attestation.
- google
Partition Certs This property is required. List<String> - Google partition certificate chain corresponding to the attestation.
CryptoKeyVersionResponse
- Algorithm
This property is required. string - The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- Attestation
This property is required. Pulumi.Google Native. Cloudkms. V1. Inputs. Key Operation Attestation Response - Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.
- Create
Time This property is required. string - The time at which this CryptoKeyVersion was created.
- Destroy
Event Time This property is required. string - The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
- Destroy
Time This property is required. string - The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
- External
Destruction Failure Reason This property is required. string - The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
- External
Protection Level Options This property is required. Pulumi.Google Native. Cloudkms. V1. Inputs. External Protection Level Options Response - ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
- Generate
Time This property is required. string - The time this CryptoKeyVersion's key material was generated.
- Generation
Failure Reason This property is required. string - The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
- Import
Failure Reason This property is required. string - The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
- Import
Job This property is required. string - The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
- Import
Time This property is required. string - The time at which this CryptoKeyVersion's key material was most recently imported.
- Name
This property is required. string - The resource name for this CryptoKeyVersion in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. - Protection
Level This property is required. string - The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
- Reimport
Eligible This property is required. bool - Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
- State
This property is required. string - The current state of the CryptoKeyVersion.
- Algorithm
This property is required. string - The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- Attestation
This property is required. KeyOperation Attestation Response - Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.
- Create
Time This property is required. string - The time at which this CryptoKeyVersion was created.
- Destroy
Event Time This property is required. string - The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
- Destroy
Time This property is required. string - The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
- External
Destruction Failure Reason This property is required. string - The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
- External
Protection Level Options This property is required. ExternalProtection Level Options Response - ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
- Generate
Time This property is required. string - The time this CryptoKeyVersion's key material was generated.
- Generation
Failure Reason This property is required. string - The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
- Import
Failure Reason This property is required. string - The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
- Import
Job This property is required. string - The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
- Import
Time This property is required. string - The time at which this CryptoKeyVersion's key material was most recently imported.
- Name
This property is required. string - The resource name for this CryptoKeyVersion in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. - Protection
Level This property is required. string - The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
- Reimport
Eligible This property is required. bool - Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
- State
This property is required. string - The current state of the CryptoKeyVersion.
- algorithm
This property is required. String - The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- attestation
This property is required. KeyOperation Attestation Response - Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.
- create
Time This property is required. String - The time at which this CryptoKeyVersion was created.
- destroy
Event Time This property is required. String - The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
- destroy
Time This property is required. String - The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
- external
Destruction Failure Reason This property is required. String - The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
- external
Protection Level Options This property is required. ExternalProtection Level Options Response - ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
- generate
Time This property is required. String - The time this CryptoKeyVersion's key material was generated.
- generation
Failure Reason This property is required. String - The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
- import
Failure Reason This property is required. String - The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
- import
Job This property is required. String - The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
- import
Time This property is required. String - The time at which this CryptoKeyVersion's key material was most recently imported.
- name
This property is required. String - The resource name for this CryptoKeyVersion in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. - protection
Level This property is required. String - The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
- reimport
Eligible This property is required. Boolean - Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
- state
This property is required. String - The current state of the CryptoKeyVersion.
- algorithm
This property is required. string - The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- attestation
This property is required. KeyOperation Attestation Response - Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.
- create
Time This property is required. string - The time at which this CryptoKeyVersion was created.
- destroy
Event Time This property is required. string - The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
- destroy
Time This property is required. string - The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
- external
Destruction Failure Reason This property is required. string - The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
- external
Protection Level Options This property is required. ExternalProtection Level Options Response - ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
- generate
Time This property is required. string - The time this CryptoKeyVersion's key material was generated.
- generation
Failure Reason This property is required. string - The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
- import
Failure Reason This property is required. string - The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
- import
Job This property is required. string - The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
- import
Time This property is required. string - The time at which this CryptoKeyVersion's key material was most recently imported.
- name
This property is required. string - The resource name for this CryptoKeyVersion in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. - protection
Level This property is required. string - The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
- reimport
Eligible This property is required. boolean - Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
- state
This property is required. string - The current state of the CryptoKeyVersion.
- algorithm
This property is required. str - The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- attestation
This property is required. KeyOperation Attestation Response - Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.
- create_
time This property is required. str - The time at which this CryptoKeyVersion was created.
- destroy_
event_ time This property is required. str - The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
- destroy_
time This property is required. str - The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
- external_
destruction_ failure_ reason This property is required. str - The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
- external_
protection_ level_ options This property is required. ExternalProtection Level Options Response - ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
- generate_
time This property is required. str - The time this CryptoKeyVersion's key material was generated.
- generation_
failure_ reason This property is required. str - The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
- import_
failure_ reason This property is required. str - The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
- import_
job This property is required. str - The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
- import_
time This property is required. str - The time at which this CryptoKeyVersion's key material was most recently imported.
- name
This property is required. str - The resource name for this CryptoKeyVersion in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. - protection_
level This property is required. str - The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
- reimport_
eligible This property is required. bool - Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
- state
This property is required. str - The current state of the CryptoKeyVersion.
- algorithm
This property is required. String - The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- attestation
This property is required. Property Map - Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.
- create
Time This property is required. String - The time at which this CryptoKeyVersion was created.
- destroy
Event Time This property is required. String - The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
- destroy
Time This property is required. String - The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
- external
Destruction Failure Reason This property is required. String - The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
- external
Protection Level Options This property is required. Property Map - ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
- generate
Time This property is required. String - The time this CryptoKeyVersion's key material was generated.
- generation
Failure Reason This property is required. String - The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
- import
Failure Reason This property is required. String - The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
- import
Job This property is required. String - The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
- import
Time This property is required. String - The time at which this CryptoKeyVersion's key material was most recently imported.
- name
This property is required. String - The resource name for this CryptoKeyVersion in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. - protection
Level This property is required. String - The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
- reimport
Eligible This property is required. Boolean - Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
- state
This property is required. String - The current state of the CryptoKeyVersion.
CryptoKeyVersionTemplateResponse
- Algorithm
This property is required. string - Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
- Protection
Level This property is required. string - ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
- Algorithm
This property is required. string - Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
- Protection
Level This property is required. string - ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
- algorithm
This property is required. String - Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
- protection
Level This property is required. String - ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
- algorithm
This property is required. string - Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
- protection
Level This property is required. string - ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
- algorithm
This property is required. str - Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
- protection_
level This property is required. str - ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
- algorithm
This property is required. String - Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
- protection
Level This property is required. String - ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
ExternalProtectionLevelOptionsResponse
- Ekm
Connection Key Path This property is required. string - The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection.
- External
Key Uri This property is required. string - The URI for an external resource that this CryptoKeyVersion represents.
- Ekm
Connection Key Path This property is required. string - The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection.
- External
Key Uri This property is required. string - The URI for an external resource that this CryptoKeyVersion represents.
- ekm
Connection Key Path This property is required. String - The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection.
- external
Key Uri This property is required. String - The URI for an external resource that this CryptoKeyVersion represents.
- ekm
Connection Key Path This property is required. string - The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection.
- external
Key Uri This property is required. string - The URI for an external resource that this CryptoKeyVersion represents.
- ekm_
connection_ key_ path This property is required. str - The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection.
- external_
key_ uri This property is required. str - The URI for an external resource that this CryptoKeyVersion represents.
- ekm
Connection Key Path This property is required. String - The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection.
- external
Key Uri This property is required. String - The URI for an external resource that this CryptoKeyVersion represents.
KeyOperationAttestationResponse
- Cert
Chains This property is required. Pulumi.Google Native. Cloudkms. V1. Inputs. Certificate Chains Response - The certificate chains needed to validate the attestation
- Content
This property is required. string - The attestation data provided by the HSM when the key operation was performed.
- Format
This property is required. string - The format of the attestation data.
- Cert
Chains This property is required. CertificateChains Response - The certificate chains needed to validate the attestation
- Content
This property is required. string - The attestation data provided by the HSM when the key operation was performed.
- Format
This property is required. string - The format of the attestation data.
- cert
Chains This property is required. CertificateChains Response - The certificate chains needed to validate the attestation
- content
This property is required. String - The attestation data provided by the HSM when the key operation was performed.
- format
This property is required. String - The format of the attestation data.
- cert
Chains This property is required. CertificateChains Response - The certificate chains needed to validate the attestation
- content
This property is required. string - The attestation data provided by the HSM when the key operation was performed.
- format
This property is required. string - The format of the attestation data.
- cert_
chains This property is required. CertificateChains Response - The certificate chains needed to validate the attestation
- content
This property is required. str - The attestation data provided by the HSM when the key operation was performed.
- format
This property is required. str - The format of the attestation data.
- cert
Chains This property is required. Property Map - The certificate chains needed to validate the attestation
- content
This property is required. String - The attestation data provided by the HSM when the key operation was performed.
- format
This property is required. String - The format of the attestation data.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi