Next: , Up: Creating and Storing a Token   [Contents][Index]

2.3.1 Creating a Token

To create a token, use the web interface of the forge/host you want to connect to. Here is a list of pages to do this for certain popular hosts:

For other forges we cannot provide a functioning URL because they contain unknown values such as your name. Just go to the general settings page of the respective host and then go from there.

Except on gitea and gogs each token can be limited to certain "scopes", i.e., it is possible to limit for which purposes any given token can be used.

Before you create a token to be used for a certain package, you should consult the documentation of that package, which in turn should tell you which scopes are needed and why. The Forge package for example does so in (forge)Token Creation.