Zach Zeid
08/13/2021, 4:07 PMfleetctl config set --context default
NAME:
fleetctl config set - Set config options
USAGE:
fleetctl config set [options]
OPTIONS:
--config value Path to the fleetctl config file (default: "/Users/zzeid/.fleet/config") [$CONFIG]
--context value Name of fleetctl config context to use (default: "default") [$CONTEXT]
--address value Address of the Fleet server [$ADDRESS]
--email value Email to use when connecting to the Fleet server [$EMAIL]
--token value Fleet API token [$TOKEN]
--tls-skip-verify Skip TLS certificate validation (default: false) [$INSECURE]
--rootca value Specify RootCA chain used to communicate with fleet [$ROOTCA]
--url-prefix value Specify URL Prefix to use with Fleet server (copy from server configuration) [$URL_PREFIX]
--help, -h show help (default: false)
zwass
Zach Zeid
08/13/2021, 4:26 PMfleetctl login
. it. just. asks me for my un/pwzwass
fleetctl config set --token <paste here>
Zach Zeid
08/13/2021, 4:30 PMSet the token config key to "foobarbaz" in the "default" context
fleetctl login
Log in using the standard Fleet credentials.
Email: email@address
Password:
Login failed: login received status 401 Authentication failed: Authentication failed
zwass
Zach Zeid
08/13/2021, 4:34 PM