pub enum RemoteAwsCredentials {
SessionCredentials {
access_key_id: String,
expires_at: String,
secret_access_key: String,
session_token: String,
},
}Expand description
The only AWS credential form remote binding resolution can return.
JSON schema
{
"description": "The only AWS credential form remote binding resolution can return.",
"oneOf": [
{
"description": "Temporary AWS session credentials with an authoritative expiry.",
"type": "object",
"required": [
"accessKeyId",
"expiresAt",
"secretAccessKey",
"sessionToken",
"type"
],
"properties": {
"accessKeyId": {
"description": "AWS access key id.",
"type": "string"
},
"expiresAt": {
"description": "Provider-reported credential expiry.",
"type": "string"
},
"secretAccessKey": {
"description": "AWS secret access key.",
"type": "string"
},
"sessionToken": {
"description": "AWS session token.",
"type": "string"
},
"type": {
"type": "string",
"enum": [
"sessionCredentials"
]
}
}
}
]
}Variants§
SessionCredentials
Temporary AWS session credentials with an authoritative expiry.
Trait Implementations§
Source§impl Clone for RemoteAwsCredentials
impl Clone for RemoteAwsCredentials
Source§fn clone(&self) -> RemoteAwsCredentials
fn clone(&self) -> RemoteAwsCredentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemoteAwsCredentials
impl Debug for RemoteAwsCredentials
Source§impl<'de> Deserialize<'de> for RemoteAwsCredentials
impl<'de> Deserialize<'de> for RemoteAwsCredentials
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RemoteAwsCredentials> for RemoteAwsCredentials
impl From<&RemoteAwsCredentials> for RemoteAwsCredentials
Source§fn from(value: &RemoteAwsCredentials) -> Self
fn from(value: &RemoteAwsCredentials) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RemoteAwsCredentials
impl RefUnwindSafe for RemoteAwsCredentials
impl Send for RemoteAwsCredentials
impl Sync for RemoteAwsCredentials
impl Unpin for RemoteAwsCredentials
impl UnsafeUnpin for RemoteAwsCredentials
impl UnwindSafe for RemoteAwsCredentials
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
Mutably borrows from an owned value. Read more