AKEYLESS Cloud ID Retriever
raw JSON → 0.3.1 verified Sat May 09 auth: no python
Python library for retrieving cloud provider identity tokens (AWS, GCP, Azure) for use with AKEYLESS authentication. Version 0.3.1 is the latest, with low release cadence.
pip install akeyless-cloud-id Common errors
error ImportError: cannot import name 'CloudId' from 'akeyless_cloud_id' ↓
cause Using wrong import path or older version where symbol didn't exist
fix
Install latest version: pip install --upgrade akeyless-cloud-id and use 'from akeyless_cloud_id import CloudId'
error akeyless_cloud_id.exceptions.AkeylessCloudIdError: Unknown provider: 'aws2' ↓
cause Invalid provider string passed to get_cloud_id()
fix
Use one of: 'aws', 'gcp', 'azure' (lowercase)
Warnings
breaking Import path changed from akeyless_cloud_id.cloud_id to akeyless_cloud_id in version 0.2.0 ↓
fix Use 'from akeyless_cloud_id import CloudId'
gotcha get_cloud_id() returns a string, not an object; expects valid provider names: 'aws', 'gcp', 'azure' ↓
fix Ensure provider string is lowercase and correct; check supported values in docs.
deprecated The function 'get_cloud_id' may be deprecated in future; check for new API ↓
fix Monitor release notes for changes.
Imports
- CloudId wrong
from akeyless_cloud_id.cloud_id import CloudIdcorrectfrom akeyless_cloud_id import CloudId
Quickstart
from akeyless_cloud_id import CloudId
cloud_id = CloudId()
token = cloud_id.get_cloud_id('aws')
print(token)