capabilities.work

Quay Provision Organization Robot and Repository

A 3-step recipe with Red Hat. We can help you get access.

Recipe · 3 steps

Quay Provision Organization Robot and Repository

with Red Hat · Identity & Access Management

Verify an organization, create a robot account, and create a repository.

  1. Retrieve the organization to confirm it exists before provisioning robot accounts and repositories.
  2. Create a robot account in the organization that automation systems can use to authenticate to the registry.
  3. Create a repository in the organization's namespace that the robot account can publish images to.
What you'll need to have ready
  • token: OAuth bearer token for the Quay API.
  • orgname: The organization name to provision against.
  • robotShortname: The short name for the new robot account.
  • robotDescription: A description of the robot account.
  • repository: The short name of the repository to create.
  • visibility: Repository visibility, either "public" or "private".
  • repoDescription: A description for the repository.
For your developer

Arazzo workflow red-hat:provision-org-robot-repo, 3 operations: getOrganization → createOrgRobot → createRepository. Specs on APIs.io.