pub struct EksGetTokenProvider {
pub access_key_id: String,
pub secret_access_key: Secret,
pub region: String,
pub cluster_name: String,
}Expand description
Mints an EKS get-token credential: a presigned STS GetCallerIdentity URL (SigV4
query auth, scoped to the cluster via the signed x-k8s-aws-id header), base64url-
encoded with the k8s-aws-v1. prefix — exactly what aws eks get-token produces and
what the kubelet/kubectl send as a bearer token. Fully local: no network, just the
account credential and the SigV4 primitives.
Fields§
§access_key_id: String§secret_access_key: Secret§region: String§cluster_name: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EksGetTokenProvider
impl RefUnwindSafe for EksGetTokenProvider
impl Send for EksGetTokenProvider
impl Sync for EksGetTokenProvider
impl Unpin for EksGetTokenProvider
impl UnsafeUnpin for EksGetTokenProvider
impl UnwindSafe for EksGetTokenProvider
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