Skip to content

Commit

Permalink
docs: include guidance to enable SPN-based auth
Browse files Browse the repository at this point in the history
  • Loading branch information
cahitihac authored and 4upz committed Nov 30, 2023
1 parent 0976d8c commit 076f639
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions microsite/docs/ConnectingData/Azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ By default, the application authenticates with Azure using environment variables

The authentication mode is set inside [packages/common/src/Config.ts](https://github.com/cloud-carbon-footprint/cloud-carbon-footprint/blob/trunk/packages/common/src/Config.ts), and you can see these options being used in [packages/azure/src/application/AzureCredentialsProvider.ts](https://github.com/cloud-carbon-footprint/cloud-carbon-footprint/blob/trunk/packages/azure/src/application/AzureCredentialsProvider.ts).

To establish authentication with Azure using a Service Principal (SPN) and a certificate, the initial steps involve creating them in Azure as outlined in [this guide](https://learn.microsoft.com/en-us/cli/azure/azure-cli-sp-tutorial-1?tabs=bash). Additionally, ensure that the AZURE_AUTH_MODE is configured to "CERTIFICATE" and AZURE_CERTIFICATE_PATH is set to path of your certificate to enable SPN-based authentication.

<!-- © 2021 Thoughtworks, Inc. -->

0 comments on commit 076f639

Please sign in to comment.