Skip to main content
Save a GitLab Personal Access Token for commands that interact with GitLab. The token is written as block-style YAML to ~/.talos/credentials/gitlab.yml under the default profile. Create a Personal Access Token (with the api scope) at gitlab.com/-/user_settings/personal_access_tokens.

Usage

talos gitlab:credentials:create [options]

Examples

Run with no flags to be prompted for the token (input is hidden):
talos gitlab:credentials:create
Provide the token non-interactively:
talos gitlab:credentials:create --token=glpat-xxxxxxxx

Options

OptionDescriptionDefault
--tokenGitLab Personal Access Token to store.Prompted if omitted
--silentSuppress the instructional message and the saved-to confirmation.false