Struct aws_sdk_secretsmanager::output::GetSecretValueOutput
source ·
[−]#[non_exhaustive]pub struct GetSecretValueOutput {
pub arn: Option<String>,
pub name: Option<String>,
pub version_id: Option<String>,
pub secret_binary: Option<Blob>,
pub secret_string: Option<String>,
pub version_stages: Option<Vec<String>>,
pub created_date: Option<DateTime>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The ARN of the secret.
name: Option<String>
The friendly name of the secret.
version_id: Option<String>
The unique identifier of this version of the secret.
secret_binary: Option<Blob>
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The response parameter represents the binary data as a base64-encoded string.
If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString
instead.
secret_string: Option<String>
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.
version_stages: Option<Vec<String>>
A list of all of the staging labels currently attached to this version of the secret.
created_date: Option<DateTime>
The date and time that this version of the secret was created. If you don't specify which version in VersionId
or VersionStage
, then Secrets Manager uses the AWSCURRENT
version.
Implementations
The unique identifier of this version of the secret.
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The response parameter represents the binary data as a base64-encoded string.
If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString
instead.
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.
A list of all of the staging labels currently attached to this version of the secret.
The date and time that this version of the secret was created. If you don't specify which version in VersionId
or VersionStage
, then Secrets Manager uses the AWSCURRENT
version.
Creates a new builder-style object to manufacture GetSecretValueOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetSecretValueOutput
impl Send for GetSecretValueOutput
impl Sync for GetSecretValueOutput
impl Unpin for GetSecretValueOutput
impl UnwindSafe for GetSecretValueOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
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