[−][src]Struct aws_auth_payload::client::AwsAuthIamPayload
Payload for use to generate a payload for AWS IAM authentication
This payload is used by HashiCorp's Vault and is generated by making a POST request
to AWS STS GetCallerIdentity
See Vault's Documentation for more information.
Fields
iam_http_request_method: String
HTTP method used in the signed request. Currently only POST
is supported
iam_request_url: String
Base64-encoded HTTP URL used in the signed request
iam_request_body: String
Base64-encoded body of the signed request
iam_request_headers: HashMap<String, Vec<String>>
Headers of the signed request
Methods
impl AwsAuthIamPayload
[src]
pub fn new<R>(
credentials: &AwsCredentials,
region: Option<R>,
additional_headers: HashMap<&str, &str>
) -> Self where
R: Borrow<Region>,
[src]
credentials: &AwsCredentials,
region: Option<R>,
additional_headers: HashMap<&str, &str>
) -> Self where
R: Borrow<Region>,
Creates a payload for use to generate a payload for AWS IAM authentication
This payload is used by HashiCorp's Vault and is generated by making a POST request
to AWS STS GetCallerIdentity
See Vault's Documentation
for more information.
If you do not provide a region
, we will use a the "global" AWS STS endpoint.
Trait Implementations
impl Clone for AwsAuthIamPayload
[src]
fn clone(&self) -> AwsAuthIamPayload
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AwsAuthIamPayload
[src]
impl<'de> Deserialize<'de> for AwsAuthIamPayload
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for AwsAuthIamPayload
[src]
impl PartialEq<AwsAuthIamPayload> for AwsAuthIamPayload
[src]
fn eq(&self, other: &AwsAuthIamPayload) -> bool
[src]
fn ne(&self, other: &AwsAuthIamPayload) -> bool
[src]
impl Serialize for AwsAuthIamPayload
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for AwsAuthIamPayload
[src]
impl StructuralPartialEq for AwsAuthIamPayload
[src]
Auto Trait Implementations
impl RefUnwindSafe for AwsAuthIamPayload
impl Send for AwsAuthIamPayload
impl Sync for AwsAuthIamPayload
impl Unpin for AwsAuthIamPayload
impl UnwindSafe for AwsAuthIamPayload
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<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,