GetSecretsSecret constructor
const
GetSecretsSecret({})
Creates a new GetSecretsSecret.
context An optional mapping that makes up the Encryption Context for the secret.
encryptionAlgorithm The encryption algorithm that will be used to decrypt the ciphertext. This parameter is required only when the ciphertext was encrypted under an asymmetric KMS key. Valid Values: SYMMETRIC_DEFAULT | RSAES_OAEP_SHA_1 | RSAES_OAEP_SHA_256 | SM2PKE
grantTokens An optional list of Grant Tokens for the secret.
keyId Specifies the KMS key that AWS KMS uses to decrypt the ciphertext. This parameter is required only when the ciphertext was encrypted under an asymmetric KMS key.
name Name to export this secret under in the attributes.
payload Base64 encoded payload, as returned from a KMS encrypt operation.
Implementation
const GetSecretsSecret({
this.context,
this.encryptionAlgorithm,
this.grantTokens,
this.keyId,
required this.name,
required this.payload,
});