pub struct Route53Credentials {
pub access_key_id: String,
pub secret_access_key: String,
pub session_token: Option<String>,
}Expand description
Long-lived AWS credentials, scoped to one hosted zone.
See the module docs for the IAM policy this credential should carry.
Nothing here reads one from the environment or a file —
InstanceCredentials is the one credential path this crate offers a
deployment, and it is ambient rather than configured: whatever role is
attached to the running instance, read from IMDS and re-read as it
expires.
Fields§
§access_key_id: StringThe AKIA…/ASIA… access key id.
secret_access_key: StringThe paired secret key. Never logged, never included in a Debug.
session_token: Option<String>The session token, when the credential is temporary (an assumed role or an instance profile).
Trait Implementations§
Source§impl Clone for Route53Credentials
impl Clone for Route53Credentials
Source§fn clone(&self) -> Route53Credentials
fn clone(&self) -> Route53Credentials
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 moreAuto Trait Implementations§
impl Freeze for Route53Credentials
impl RefUnwindSafe for Route53Credentials
impl Send for Route53Credentials
impl Sync for Route53Credentials
impl Unpin for Route53Credentials
impl UnsafeUnpin for Route53Credentials
impl UnwindSafe for Route53Credentials
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