nerves_hub_cli v0.10.1 mix nerves_hub.user
Manage your NervesHub user account.
Users are authenticated to the NervesHub API by supplying a valid client certificate with every request. User certificates can be generated and managed on https://www.nerves-hub.org/account/certificates
NervesHub will look for the following files in the location of $NERVES_HUB_HOME
ca.pem: A file that contains all known NervesHub Certificate Authority
certificates needed to authenticate.
user.pem: A signed user account certificate.
user-key.pem: The user account certificate private key.
whoami
mix nerves_hub.user whoami
register
mix nerves_hub.user register
auth
mix nerves_hub.user auth
deauth
mix nerves_hub.user deauth
cert export
mix nerves_hub.user cert export
Command-line options
--path
- (Optional) A local location for exporting certificate.
Link to this section Summary
Functions
Callback implementation for Mix.Task.run/1
.
Link to this section Functions
Link to this function
auth()
Link to this function
cert_export(opts)
Link to this function
deauth()
Link to this function
register()
Link to this function
render_help()
Specs
render_help() :: no_return()
Link to this function
run(args)
Callback implementation for Mix.Task.run/1
.
Link to this function