[][src]Struct vault_rs::secrets::aws::CredentialsRequest

pub struct CredentialsRequest {
    pub role_arn: Option<String>,
    pub ttl: Option<String>,
}

Request to Generate Credentials

Fields

role_arn: Option<String>

The ARN of the role to assume if credential_type on the Vault role is assumed_role. Must match one of the allowed role ARNs in the Vault role. Optional if the Vault role only allows a single AWS role ARN; required otherwise.

ttl: Option<String>

Specifies the TTL for the use of the STS token. This is specified as a string with a duration suffix. Valid only when credential_type is assumed_role or federation_token.

Trait Implementations

impl Debug for CredentialsRequest[src]

impl Default for CredentialsRequest[src]

impl Eq for CredentialsRequest[src]

impl PartialEq<CredentialsRequest> for CredentialsRequest[src]

impl Serialize for CredentialsRequest[src]

impl StructuralEq for CredentialsRequest[src]

impl StructuralPartialEq for CredentialsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CredentialsRequest

impl Send for CredentialsRequest

impl Sync for CredentialsRequest

impl Unpin for CredentialsRequest

impl UnwindSafe for CredentialsRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.