Jan 29 2021
- last edited on
May 24 2021
I am reaching to see what people are doing around security app registrations. We've been working with our Dev teams, and have come across this app registration that's highly secure. Our developers want to come in with the client credentials flow which require an App ID and a Secret, which would basically expose that data to anyone that has that information. I am wondering what people are currently doing in these instances. It seems to me once you set up an app registration the info is there for anyone to setup pretty much any OAuth flow against it given they have the right information...or maybe I am missing something.
Jan 29 2021 09:00 AM
Hello @bglmarks ,
I am using this type of flow.
I think your concerns are controlled by permissions.
You should have Active Directory permission on your Azure Portal users to restrict who can create the App Registrations.
Then once you have generated the App Registration plus the Client Secret, you need to secure these somewhere safe like encrypted database or better would be Azure Key Vault.
You would then also want to limit what the Client can do to make sure it cannot create or destroy everything.
For example, only the Admin in our AD can create the App Reg, so I can't create them. The Service Principle only has read access to a certain Subscription. The details are then saved securely for use, so we cannot read them while using in the code.
Jan 29 2021 09:38 AM
@cpateman Thank you for your response, once you have the keyvault and secret stored within, how do you then secure the keyvault. As long as the developer has access to the keyvault, couldn't they programmatically get access to that from anywhere? is there a way to keep keyvault behind conditional access so that access is only accessible internally?
Feb 01 2021 08:59 AM