module documentation

IMDS token-endpoint credentials.

Class Bearer Bearer that requests a fresh token from a metadata service.
Class Receiver Fetch a token from one IMDS HTTP endpoint for a single SDK request.
Exception IMDSError Raised when a metadata token endpoint cannot provide a token.
Function _expiration Undocumented
Constant _BASE_BACKOFF_SECONDS Undocumented
Constant _MAX_ATTEMPTS Undocumented
Constant _MAX_RESPONSE_BYTES Undocumented
def _expiration(value: object) -> datetime: (source)

Undocumented

_BASE_BACKOFF_SECONDS: float = (source)

Undocumented

Value
0.2
_MAX_ATTEMPTS: int = (source)

Undocumented

Value
3
_MAX_RESPONSE_BYTES = (source)

Undocumented

Value
64 << 10