1. Home
  2. ...
  3. Configuration
  4. Authentication (ssd configure)

Authentication (ssd configure)

How to authenticate Sensedia CLI with Sensedia API Platform using the `ssd configure` command.

To be used, the Sensedia CLI must be authenticated with Sensedia API Platform.

This authentication is performed on Sensedia CLI through the ssd configure command.

The "ssd configure" command

The ssd configure command allows you to configure some general settings for Sensedia CLI, such as the URL of your Sensedia API Platform Manager, the authentication and the default output format for the information.

Usage

The ssd configure command can be used in either the interactive mode or in the direct mode, by specifying all the required flags.

Examples of usage:

Available flags

The following flags can be used with the ssd configure command:

Flag
Type
Description
-h, --helpDisplays help for the command
-o, --outputstringSpecifies the display type of the information. E.g.: -o json, -o table
--tokenstringSensedia CLI Token generated on Sensedia API Platform, e.g.: 87327fc6-47a2-11ec-81d3-0242ac130003. Learn how to generate the CLI Token
--urlstringURL of your Sensedia API Platform Manager. E.g.: https://testing.sensedia-eng.com

Global Flags

Flag
Type
Description
-c, --configstringConfiguration file (default: $HOME/.sensedia/config.json)
--profilestringThe configuration profile you want to use (default: "default")
--verboseLists all requests made by the command. It is possible to store this information in a TXT file instead of displaying it on the terminal. E.g.: $ ssd (api-management | apim) list apis --verbose 2> log.txt

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more