{"id":21049,"library":"cloudauthz","title":"CloudAuthz","description":"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.","status":"active","version":"0.6.0","language":"python","source_language":"en","source_url":"https://github.com/galaxyproject/cloudauthz","tags":["cloud","authorization","credentials","aws","gcp","azure"],"install":[{"cmd":"pip install cloudauthz","lang":"bash","label":"PyPI install"}],"dependencies":[{"reason":"AWS authorization","package":"boto3","optional":true},{"reason":"GCP authorization","package":"google-cloud-storage","optional":true},{"reason":"Azure authorization","package":"msrestazure","optional":true}],"imports":[{"note":"standard import","wrong":"","symbol":"CloudAuthz","correct":"from cloudauthz import CloudAuthz"},{"note":"utility functions","wrong":"","symbol":"helpers","correct":"from cloudauthz import helpers"}],"quickstart":{"code":"from cloudauthz import CloudAuthz\nauthz = CloudAuthz()\ncloud_id = authz.get_cloud_id()\nprint(f\"Cloud provider: {cloud_id}\")","lang":"python","description":"Initialize CloudAuthz and detect the cloud provider from environment. Requires cloud SDK credentials."},"warnings":[{"fix":"Update config to use 'server_credentials' instead.","message":"In v0.4.0, GCP config key changed from 'server_service_account_credentials_filename' to 'server_credentials'. Old config will raise KeyError.","severity":"breaking","affected_versions":">=0.4.0"},{"fix":"Provide a service account JSON file or configure client credentials.","message":"In v0.6.0, GCP authorization flow replaced with client credentials (service account JSON). The old OAuth2 flow is removed.","severity":"breaking","affected_versions":">=0.6.0"},{"fix":"Inspect returned dict for 'access_key', 'secret_key', 'session_token' (AWS) or 'access_token', 'expires_in' (GCP).","message":"The 'get_credentials()' method returns a dict; its structure changed between versions. Check return keys before use.","severity":"deprecated","affected_versions":">=0.2.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Upgrade to latest version: pip install -U cloudauthz","cause":"Incorrect import or older version without CloudAuthz class (v0.0.x).","error":"AttributeError: module 'cloudauthz' has no attribute 'CloudAuthz'"},{"fix":"Use 'server_credentials' in config dict.","cause":"Old config uses deprecated key 'server_service_account_credentials_filename' with v0.4.0+.","error":"KeyError: 'server_credentials'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}