Forum Discussion
App secret (application secret) Azure AD - Azure AD 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.
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.
What is the best place to store the secret coming out of application registration - when it comes to at the time of initial start of the application ?elieelkarkafi