pub struct AssumeRoleWithOidcCredentialProvider { /* private fields */ }Expand description
AssumeRoleWithOidcCredentialProvider loads credential via assume role with OIDC.
This provider reads configuration from environment variables at runtime:
ALIBABA_CLOUD_ROLE_ARN: The ARN of the role to assumeALIBABA_CLOUD_OIDC_PROVIDER_ARN: The ARN of the OIDC providerALIBABA_CLOUD_OIDC_TOKEN_FILE: Path to the OIDC token fileALIBABA_CLOUD_STS_ENDPOINT: Optional custom STS endpoint
Implementations§
Trait Implementations§
Source§impl Clone for AssumeRoleWithOidcCredentialProvider
impl Clone for AssumeRoleWithOidcCredentialProvider
Source§fn clone(&self) -> AssumeRoleWithOidcCredentialProvider
fn clone(&self) -> AssumeRoleWithOidcCredentialProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AssumeRoleWithOidcCredentialProvider
impl Default for AssumeRoleWithOidcCredentialProvider
Source§fn default() -> AssumeRoleWithOidcCredentialProvider
fn default() -> AssumeRoleWithOidcCredentialProvider
Returns the “default value” for a type. Read more
Source§impl ProvideCredential for AssumeRoleWithOidcCredentialProvider
impl ProvideCredential for AssumeRoleWithOidcCredentialProvider
Source§type Credential = Credential
type Credential = Credential
Credential returned by this loader. Read more
Auto Trait Implementations§
impl Freeze for AssumeRoleWithOidcCredentialProvider
impl RefUnwindSafe for AssumeRoleWithOidcCredentialProvider
impl Send for AssumeRoleWithOidcCredentialProvider
impl Sync for AssumeRoleWithOidcCredentialProvider
impl Unpin for AssumeRoleWithOidcCredentialProvider
impl UnwindSafe for AssumeRoleWithOidcCredentialProvider
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