Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.07 KB

cli-configuration.hbs.md

File metadata and controls

30 lines (19 loc) · 1.07 KB

Configure your Tanzu Insight CLI plug-in

This topic tells you how to configure your Tanzu Insight CLI plug-in.

Set the target and certificate authority (CA) certificate

These instructions are for the recommended configuration where Ingress is enabled. For instructions on non Ingress setups, see Configure target endpoint and certificate.

{{> 'partials/insight-ingress-configuration' }}

Set the access token

{{> 'partials/insight-set-access-token' }}

Verify the connection

Verify that your configuration is correct and you can make a connection using tanzu insight health.

Important The tanzu insight health command tests the configured endpoint and CA certificate. However, it does not test whether the access token is correct. For that, you must use the plug-in to add and query data.

For example:

$ tanzu insight health
Success: Reached Metadata Store!