View Source mix nerves_hub.user (nerves_hub_cli v2.0.1)

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 mix nerves_hub.user auth to authenticate with the web, generate a token, and save it locally in your config in $NERVES_HUB_HOME

whoami

mix nerves_hub.user whoami

auth

mix nerves_hub.user auth

Command-line options

  • --note - (Optional) Note for the access token that is generated. Defaults to hostname

deauth

mix nerves_hub.user deauth

Command-line options

  • --path - (Optional) A local location for exporting certificate.

Summary

Functions