plugin-barman-cloud icon indicating copy to clipboard operation
plugin-barman-cloud copied to clipboard

Use credentials/ secrets from Azure Key Vault

Open beingvishalt opened this issue 9 months ago • 1 comments

I am using CNPG 1.26 with Barman Plugin 0.11.0.

For Barman plugin Object Store is required with Credentials or SAS Token . But this should be kept in k8s secrets. Can we directly use it from key Vault?

@dosu

beingvishalt avatar Feb 05 '26 05:02 beingvishalt

Direct use of Azure Key Vault secrets by the Barman plugin isn't supported. The plugin expects credentials (like storage account keys or SAS tokens) to be stored in Kubernetes secrets, which it references for object store access. The recommended way to use Azure Key Vault is to set up the External Secrets Operator (ESO) to sync your secrets from Azure Key Vault into Kubernetes secrets—these are then used by the Barman plugin as usual.

If you want to avoid storing credentials in Kubernetes secrets entirely, you can use Azure AD Workload Identity by setting inheritFromAzureAD: true in your backup configuration, but this is a different mechanism and doesn't use Key Vault as the credential source for the plugin itself.

References:

To reply, just mention @dosu.


Share context across your team and agents. Try Dosu.

Leave Feedback Learn about plugin-barman-cloud with Dosu Add Dosu to your team

dosubot[bot] avatar Feb 05 '26 05:02 dosubot[bot]