View Source NervesHubCLI.CLI.User (nerves_hub_cli v2.1.0)
Manage your NervesHub user account.
Users are authenticated to the NervesHub API with a user access token
presented in each request. This token can be manually supplied with the
NERVES_HUB_TOKEN
or NH_TOKEN
environment variables. Or you can use
nerves_hub user auth
to authenticate with the web, generate a token,
and save it locally in your config in $NERVES_HUB_HOME
whoami
nerves_hub user whoami
auth
nerves_hub user auth
Command-line options
--note
- (Optional) Note for the access token that is generated. Defaults tohostname
deauth
nerves_hub user deauth
Command-line options
--path
- (Optional) A local location for exporting certificate.