Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Somtochi Onyekwere <[email protected]>
  • Loading branch information
somtochiama committed Mar 31, 2023
1 parent f097e92 commit b243f9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/sops/azkv/keysource.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ func (key *MasterKey) getTokenCredential() (azcore.TokenCredential, error) {

// Function copied from parts of `NewDefaultAzureCredential` in
// https://github.com/Azure/azure-sdk-for-go/blob/sdk%2Fazidentity%2Fv1.3.0-beta.4/sdk/azidentity/default_azure_credential.go
// This is because that we want to attempt to authentication using the azure cli.
// getDefaultAzureCredential attempts to return an azcore.TokenCredential based on the following order.
// - azidentity.NewEnvironmentCredential if environment variables AZURE_CLIENT_ID, AZURE_CLIENT_ID is set with
// either one of the following: (AZURE_CLIENT_SECRET) or (AZURE_CLIENT_CERTIFICATE_PATH and AZURE_CLIENT_CERTIFICATE_PATH) or
Expand Down

0 comments on commit b243f9d

Please sign in to comment.