appliance-cli context configure

Interactively configure an appliance context

Synopsis

Create or update an appliance context.

Your are guided through setting up or editing an appliance context. To configure an appliance context, you are required to provide a base URI. This URI defines the address where the appliance management API is reachable.

For example, if your appliance is reachable at 172.16.32.64, you can provide the following base URI:

172.16.32.64

If the address of your appliance can be looked up via DNS, you can also configure the DNS name in the URI. For example, to configure an appliance with a DNS entry appliance.example.com, you can provide the following base URI:

appliance.example.com

Note

If you do not set the protocol in the URI, https is assumed.

After you have set the base URI, you are asked to configure the default profile. Here, you can set up the authentication credentials (basic auth and Oauth2). If you are done configuring the default profile, you can save and exit.

If you want to start using this appliance context, select it with the appliance-cli context select command.

Note

Set the --insecure flag during appliance context configuration, if you will be connecting to an appliance with a self-signed certificate. This will disable certificate verification during the TLS handshake for all subsequent calls to the API when using that appliance context.

appliance-cli context configure <name> [flags]

Examples

  context configure host1.site1.org
  context configure host1.site1.org --insecure

Options

  -h, --help       help for configure
      --insecure   Disable SSL verification

SEE ALSO