Authentication
Specify use a Personal Access Token for the authentication. You can create it from the dedicated page on the web app. Once you have a personal access token, you can use it in two ways:
Environment variable (recommended)
You can use the environment variable named SPECIFY_PAT
SPECIFY_PAT=xxxxxxxxxxxxxxxxxx specify pull
Flag
If you prefer a flag, you can use --personal-access-token
or -p
specify --personal-access-token xxxxxxxxxxxxxxxxxx pull
Configuration file (not recommended)
You can also write the personal access token directly in the config file.
{
"repository": "<@your-organization/your-repository-name>"
"version": "2",
"personalAccessToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
"rules": []
}
If multiple credentials are used together, Specify will choose following this order:
the flag
the configuration file
the environment variable
Last updated
Was this helpful?