Forum Discussion
ayoub92635
Mar 22, 2023Copper Contributor
App secret (application secret) Azure AD - Azure AD App Secrets
Hello everyone, Please , I want to know what is a "Secret App", by default what is the secret app lifetime ? What is the lifespan of App Secret ? is it recommended to use short-lived app secrets...
- Mar 23, 2023
There are two types of authentication available for service principals: password-based authentication (application secret) and certificate-based authentication. We recommend using a certificate, but you can also create an application secret.
Option 2: Create a new application secret
If you choose not to use a certificate, you can create a new application secret.
- Search for and select Azure Active Directory.
- Select App registrations and select your application from the list.
- Select Certificates & secrets.
- Select Client secrets, and then Select New client secret.
- Provide a description of the secret, and a duration.
- Select Add.
Once you've saved the client secret, the value of the client secret is displayed. Copy this value because you won't be able to retrieve the key later. You'll provide the key value with the application ID to sign in as the application. Store the key value where your application can retrieve it.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily.
ayoub92635
Mar 27, 2023Copper Contributor
Many Thanks josequintino
josequintino
Mar 27, 2023Iron Contributor
ayoub92635, you're welcome!
- ayoub92635Mar 27, 2023Copper ContributorMany thanks ! For the "Unsecure Account" you sent me recommendations to apply, I want to know how to be notified to receive alerts when an "unsecure account" is created, knowing that I only have Microsoft Defender to view the alerts.
An alert created when "unsecure account " is created please