pub struct SecretLookup {
pub secret_access_key: String,
pub session_token: Option<String>,
pub principal_arn: String,
pub user_id: String,
pub account_id: String,
}Expand description
Result of looking up a set of credentials by access key ID.
Carries the secret + resolved principal + owning account id. The account id is intentionally read from the credential itself rather than from global config, so that once #381 (multi-account isolation) lands, the same lookup already returns the correct account for the credential.
Fields§
§secret_access_key: String§session_token: Option<String>§principal_arn: String§user_id: String§account_id: StringTrait Implementations§
Source§impl Clone for SecretLookup
impl Clone for SecretLookup
Source§fn clone(&self) -> SecretLookup
fn clone(&self) -> SecretLookup
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 Debug for SecretLookup
impl Debug for SecretLookup
Source§impl PartialEq for SecretLookup
impl PartialEq for SecretLookup
impl Eq for SecretLookup
impl StructuralPartialEq for SecretLookup
Auto Trait Implementations§
impl Freeze for SecretLookup
impl RefUnwindSafe for SecretLookup
impl Send for SecretLookup
impl Sync for SecretLookup
impl Unpin for SecretLookup
impl UnsafeUnpin for SecretLookup
impl UnwindSafe for SecretLookup
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