Skip to content

Secrets Manager  >  Structures  >  SecretValueEntry

SecretValueEntry

Structure Class

SecretValueEntry dataclass

A structure that contains the secret value and other details for a secret.

Attributes

arn class-attribute instance-attribute
arn: str | None = None

The Amazon Resource Name (ARN) of the secret.

created_date class-attribute instance-attribute
created_date: datetime | None = None

The date the secret was created.

name class-attribute instance-attribute
name: str | None = None

The friendly name of the secret.

secret_binary class-attribute instance-attribute
secret_binary: bytes | None = field(repr=False, default=None)

The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.

secret_string class-attribute instance-attribute
secret_string: str | None = field(repr=False, default=None)

The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.

version_id class-attribute instance-attribute
version_id: str | None = None

The unique version identifier of this version of the secret.

version_stages class-attribute instance-attribute
version_stages: list[str] | None = None

A list of all of the staging labels currently attached to this version of the secret.