79120480

Date: 2024-10-24 05:42:18
Score: 2
Natty:
Report link

It depends on where you host the application. If it's in Azure, the best approach is to use managed identity, since it eliminates the need for clientId and clientSecrets. When it's outside of Azure and you use a deployment pipeline like Github Actions, I'd store it in the Github Secrets for accessing it during the deployment. Or last option, when it's a manual deployment on a server you could store it in the environment variable on the system to inject them securly during runtime.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Latzox