cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Add DefaultAzureCredential auth mechanism support
- Langage dominant
- Go
- Étoiles
- 191
- Forks
- 72
- Merge moyen
- 1 j 16 h
- PR mergées (30 j)
- 18
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par l’API ObjectStore et le chemin d’authentification du client barman-cloud, puis examinez la documentation de DefaultAzureCredential liée dans l’issue. Vérifiez comment AZURE_CLIENT_ID, AZURE_TENANT_ID et AZURE_CLIENT_SECRET sont pris en charge, et considérez le travail comme terminé lorsque les identifiants de service principal configurés s’authentifient avec succès sans nécessiter d’identité managée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- azure, go
- Domaine
- authentication, backend, cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100