Can anyone confirm that to make a REST requestd to Azure storage we have to do these steps?
- Create an App Registration and get its
client ID
andclient secret
- Goto
API permissions
->Add permission
->Azure storage
, adduser_impersonation
as API permission that would allow the Application to access the Storage account on behalf of the signed-in user. - Goto
Access control IAM
->Add role
-> assign the givensigned-in user (email)
whichever role that you like. - Next you can now access the token to make the request.
In this logic, one has to grant the read/write/complete-storage-account
access to the Role in step 3 and then impersonate that behavior to App created.
But let's say that I want to grant these levels of access while the token request. Shown in fig:
Can I do so? That I get these read/write/owner kind of different permissions while accessing the token. If not then how can I manage different access levels?
- Should I use multiple users
- Should I use multiple applications