Should I need access policy on azure keyvault even though I'm owner of keyvault?
Hi All
In this article, we are going to see how important of having access policy in azure key vault.
Azure KeyVaukt is a service offered by azure to have data protection. Instead of storing password, certificates and or other secrets in code behind we can keep them in key vault and access them through key vault securely.
Ok. I'm a owner of an azure subscription. you people know well, child level resources inherit access level from parent resource in azure. So, here If I'm owner of a subscription then I'm owner of this key vault what I'm going to create as well. Let's imagine that I created a key vault without access policy on my name.
Can I see / create keys and/or secrets and/or certificates? because I'm an owner of this resource. right?
Answer is No because keyvault's components (keys, secrets, certificates) do not consider role based access level like owner, contributor...etc., we should have access policies granted. For example, If we have 3 users like A,B,C and A only needs key level access and B needs only secrets level and C needs only on certificates. we can set them accordingly.
we can limit some more granular level like only allowing some users to read and some users able to read,update,create and delete.. etc., keys/secrets/certificates.
So, Grants the access policy with the required permissions
Comments
Post a Comment