WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx create token addon
list of jx commands
jx create token addon
Adds a new token/login for a user for a given addon
Synopsis
Creates a new User Token for an Addon service
jx create token addon [username] [flags]
Examples
# Add a new User Token for an addonservice
jx create token addon -n anchore someUserName
# As above with the password being passed in
jx create token addon -n anchore -p somePassword someUserName
Options
-t, --api-token string The API Token for the user
-h, --help help for addon
-k, --kind string The kind of addon. Defaults to the addon name if not specified
-n, --name string The name of the Git server to add a user
-p, --password string The password for the user
--timeout string The timeout if using browser automation to generate the API token (by passing username and password)
-u, --url string The URL of the Git server to add a user
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx create token - Creates a new user token for a service
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)