Skip to content

feat: support Az Chained Credential auth#28

Open
GabriFedi97 wants to merge 1 commit intoVirtusLab:masterfrom
GabriFedi97:az-workload-identity
Open

feat: support Az Chained Credential auth#28
GabriFedi97 wants to merge 1 commit intoVirtusLab:masterfrom
GabriFedi97:az-workload-identity

Conversation

@GabriFedi97
Copy link
Copy Markdown

Instead of relying on the legacy BaseClientAPI, we can get a KeyVault key client through the NewClient function in the azkeys package. This method accept a parameter containing the actual credentials, that can be retrieved through the NewDefaultAzureCredential function in the azidentity package, which supports the Chained Credentials strategy.

Closed #27

All the az credentials are retrieved from
the environment and testes, until one succeeds.

Signed-off-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support multiple Azure authentication methods

1 participant