I want to restrict the read & write access of secrets only to the users with ADMIN roles in openshift. If a user is a normal user, he can access everything except the secrets(he can't reveal the secrets and edit also). Is there any way to do that? Thank You!
Is there a way to give read & write access of secrets only to ADMIN user in openshift?
1.1k views Asked by Sukanya Mallick At
1
You could try to create your own roles to apply to everyone who is not an admin or just edit the non-admin roles removing access to secrets.
Here the guide to make your own role.
For example your role can already be like:
and you could remove the secrets line under resources:
For example: