Configures the Tanzu CLI.
System commands | Primarily used for: Tanzu CLI
Syntax:
tanzu config [COMMAND]
-h, --help
Help text.
Manages custom certificate configuration for a given host.
Available commands:
Adds a custom certificate configuration.
tanzu config cert add [FLAGS]
To add a CA certificate for test.vmware.com
:
tanzu config cert add --host test.vmware.com --ca-certificate PATH-TO-CERTIFICATE
To add a CA certificate for test.vmware.com:8443
:
tanzu config cert add --host test.vmware.com:8443 --ca-certificate PATH-TO-CERTIFICATE
To skip certificate verification for test.vmware.com
:
tanzu config cert add --host test.vmware.com --skip-cert-verify true
--ca-certificate
The path to the CA certificate.
-h, --help
Help text.
--host
The host address or the host address and port number.
--insecure
Allows the use of HTTP when communicating with the host. Defaults to false
.
--skip-cert-verify
Skips the server’s TLS certificate verification. Defaults to false
.
Deletes a custom certificate configuration.
tanzu config cert delete [HOST] [FLAGS]
To delete the custom certificate for test.vmware.com
:
tanzu config cert delete test.vmware.com
-h, --help
Help text.
Lists available certificate configurations.
tanzu config cert list [FLAGS]
To list available certificate configurations in yaml
format:
tanzu config cert list -o yaml
-h, --help
Help text.
-o, --output
Output format. Supported values are yaml
, json
, and table
.
Updates a custom certificate configuration.
tanzu config cert update [HOST] [FLAGS]
To update the CA certificate for test.vmware.com
:
tanzu config cert update test.vmware.com --ca-certificate PATH-TO-CERTIFICATE
To update the CA certificate for test.vmware.com:5443
:
tanzu config cert update test.vmware.com:5443 --ca-certificate PATH-TO-CERTIFICATE
To skip certificate verification for test.vmware.com
:
tanzu config cert update test.vmware.com --skip-cert-verify true
--ca-certificate
The path to the CA certificate.
-h, --help
Help text.
--insecure
Allows the use of HTTP when communicating with the host. Supported values are true
and false
.
--skip-cert-verify
Skips the server’s TLS certificate verification. Supported values are true
and false
.
Manages the status of the end-user license agreement (EULA) for the Tanzu CLI.
Available commands:
Enables you to accept the EULA for the Tanzu CLI.
tanzu config eula accept [FLAGS]
To accept the EULA for the Tanzu CLI:
tanzu config eula accept
-h, --help
Help text.
Shows and enables you to accept the EULA for the Tanzu CLI.
tanzu config eula show [FLAGS]
To show the EULA for the Tanzu CLI:
tanzu config eula show
-h, --help
Help text.
Gets the current configuration of the Tanzu CLI.
tanzu config get [FLAGS]
To get the current configuration:
tanzu config get
-h, --help
Help text.
Initializes the default Tanzu CLI configuration.
tanzu config init [FLAGS]
To initialize the default configuration:
tanzu config init
-h, --help
Help text.
Sets the value for the specified path. Supported paths are edition
, env.VARIABLE
, features.global.FEATURE
, features.PLUGIN.FEATURE
, and unstable-versions
. For more information, see Tanzu CLI Configuration.
tanzu config set PATH VALUE [FLAGS]
To set AZURE_NODE_MACHINE_TYPE
to Standard_D2s_v3
in the configuration of the Tanzu CLI:
tanzu config set env.AZURE_NODE_MACHINE_TYPE Standard_D2s_v3
To enable the dual-stack-ipv4-primary
feature for the cluster
plugin:
tanzu config set features.cluster.dual-stack-ipv4-primary true
-h, --help
Help text.
Unsets configuration values at the specified path. Supported paths are features.global.FEATURE
, features.PLUGIN.FEATURE
, and env.VARIABLE
.
tanzu config unset PATH [FLAGS]
To unset AZURE_NODE_MACHINE_TYPE
in the configuration of the Tanzu CLI:
tanzu config unset env.AZURE_NODE_MACHINE_TYPE
-h, --help
Help text.