GetSecretsSecret

data class GetSecretsSecret(val context: Map<String, String>? = null, val encryptionAlgorithm: String? = null, val grantTokens: List<String>? = null, val keyId: String? = null, val name: String, val payload: String) : ConvertibleToJava<GetSecretsSecret>

Constructors

Link copied to clipboard
constructor(context: Map<String, String>? = null, encryptionAlgorithm: String? = null, grantTokens: List<String>? = null, keyId: String? = null, name: String, payload: String)

Properties

Link copied to clipboard
val context: Map<String, String>? = null

An optional mapping that makes up the Encryption Context for the secret.

Link copied to clipboard

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

Link copied to clipboard
val grantTokens: List<String>? = null

An optional list of Grant Tokens for the secret.

Link copied to clipboard
val keyId: String? = null

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. For more information on context and grant_tokens see the [KMS

Link copied to clipboard

Name to export this secret under in the attributes.

Link copied to clipboard

Base64 encoded payload, as returned from a KMS encrypt operation.

Functions

Link copied to clipboard
open override fun toJava(): GetSecretsSecret