pub type MetadataServerProvider = CachedTokenProvider<MetadataServerProviderInner>;
Expand description

Provides tokens using the metadata server accessible when running from within GCP. Caches tokens internally.

Aliased Type§

struct MetadataServerProvider { /* private fields */ }

Implementations§

source§

impl MetadataServerProvider

source

pub fn new(account_name: Option<String>) -> Self