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

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

Open
#752 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
191
Forks
72
Avg merge
2d 21h
Merged PRs (30d)
21

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.