getKMSSecret

This data source allows you to use data encrypted with Google Cloud KMS within your resource definitions. For more information see the official documentation.

NOTE: Using this data provider will allow you to conceal secret data within your resource definitions, but it does not take care of protecting that data in the logging output, plan output, or state output. Please take care to secure your secret data outside of resource definitions.

Return

A collection of values returned by getKMSSecret.

Parameters

argument

A collection of arguments for invoking getKMSSecret.


suspend fun getKMSSecret(additionalAuthenticatedData: String? = null, ciphertext: String, cryptoKey: String): GetKMSSecretResult

Return

A collection of values returned by getKMSSecret.

Parameters

additionalAuthenticatedData

The additional authenticated data used for integrity checks during encryption and decryption.

ciphertext

The ciphertext to be decrypted, encoded in base64

cryptoKey

The id of the CryptoKey that will be used to decrypt the provided ciphertext. This is represented by the format {projectId}/{location}/{keyRingName}/{cryptoKeyName}.

See also


Return

A collection of values returned by getKMSSecret.

Parameters

argument

Builder for com.pulumi.gcp.kms.kotlin.inputs.GetKMSSecretPlainArgs.

See also