Struct aws_config::sso::SsoCredentialsProvider
source · [−]pub struct SsoCredentialsProvider { /* private fields */ }
Expand description
SSO Credentials Provider
Note: This provider is part of the default credentials chain and is integrated with the profile-file provider.
This credentials provider will use cached SSO tokens stored in ~/.aws/sso/cache/<hash>.json
.
<hash>
is computed based on the configured start_url
.
Implementations
sourceimpl SsoCredentialsProvider
impl SsoCredentialsProvider
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a builder for SsoCredentialsProvider
Trait Implementations
sourceimpl Debug for SsoCredentialsProvider
impl Debug for SsoCredentialsProvider
sourceimpl ProvideCredentials for SsoCredentialsProvider
impl ProvideCredentials for SsoCredentialsProvider
sourcefn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a>where
Self: 'a,
fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a>where
Self: 'a,
Returns a future that provides credentials.
Auto Trait Implementations
impl !RefUnwindSafe for SsoCredentialsProvider
impl Send for SsoCredentialsProvider
impl Sync for SsoCredentialsProvider
impl Unpin for SsoCredentialsProvider
impl !UnwindSafe for SsoCredentialsProvider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more