[−][src]Struct vault_rs::secrets::aws::CredentialsRequest
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]
fn default() -> CredentialsRequest
[src]
impl Eq for CredentialsRequest
[src]
impl PartialEq<CredentialsRequest> for CredentialsRequest
[src]
fn eq(&self, other: &CredentialsRequest) -> bool
[src]
fn ne(&self, other: &CredentialsRequest) -> bool
[src]
impl Serialize for CredentialsRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,