Class SecretReplica


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

      • kmsKeyId

        public java.util.Optional<java.lang.String> kmsKeyId()
        Returns:
        ARN, Key ID, or Alias of the AWS KMS key within the region secret is replicated to. If one is not specified, then Secrets Manager defaults to using the AWS account's default KMS key (`aws/secretsmanager`) in the region or creates one for use if non-existent.
      • lastAccessedDate

        public java.util.Optional<java.lang.String> lastAccessedDate()
        Returns:
        Date that you last accessed the secret in the Region.
      • region

        public java.lang.String region()
        Returns:
        Region for replicating the secret.
      • status

        public java.util.Optional<java.lang.String> status()
        Returns:
        Status can be `InProgress`, `Failed`, or `InSync`.
      • statusMessage

        public java.util.Optional<java.lang.String> statusMessage()
        Returns:
        Message such as `Replication succeeded` or `Secret with this name already exists in this region`.