Class GetSecretsSecret


  • public final class GetSecretsSecret
    extends java.lang.Object
    • Method Detail

      • context

        public java.util.Map<java.lang.String,​java.lang.String> context()
        Returns:
        Mapping that makes up the Encryption Context for the secret.
      • encryptionAlgorithm

        public java.util.Optional<java.lang.String> encryptionAlgorithm()
        Returns:
        Encryption algorithm 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

        public java.util.List<java.lang.String> grantTokens()
        Returns:
        List of Grant Tokens for the secret.
      • keyId

        public java.util.Optional<java.lang.String> keyId()
        Returns:
        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

        public java.lang.String name()
        Returns:
        Name to export this secret under in the attributes.
      • payload

        public java.lang.String payload()
        Returns:
        Base64 encoded payload, as returned from a KMS encrypt operation.