cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Add DefaultAzureCredential auth mechanism support
- 主要言語
- Go
- スター
- 191
- フォーク
- 72
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 21
説明
The current ObjectStore API doesn't support authenticating to Azure using [DefaultAzureCredential](https://learn.microsoft.com/en-us/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet). This is a limitation in AKS environments where `managed-identities` are not configured.
Even if the environment is configured to use the app Service Principal with variables `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET` the barman-cloud client attempts to authenticate using the managed-identity and fails if not available.
コントリビューションガイド
調査の方向性
ObjectStore API と barman-cloud クライアントの認証パスから始め、次に issue にリンクされている DefaultAzureCredential のドキュメントを確認します。AZURE_CLIENT_ID、AZURE_TENANT_ID、AZURE_CLIENT_SECRET がどのように扱われるかを確認し、構成されたサービス プリンシパルの資格情報で、マネージド ID を必要とせずに正常に認証できれば作業完了とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, go
- 領域
- authentication, backend, cloud
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100