Skip to main content


rhoas service-registry role#

[beta] Service Registry role management


Service Registry role management Set of commands that give users one of following permissions:

  • READ_ONLY (read artifacts)
  • DEVELOPER (write access to all resources)
  • ADMIN (Export/Import artifacts, Manage Roles)

Roles can be applied to users (e.g martin_redhat) and Service Account Client IDs (e.g srvc-acct-03ddedba-5b49-4aa0-9b68-02e8b8c31add). These commands are only accessible to users with the organization admin role or owners of the Service Registry instance.

This command is available as part of the Development Preview release.


## Create or update user rolerhoas service-registry role add --role=ADMIN --username=joedough
## List user and service account rolesrhoas service-registry role list
## Revoke role for userrhoas service-registry role revoke --username=janedough

Options inherited from parent commands#

  -h, --help      Show help for a command  -v, --verbose   Enable verbose mode