As I understand it, the idea is that azure allows the registration of multiple applications (client ids) each with multiple secrets.
I (think that I) get the part of multiple applications registrations, since each app would get fine-grained access control.
The question then is why would it be possible to create multiple (client) secrets for the same application (client) id
?
Don't all the secrets provide the exact same access (since they are all bound to the same application/client id)?
Why would someone need even a second (client) secret?
CodePudding user response:
Correct, all secrets have the same access as they are similar to passwords for a user.
The point is that secrets expire, and having more than one allows you to rotate them.
- Before secret 1 expires, create new secret 2
- Update application with secret 2
- Remove secret 1