gcp.kms.getCryptoKeys
Explore with Pulumi AI
Provides access to all Google Cloud Platform KMS CryptoKeys in a given KeyRing. For more information see the official documentation and API.
A CryptoKey is an interface to key material which can be used to encrypt and decrypt data. A CryptoKey belongs to a Google Cloud KMS KeyRing.
Using getCryptoKeys
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 getCryptoKeys(args: GetCryptoKeysArgs, opts?: InvokeOptions): Promise<GetCryptoKeysResult>
function getCryptoKeysOutput(args: GetCryptoKeysOutputArgs, opts?: InvokeOptions): Output<GetCryptoKeysResult>def get_crypto_keys(filter: Optional[str] = None,
                    key_ring: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCryptoKeysResult
def get_crypto_keys_output(filter: Optional[pulumi.Input[str]] = None,
                    key_ring: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetCryptoKeysResult]func GetCryptoKeys(ctx *Context, args *GetCryptoKeysArgs, opts ...InvokeOption) (*GetCryptoKeysResult, error)
func GetCryptoKeysOutput(ctx *Context, args *GetCryptoKeysOutputArgs, opts ...InvokeOption) GetCryptoKeysResultOutput> Note: This function is named GetCryptoKeys in the Go SDK.
public static class GetCryptoKeys 
{
    public static Task<GetCryptoKeysResult> InvokeAsync(GetCryptoKeysArgs args, InvokeOptions? opts = null)
    public static Output<GetCryptoKeysResult> Invoke(GetCryptoKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCryptoKeysResult> getCryptoKeys(GetCryptoKeysArgs args, InvokeOptions options)
public static Output<GetCryptoKeysResult> getCryptoKeys(GetCryptoKeysArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:kms/getCryptoKeys:getCryptoKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- KeyRing string
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- Filter string
- The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering. - Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}. - "name:my-key-"will retrieve keys that contain "my-key-" anywhere in their name.
- "name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1"will only retrieve a key with that exact name.
 
- KeyRing string
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- Filter string
- The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering. - Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}. - "name:my-key-"will retrieve keys that contain "my-key-" anywhere in their name.
- "name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1"will only retrieve a key with that exact name.
 
- keyRing String
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- filter String
- The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering. - Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}. - "name:my-key-"will retrieve keys that contain "my-key-" anywhere in their name.
- "name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1"will only retrieve a key with that exact name.
 
- keyRing string
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- filter string
- The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering. - Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}. - "name:my-key-"will retrieve keys that contain "my-key-" anywhere in their name.
- "name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1"will only retrieve a key with that exact name.
 
- key_ring str
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- filter str
- The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering. - Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}. - "name:my-key-"will retrieve keys that contain "my-key-" anywhere in their name.
- "name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1"will only retrieve a key with that exact name.
 
- keyRing String
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- filter String
- The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering. - Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}. - "name:my-key-"will retrieve keys that contain "my-key-" anywhere in their name.
- "name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1"will only retrieve a key with that exact name.
 
