Skip to main content
You can manage channel service accounts and authorization tokens in Package Security Manager from the command line. For general information about service accounts, see Channel service accounts. For general information about tokens, see Authorization tokens.
The commands on this page prompt for your Package Security Manager username and password each time you run them, even if you’re already logged in with conda repo login. Because of this, you can’t run them in non-interactive scripts.

Authorization tokens

Authorization tokens provide others with access to private or authenticated channels or with a specific set of permissions within Package Security Manager.

Viewing scopes

Scopes are fine-grained permissions you can embed within a token to limit the actions that can be performed. To view a list of available scopes:

Creating a scope token

To generate a new user authorization token:

Removing a user authorization token

Channel service accounts

Channel service accounts are available in Package Security Manager version 6.6.5 and later.

Listing all channel service accounts

Creating a service account token

Creating tokens for a service account provides the account with specified permissions to act on specified channels.

Listing all channel tokens

Listing tokens for a specific service account

To list all token IDs that a service account has to a specified channel:

Editing a token

To change a token’s permission level:

Deleting a token