tanzu insight config set-target

This topic tells you how to use the Tanzu Insight CLI tanzu insight config set-target command to set your metadata store endpoint.

Synopsis

To set the target endpoint for the metadata store, run@

tanzu insight config set-target <endpoint> [--ca-cert <ca certificate path to verify peer against>] [--access-token <kubernetes service account access token>] [flags]

Examples

insight config set-target https://localhost:8443 --ca-cert=/tmp/ca.crt --access-token eyJhbGc...

Options

      --access-token string   Kubernetes access token. It is recommended to use the Environment Variable METADATA_STORE_ACCESS_TOKEN during the API calls, this will override access token flag. Note: using the the access-token flag stores the token on disk, the Environment Variable is retrieved at the time of the API call
      --ca-cert string        trusted ca certificate
  -h, --help                  help for set-target

See also

check-circle-line exclamation-circle-line close-line
Scroll to top icon