cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Add DefaultAzureCredential auth mechanism support
- Ngôn ngữ chính
- Go
- Star
- 191
- Fork
- 72
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 18
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với ObjectStore API và đường dẫn xác thực của ứng dụng khách barman-cloud, sau đó xem lại tài liệu DefaultAzureCredential được liên kết trong issue. Xác nhận cách AZURE_CLIENT_ID, AZURE_TENANT_ID và AZURE_CLIENT_SECRET được xử lý, và coi công việc là hoàn tất khi thông tin xác thực service principal đã cấu hình xác thực thành công mà không yêu cầu managed identity.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, go
- Lĩnh vực
- authentication, backend, cloud
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100