GetKMSCryptoKeyVersion
Provides access to a Google Cloud Platform KMS CryptoKeyVersion. For more information see the official documentation and API.
A CryptoKeyVersion represents an individual cryptographic key, and the associated key material.
Using GetKMSCryptoKeyVersion
function getKMSCryptoKeyVersion(args: GetKMSCryptoKeyVersionArgs, opts?: InvokeOptions): Promise<GetKMSCryptoKeyVersionResult>function get_kms_crypto_key_version(crypto_key=None, version=None, opts=None)func GetKMSCryptoKeyVersion(ctx *Context, args *GetKMSCryptoKeyVersionArgs, opts ...InvokeOption) (*GetKMSCryptoKeyVersionResult, error)public static class GetKMSCryptoKeyVersion {
public static Task<GetKMSCryptoKeyVersionResult> InvokeAsync(GetKMSCryptoKeyVersionArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- crypto_
key str The
self_linkof the Google Cloud Platform CryptoKey to which the key version belongs.- version float
The version number for this CryptoKeyVersion. Defaults to
1.
GetKMSCryptoKeyVersion Result
The following output properties are available:
- Algorithm string
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- Crypto
Key string - Id string
The provider-assigned unique ID for this managed resource.
- Protection
Level string The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion. See the protection_level reference for possible outputs.
- Public
Key GetKMSCrypto Key Version Public Key If the enclosing CryptoKey has purpose
ASYMMETRIC_SIGNorASYMMETRIC_DECRYPT, this block contains details about the public key associated to this CryptoKeyVersion. Structure is documented below.- State string
The current state of the CryptoKeyVersion. See the state reference for possible outputs.
- Version int
- Algorithm string
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- Crypto
Key string - Id string
The provider-assigned unique ID for this managed resource.
- Protection
Level string The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion. See the protection_level reference for possible outputs.
- Public
Key GetKMSCrypto Key Version Public Key If the enclosing CryptoKey has purpose
ASYMMETRIC_SIGNorASYMMETRIC_DECRYPT, this block contains details about the public key associated to this CryptoKeyVersion. Structure is documented below.- State string
The current state of the CryptoKeyVersion. See the state reference for possible outputs.
- Version int
- algorithm string
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- crypto
Key string - id string
The provider-assigned unique ID for this managed resource.
- protection
Level string The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion. See the protection_level reference for possible outputs.
- public
Key GetKMSCrypto Key Version Public Key If the enclosing CryptoKey has purpose
ASYMMETRIC_SIGNorASYMMETRIC_DECRYPT, this block contains details about the public key associated to this CryptoKeyVersion. Structure is documented below.- state string
The current state of the CryptoKeyVersion. See the state reference for possible outputs.
- version number
- algorithm str
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
- crypto_
key str - id str
The provider-assigned unique ID for this managed resource.
- protection_
level str The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion. See the protection_level reference for possible outputs.
- public_
key Dict[GetKMSCrypto Key Version Public Key] If the enclosing CryptoKey has purpose
ASYMMETRIC_SIGNorASYMMETRIC_DECRYPT, this block contains details about the public key associated to this CryptoKeyVersion. Structure is documented below.- state str
The current state of the CryptoKeyVersion. See the state reference for possible outputs.
- version float
Supporting Types
GetKMSCryptoKeyVersionPublicKey
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.