cloudnative-pg / cloudnative-pg/plugin-barman-cloud

How to use DefaultAzureCredential in plugin for backup on azure blob storage

Aperta
#752 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Go
Stelle
191
Fork
72
Merge medio
2g 21h
PR unite (30g)
21

Descrizione

Hi @dosu, as per below PR feat: add support for DefaultAzureCredential authentication mechanism #681

This commit adds support for the DefaultAzureCredential authentication mechanism in Azure Blob Storage. Users can now use the useDefaultAzureCredentials option to enable Azure's default credential chain, which automatically discovers and uses available credentials in the following order

Environment Variables (Service Principal)
Managed Identity
Azure CLI
Azure PowerShell
This is particularly useful when running on Azure Kubernetes Service (AKS) with
Workload Identity, eliminating the need to explicitly store credentials in
Kubernetes Secrets.

This will merge in 0.11.0 version.
But can you please tell me if i want to use this what i need to configure . I don’t know ant to use credentials or sas token directly. So will i required to use workload identity or managed identity. Could you please tell what is difference between managed identity and workload identity?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.