getCryptoKeys Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- KeyRing string
- Keys
List<GetCrypto Keys Key> 
- A list of all the retrieved keys from the provided key ring. This list is influenced by the provided filter argument.
- Filter string
- Id string
- The provider-assigned unique ID for this managed resource.
- KeyRing string
- Keys
[]GetCrypto Keys Key 
- A list of all the retrieved keys from the provided key ring. This list is influenced by the provided filter argument.
- Filter string
- id String
- The provider-assigned unique ID for this managed resource.
- keyRing String
- keys
List<GetCrypto Keys Key> 
- A list of all the retrieved keys from the provided key ring. This list is influenced by the provided filter argument.
- filter String
- id string
- The provider-assigned unique ID for this managed resource.
- keyRing string
- keys
GetCrypto Keys Key[] 
- A list of all the retrieved keys from the provided key ring. This list is influenced by the provided filter argument.
- filter string
- id str
- The provider-assigned unique ID for this managed resource.
- key_ring str
- keys
Sequence[GetCrypto Keys Key] 
- A list of all the retrieved keys from the provided key ring. This list is influenced by the provided filter argument.
- filter str
- id String
- The provider-assigned unique ID for this managed resource.
- keyRing String
- keys List<Property Map>
- A list of all the retrieved keys from the provided key ring. This list is influenced by the provided filter argument.
- filter String
Supporting Types
GetCryptoKeysKey   
- CryptoKey stringBackend 
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey. The resource name is in the format "projects//locations//ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
- DestroyScheduled stringDuration 
- 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 30 days.
- EffectiveLabels Dictionary<string, string>
- Id string
- ImportOnly bool
- Whether this key may contain imported versions only.
- KeyAccess List<GetJustifications Policies Crypto Keys Key Key Access Justifications Policy> 
- 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. This field is currently in beta and is subject to change.
- Labels Dictionary<string, string>
- Labels with user-defined metadata to apply to this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. 
- Primaries
List<GetCrypto Keys Key Primary> 
- A copy of the primary CryptoKeyVersion that will be used by cryptoKeys.encrypt when this CryptoKey is given in EncryptRequest.name. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be unset.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Purpose string
- The immutable purpose of this CryptoKey. See the purpose reference for possible inputs. Default value is "ENCRYPT_DECRYPT".
- RotationPeriod string
- Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. The first rotation will take place after the specified period. The rotation period has the format of a decimal number with up to 9 fractional digits, followed by the letter 's' (seconds). It must be greater than a day (ie, 86400).
- SkipInitial boolVersion Creation 
- If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must use the 'google_kms_crypto_key_version' resource to create a new CryptoKeyVersion or 'google_kms_key_ring_import_job' resource to import the CryptoKeyVersion.
- VersionTemplates List<GetCrypto Keys Key Version Template> 
- A template describing settings for new crypto key versions.
- KeyRing string
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- Name string
- The resource name for the CryptoKey.
- CryptoKey stringBackend 
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey. The resource name is in the format "projects//locations//ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
- DestroyScheduled stringDuration 
- 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 30 days.
- EffectiveLabels map[string]string
- Id string
- ImportOnly bool
- Whether this key may contain imported versions only.
- KeyAccess []GetJustifications Policies Crypto Keys Key Key Access Justifications Policy 
- 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. This field is currently in beta and is subject to change.
- Labels map[string]string
- Labels with user-defined metadata to apply to this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. 
- Primaries
[]GetCrypto Keys Key Primary 
- A copy of the primary CryptoKeyVersion that will be used by cryptoKeys.encrypt when this CryptoKey is given in EncryptRequest.name. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be unset.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Purpose string
- The immutable purpose of this CryptoKey. See the purpose reference for possible inputs. Default value is "ENCRYPT_DECRYPT".
- RotationPeriod string
- Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. The first rotation will take place after the specified period. The rotation period has the format of a decimal number with up to 9 fractional digits, followed by the letter 's' (seconds). It must be greater than a day (ie, 86400).
- SkipInitial boolVersion Creation 
- If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must use the 'google_kms_crypto_key_version' resource to create a new CryptoKeyVersion or 'google_kms_key_ring_import_job' resource to import the CryptoKeyVersion.
- VersionTemplates []GetCrypto Keys Key Version Template 
- A template describing settings for new crypto key versions.
- KeyRing string
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- Name string
- The resource name for the CryptoKey.
- cryptoKey StringBackend 
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey. The resource name is in the format "projects//locations//ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
- destroyScheduled StringDuration 
- 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 30 days.
- effectiveLabels Map<String,String>
- id String
- importOnly Boolean
- Whether this key may contain imported versions only.
- keyAccess List<GetJustifications Policies Crypto Keys Key Key Access Justifications Policy> 
- 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. This field is currently in beta and is subject to change.
- labels Map<String,String>
- Labels with user-defined metadata to apply to this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. 
- primaries
List<GetCrypto Keys Key Primary> 
- A copy of the primary CryptoKeyVersion that will be used by cryptoKeys.encrypt when this CryptoKey is given in EncryptRequest.name. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be unset.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- purpose String
- The immutable purpose of this CryptoKey. See the purpose reference for possible inputs. Default value is "ENCRYPT_DECRYPT".
- rotationPeriod String
- Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. The first rotation will take place after the specified period. The rotation period has the format of a decimal number with up to 9 fractional digits, followed by the letter 's' (seconds). It must be greater than a day (ie, 86400).
- skipInitial BooleanVersion Creation 
- If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must use the 'google_kms_crypto_key_version' resource to create a new CryptoKeyVersion or 'google_kms_key_ring_import_job' resource to import the CryptoKeyVersion.
- versionTemplates List<GetCrypto Keys Key Version Template> 
- A template describing settings for new crypto key versions.
- keyRing String
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- name String
- The resource name for the CryptoKey.
- cryptoKey stringBackend 
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey. The resource name is in the format "projects//locations//ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
- destroyScheduled stringDuration 
- 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 30 days.
- effectiveLabels {[key: string]: string}
- id string
- importOnly boolean
- Whether this key may contain imported versions only.
- keyAccess GetJustifications Policies Crypto Keys Key Key Access Justifications Policy[] 
- 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. This field is currently in beta and is subject to change.
- labels {[key: string]: string}
- Labels with user-defined metadata to apply to this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. 
- primaries
GetCrypto Keys Key Primary[] 
- A copy of the primary CryptoKeyVersion that will be used by cryptoKeys.encrypt when this CryptoKey is given in EncryptRequest.name. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be unset.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- purpose string
- The immutable purpose of this CryptoKey. See the purpose reference for possible inputs. Default value is "ENCRYPT_DECRYPT".
- rotationPeriod string
- Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. The first rotation will take place after the specified period. The rotation period has the format of a decimal number with up to 9 fractional digits, followed by the letter 's' (seconds). It must be greater than a day (ie, 86400).
- skipInitial booleanVersion Creation 
- If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must use the 'google_kms_crypto_key_version' resource to create a new CryptoKeyVersion or 'google_kms_key_ring_import_job' resource to import the CryptoKeyVersion.
- versionTemplates GetCrypto Keys Key Version Template[] 
- A template describing settings for new crypto key versions.
- keyRing string
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- name string
- The resource name for the CryptoKey.
- crypto_key_ strbackend 
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey. The resource name is in the format "projects//locations//ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
- destroy_scheduled_ strduration 
- 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 30 days.
- effective_labels Mapping[str, str]
- id str
- import_only bool
- Whether this key may contain imported versions only.
- key_access_ Sequence[Getjustifications_ policies Crypto Keys Key Key Access Justifications Policy] 
- 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. This field is currently in beta and is subject to change.
- labels Mapping[str, str]
- Labels with user-defined metadata to apply to this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. 
- primaries
Sequence[GetCrypto Keys Key Primary] 
- A copy of the primary CryptoKeyVersion that will be used by cryptoKeys.encrypt when this CryptoKey is given in EncryptRequest.name. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be unset.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- purpose str
- The immutable purpose of this CryptoKey. See the purpose reference for possible inputs. Default value is "ENCRYPT_DECRYPT".
- rotation_period str
- Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. The first rotation will take place after the specified period. The rotation period has the format of a decimal number with up to 9 fractional digits, followed by the letter 's' (seconds). It must be greater than a day (ie, 86400).
- skip_initial_ boolversion_ creation 
- If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must use the 'google_kms_crypto_key_version' resource to create a new CryptoKeyVersion or 'google_kms_key_ring_import_job' resource to import the CryptoKeyVersion.
- version_templates Sequence[GetCrypto Keys Key Version Template] 
- A template describing settings for new crypto key versions.
- key_ring str
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- name str
- The resource name for the CryptoKey.
- cryptoKey StringBackend 
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey. The resource name is in the format "projects//locations//ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
- destroyScheduled StringDuration 
- 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 30 days.
- effectiveLabels Map<String>
- id String
- importOnly Boolean
- Whether this key may contain imported versions only.
- keyAccess List<Property Map>Justifications Policies 
- 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. This field is currently in beta and is subject to change.
- labels Map<String>
- Labels with user-defined metadata to apply to this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. 
- primaries List<Property Map>
- A copy of the primary CryptoKeyVersion that will be used by cryptoKeys.encrypt when this CryptoKey is given in EncryptRequest.name. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be unset.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- purpose String
- The immutable purpose of this CryptoKey. See the purpose reference for possible inputs. Default value is "ENCRYPT_DECRYPT".
- rotationPeriod String
- Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. The first rotation will take place after the specified period. The rotation period has the format of a decimal number with up to 9 fractional digits, followed by the letter 's' (seconds). It must be greater than a day (ie, 86400).
- skipInitial BooleanVersion Creation 
- If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must use the 'google_kms_crypto_key_version' resource to create a new CryptoKeyVersion or 'google_kms_key_ring_import_job' resource to import the CryptoKeyVersion.
- versionTemplates List<Property Map>
- A template describing settings for new crypto key versions.
- keyRing String
- The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
- name String
- The resource name for the CryptoKey.
GetCryptoKeysKeyKeyAccessJustificationsPolicy       
- AllowedAccess List<string>Reasons 
- The list of allowed reasons for access to this CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for this CryptoKey will fail.
- AllowedAccess []stringReasons 
- The list of allowed reasons for access to this CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for this CryptoKey will fail.
- allowedAccess List<String>Reasons 
- The list of allowed reasons for access to this CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for this CryptoKey will fail.
- allowedAccess string[]Reasons 
- The list of allowed reasons for access to this CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for this CryptoKey will fail.
- allowed_access_ Sequence[str]reasons 
- The list of allowed reasons for access to this CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for this CryptoKey will fail.
- allowedAccess List<String>Reasons 
- The list of allowed reasons for access to this CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for this CryptoKey will fail.
GetCryptoKeysKeyPrimary    
GetCryptoKeysKeyVersionTemplate     
- Algorithm string
- The algorithm to use when creating a version based on this template. See the algorithm reference for possible inputs.
- ProtectionLevel string
- The protection level to use when creating a version based on this template. Possible values include "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC". Defaults to "SOFTWARE".
- Algorithm string
- The algorithm to use when creating a version based on this template. See the algorithm reference for possible inputs.
- ProtectionLevel string
- The protection level to use when creating a version based on this template. Possible values include "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC". Defaults to "SOFTWARE".
- algorithm String
- The algorithm to use when creating a version based on this template. See the algorithm reference for possible inputs.
- protectionLevel String
- The protection level to use when creating a version based on this template. Possible values include "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC". Defaults to "SOFTWARE".
- algorithm string
- The algorithm to use when creating a version based on this template. See the algorithm reference for possible inputs.
- protectionLevel string
- The protection level to use when creating a version based on this template. Possible values include "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC". Defaults to "SOFTWARE".
- algorithm str
- The algorithm to use when creating a version based on this template. See the algorithm reference for possible inputs.
- protection_level str
- The protection level to use when creating a version based on this template. Possible values include "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC". Defaults to "SOFTWARE".
- algorithm String
- The algorithm to use when creating a version based on this template. See the algorithm reference for possible inputs.
- protectionLevel String
- The protection level to use when creating a version based on this template. Possible values include "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC". Defaults to "SOFTWARE".
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.