logo
pub struct DescribeSecretResponse {
Show 17 fields pub arn: Option<String>, pub created_date: Option<f64>, pub deleted_date: Option<f64>, pub description: Option<String>, pub kms_key_id: Option<String>, pub last_accessed_date: Option<f64>, pub last_changed_date: Option<f64>, pub last_rotated_date: Option<f64>, pub name: Option<String>, pub owning_service: Option<String>, pub primary_region: Option<String>, pub replication_status: Option<Vec<ReplicationStatusType>>, pub rotation_enabled: Option<bool>, pub rotation_lambda_arn: Option<String>, pub rotation_rules: Option<RotationRulesType>, pub tags: Option<Vec<Tag>>, pub version_ids_to_stages: Option<HashMap<String, Vec<String>>>,
}

Fields

arn: Option<String>

The ARN of the secret.

created_date: Option<f64>

The date you created the secret.

deleted_date: Option<f64>

This value exists if the secret is scheduled for deletion. Some time after the specified date and time, Secrets Manager deletes the secret and all of its versions.

If a secret is scheduled for deletion, then its details, including the encrypted secret information, is not accessible. To cancel a scheduled deletion and restore access, use RestoreSecret.

description: Option<String>

The user-provided description of the secret.

kms_key_id: Option<String>

The ARN or alias of the AWS KMS customer master key (CMK) that's used to encrypt the SecretString or SecretBinary fields in each version of the secret. If you don't provide a key, then Secrets Manager defaults to encrypting the secret fields with the default AWS KMS CMK (the one named awssecretsmanager) for this account.

last_accessed_date: Option<f64>

The last date that this secret was accessed. This value is truncated to midnight of the date and therefore shows only the date, not the time.

last_changed_date: Option<f64>

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

last_rotated_date: Option<f64>

The last date and time that the rotation process for this secret was invoked.

The most recent date and time that the Secrets Manager rotation process successfully completed. If the secret doesn't rotate, Secrets Manager returns a null value.

name: Option<String>

The user-provided friendly name of the secret.

owning_service: Option<String>

Returns the name of the service that created this secret.

primary_region: Option<String>

Specifies the primary region for secret replication.

replication_status: Option<Vec<ReplicationStatusType>>

Describes a list of replication status objects as InProgress, Failed or InSync.P

rotation_enabled: Option<bool>

Specifies whether automatic rotation is enabled for this secret.

To enable rotation, use RotateSecret with AutomaticallyRotateAfterDays set to a value greater than 0. To disable rotation, use CancelRotateSecret.

rotation_lambda_arn: Option<String>

The ARN of a Lambda function that's invoked by Secrets Manager to rotate the secret either automatically per the schedule or manually by a call to RotateSecret.

rotation_rules: Option<RotationRulesType>

A structure with the rotation configuration for this secret.

tags: Option<Vec<Tag>>

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

version_ids_to_stages: Option<HashMap<String, Vec<String>>>

A list of all of the currently assigned VersionStage staging labels and the VersionId that each is attached to. Staging labels are used to keep track of the different versions during the rotation process.

A version that does not have any staging labels attached is considered deprecated and subject to deletion. Such versions are not included in this list.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more