Access Token
About 144 wordsLess than 1 minute
All resources in the Cloud Native Build platform (including repositories, artifact registries, OPENAPI, etc.) require an access token for operations.
Applying for Access Token
After logging in, go to Personal Settings
- Access Tokens -> Add Access Token
.
Token configuration parameters are as follows:
- Token Name: Unique identifier for the token.
- Expiration Time: When the token expires and becomes invalid.
- Scope: Limits which repository types the token can access.
- Authorization Scope: Defines the operations the token can perform under the account.
- Common Scenarios: Provides quick initialization of token authorization scopes based on common use cases.
After creation, you will obtain the token.
Accessing Code Repositories
- Username is fixed as: cnb
- Password is the
access token
you added
Accessing Artifact Registries
- Username is fixed as: cnb
- Password is the
access token
you added
Accessing OPENAPI
See: Open API