This guide covers setting up the command line interface tool to use an API client for authentication. API clients are better for automated systems - if you’re a human, then you may prefer to use the standard username and password authentication covered in the getting started guide. That guide also covers installing the command line interface tool.
Once you’ve signed up, you now need to
create an API Client which you’ll use
to configure the CLI below. An API Client is simply a pair of access
credentials for accessing the API, consisting of a client identifier
cli-xxxxx) and a secret.
You can now configure the CLI tool with the credentials for the API client you created.
To configure the CLI with these credentials, run the following command:
$ brightbox config client_add cli-xxxxx thesecretstring Using config file /home/john/.brightbox/config Creating new api client config cli-xxxxx
Now you can use the CLI tool to interact with Brightbox Cloud as usual. API client credentials never expire or need re-entering. They’ll work until revoked by the account owner.
You now might want to try building a server.
Here you installed and configured the Command Line Interface tool with API client authentication.
You might want to learn about using the Command Line Interface with your Brightbox Cloud username and password.
Last updated: 11 Apr 2019 at 12:23 UTC