i want that user should only able to some secrets and not all? please tell me how to manage secrets

Jain, Shreyans 0 Reputation points
2024-08-01T11:03:55.9133333+00:00

I want that in Azure a user should be able to see only few secrets relevant to him not all.

i want that every user should be able to access or see some specific secrets which are relevant to him/her

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 77,660 Reputation points MVP Volunteer Moderator
    2024-08-01T11:07:33.35+00:00

    Use the RBAC approach - rather than using access control policies to assign permissions to the vault artifacts. With RBAC, you can assign permissions to individual secrets. Access policies are vault-wide - so if you want to set permissions to individual secrets, you'd need to place them in different vaults.

    More at https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-access-policy

    For implementation details, refer to https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-guide?tabs=azure-cli


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.