Skip to main content

Module secrets_proxy

Module secrets_proxy 

Source

Structsยง

IamResponse
Deserialized response from the IBM IAM /identity/token endpoint.
SecretValue
A cached IAM bearer token together with its UNIX expiry timestamp.
SecretsCache
A thread-safe, in-memory cache for IBM IAM bearer tokens.

Functionsยง

get_bearer ๐Ÿ”’
Exchange an IBM COS API key for an IAM bearer token.
get_credential_for_bucket ๐Ÿ”’
Call the Python bucket_creds_fetcher callback and return the raw credential string it produces.