thanks @maxb.
do we have a way to map a vault policy to a particular single user ?
example:
If i create a secret with name secretName in vault using curl. and i at runtime create a policy to read only this secretName. I want to map this role to the person who creates this secret
I am sorry, but your question is not precise enough to have a clear answer.
Yes - There are various ways of mapping policies in Vault, some of which are suitable for applying to single users, but the specifics will depend on other details of your authentication and user management setup.
No - Vault does not have any way to grant policy based on who created a secret.