SecretListEntry

A structure that contains the details about a secret. It does not include the encrypted SecretString and SecretBinary values. To get those values, use GetSecretValue .

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String?

The Amazon Resource Name (ARN) of the secret.

Link copied to clipboard

The date and time when a secret was created.

Link copied to clipboard

The date and time the deletion of the secret occurred. Not present on active secrets. The secret can be recovered until the number of days in the recovery window has passed, as specified in the RecoveryWindowInDays parameter of the DeleteSecret operation.

Link copied to clipboard

The user-provided description of the secret.

Link copied to clipboard

The ARN of the KMS key that Secrets Manager uses to encrypt the secret value. If the secret is encrypted with the Amazon Web Services managed key aws/secretsmanager, this field is omitted.

Link copied to clipboard

The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.

Link copied to clipboard

The last date and time that this secret was modified in any way.

Link copied to clipboard

The most recent date and time that the Secrets Manager rotation process was successfully completed. This value is null if the secret hasn't ever rotated.

Link copied to clipboard
val name: String?

The friendly name of the secret.

Link copied to clipboard

The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation or rotation has been disabled, Secrets Manager returns null.

Link copied to clipboard

Returns the name of the service that created the secret.

Link copied to clipboard

The Region where Secrets Manager originated the secret.

Link copied to clipboard

Indicates whether automatic, scheduled rotation is enabled for this secret.

Link copied to clipboard

The ARN of an Amazon Web Services Lambda function invoked by Secrets Manager to rotate and expire the secret either automatically per the schedule or manually by a call to RotateSecret.

Link copied to clipboard

A structure that defines the rotation configuration for the secret.

Link copied to clipboard

A list of all of the currently assigned SecretVersionStage staging labels and the SecretVersionId attached to each one. Staging labels are used to keep track of the different versions during the rotation process.

Link copied to clipboard
val tags: List<Tag>?

The list of user-defined tags associated with the secret. To add tags to a secret, use TagResource. To remove tags, use UntagResource.

Functions

Link copied to clipboard
inline fun copy(block: SecretListEntry.Builder.() -> Unit = {}): SecretListEntry
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String