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

Research direction

Review PR #681 and the useDefaultAzureCredentials option described in the issue, then identify the documentation entry point for Azure Blob Storage authentication. Document the required configuration and clearly distinguish managed identity from workload identity, with examples covering the credential options mentioned; done means a user can choose and configure an authentication method without follow-up questions.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go, kubernetes
Domain
cloud, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.