Reputation: 14938
Assume I create an ASP.NET Core 2.0 App in Visual Studio 2017:
I can integrate with Azure Active Directory by clicking the Change Authentication dialog.
Then after entering my MSDN credentials 2 or three times it will register my application with Azure Active Directory:
That creates the following snippet in appsettings.json:
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "XXXXXXXX.onmicrosoft.com",
"TenantId": "XXXXXXXXX",
"ClientId": "XXXXXXXXX",
"CallbackPath": "/signin-oidc"
},
Tenant Id matches what this question said it would. And ClientId matches Azure ID. However, I don't see where this Key, that Visual Studio created during the app provisions, is stored:
Where is that stored?
Upvotes: 0
Views: 444
Reputation: 14649
AFAIK, the template of Visual Studio does't save the secret when it create it on the Azure. If you want a secret for this app, you can delete the old one and create a new.
Please Note: Once you left that page, the secret was not able to see again.
Upvotes: 1