baraka-akeyless commented on issue #70355:
URL: https://github.com/apache/airflow/issues/70355#issuecomment-5071405925
### Verified: `apache-airflow-providers-akeyless==0.3.0rc1`
Installed in a clean Python 3.10 virtualenv with `pip install
apache-airflow-providers-akeyless[cloud_id]==0.3.0rc1`. All smoke tests passed.
**New in 0.3.0 — cloud-based auth in Secrets Backend:**
- `AkeylessBackend` now supports `aws_iam`, `gcp`, and `azure_ad` in
addition to `api_key` and `uid`
- `_SUPPORTED_BACKEND_AUTH_TYPES` = `('api_key', 'uid', 'aws_iam', 'gcp',
'azure_ad')`
- `_get_cloud_id()` method exists and the `akeyless_cloud_id` package
imports correctly
- Instantiation with each of the 5 supported auth types succeeds
- Unsupported types (`jwt`, `k8s`, `certificate`, `ldap`) correctly raise
`ValueError`
- Mocked `aws_iam` backend flow: `akeyless.Auth` called with
`access_type="aws_iam"` and `cloud_id` parameter
**Existing functionality (unchanged):**
- Provider version: `0.3.0`
- `airflow providers list` shows the provider
- All 12 hook methods present (`authenticate`, `get_secret_value`,
`get_secret_values`, `create_secret`, `get_dynamic_secret_value`,
`get_rotated_secret_value`, `list_items`, `delete_item`, `describe_item`,
`update_secret_value`, `test_connection`, `get_conn`)
- 8 hook auth types: `api_key`, `aws_iam`, `gcp`, `azure_ad`, `uid`, `jwt`,
`k8s`, `certificate`
- `conn_type = "akeyless"`, `hook_name = "Akeyless"`
- Disabled paths (`connections_path=None`, etc.) return `None`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]