Skip to content

secrets/azurekeyvault: add a way to use CLI auth #2462

@vangent

Description

@vangent

We're currently using environment variables defined by the Azure auth library to authenticate (in Dial). However, there's another function provided that gets creds from the az CLI, which may also be useful. Let's add an environment variable that determines which to use.

Also, we should provide a default AZURE_AD_RESOURCE since the regular default is wrong (the Azure auth library defaults it to the "management" resource, which is different than the "keyvault" one).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions