Struct aws_sdk_secretsmanager::types::SecretValueEntry
source · #[non_exhaustive]pub struct SecretValueEntry {
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>,
}
Expand description
A structure that contains the secret value and other details for a secret.
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 Amazon Resource Name (ARN) of the secret.
name: Option<String>
The friendly name of the secret.
version_id: Option<String>
The unique version 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 parameter represents the binary data as a base64-encoded string.
secret_string: Option<String>
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
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 the secret was created.
Implementations§
source§impl SecretValueEntry
impl SecretValueEntry
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The unique version identifier of this version of the secret.
sourcepub fn secret_binary(&self) -> Option<&Blob>
pub fn secret_binary(&self) -> Option<&Blob>
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.
sourcepub fn secret_string(&self) -> Option<&str>
pub fn secret_string(&self) -> Option<&str>
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
sourcepub fn version_stages(&self) -> &[String]
pub fn version_stages(&self) -> &[String]
A list of all of the staging labels currently attached to this version of the secret.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .version_stages.is_none()
.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date the secret was created.
source§impl SecretValueEntry
impl SecretValueEntry
sourcepub fn builder() -> SecretValueEntryBuilder
pub fn builder() -> SecretValueEntryBuilder
Creates a new builder-style object to manufacture SecretValueEntry
.
Trait Implementations§
source§impl Clone for SecretValueEntry
impl Clone for SecretValueEntry
source§fn clone(&self) -> SecretValueEntry
fn clone(&self) -> SecretValueEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SecretValueEntry
impl Debug for SecretValueEntry
source§impl PartialEq for SecretValueEntry
impl PartialEq for SecretValueEntry
impl StructuralPartialEq for SecretValueEntry
Auto Trait Implementations§
impl Freeze for SecretValueEntry
impl RefUnwindSafe for SecretValueEntry
impl Send for SecretValueEntry
impl Sync for SecretValueEntry
impl Unpin for SecretValueEntry
impl UnwindSafe for SecretValueEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)