Permissions for Publishing an orb
By default, CircleCI requires that a user be an organization owner to publish an orb. You can view the Orbs CLI permissions matrix for more details.
Enabling non-organization owners to publish an orb
Non-organization owners can publish as orb, both public and private, via a context associated with an organization owner's personal API token.
This context can be restricted to a certain security group if need be.
The organization owner will need to follow these steps:
- Generate a personal API token:
- Store the token in a context to be used as an environment variable:
- The environment variable in the context will need to be called
- Using the Orb Development Kit, assign the `publishing-context` to the newly-created context:
You may also use the CLI to publish orbs by passing in the token. The publish-token-variable pulls in the environment variable from the context called
Article is closed for comments.