CloudAuthz is a Python library for delegating authorization on cloud-based resource providers. It supports AWS, GCP, and Microsoft Azure, providing a unified interface to obtain temporary credentials. Version 0.6.0 is the latest release, with an irregular release cadence.
pip install cloudauthzVerified import paths — ran on the pinned version, not inferred.
Initialize CloudAuthz and detect the cloud provider from environment. Requires cloud SDK credentials.
Update config to use 'server_credentials' instead.
Provide a service account JSON file or configure client credentials.
Inspect returned dict for 'access_key', 'secret_key', 'session_token' (AWS) or 'access_token', 'expires_in' (GCP).
Upgrade to latest version: pip install -U cloudauthz
Use 'server_credentials' in config dict.