Manage access to Secrets Manager
Access to Secrets Manager is governed by:
- projects — define access within an isolated group of resources;
- roles determine access for management console users, service accounts, and groups within an account and project.
Access within projects
All Secrets Manager secrets are added to a specific project. You can group secrets by different projects and configure user permissions depending on which projects they need access to.
Access within roles
Access to Secrets Manager is granted by Secrets Manager roles and global roles. Learn more about role types in the Role reference.
Secrets Manager roles
secrets.admin
The secrets.admin role gives access to managing secrets in Secrets Manager.
secrets.viewer
The secrets.viewer role gives access to viewing everything managed by secrets.admin.
secrets.consumer
The secrets.consumer role gives access to viewing and using secrets in Secrets Manager.
Global roles
member
The member role grants full access to all services. It does not grant access to manage management console users, service accounts, user groups, and federations.
iam.admin
The iam.admin role grants access to user management and does not grant access to product management and billing. It does not allow you to manage your own account: modify permissions, manage notifications, or delete the user. The first user with the iam.admin role is created by the Account owner.
iam.viewer
The iam.viewer role gives access to viewing everything managed by iam.admin.
reader
The reader role gives access to viewing everything managed by member in the same scope.