Webmesh Project
GitHubToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Wmctl Pki Gen Config

wmctl pki gen-config

Generate a CLI configuration from a certificate

wmctl pki gen-config [flags]

Options

      --cluster-name string   The cluster name to use for the CLI configuration (default "default")
      --context-name string   The context name to use for the CLI configuration (default "default")
  -h, --help                  help for gen-config
      --name string           The certificate to use for the CLI configuration (default "admin")
      --output string         The output file to write the CLI configuration to
      --server string         The server to use for the CLI configuration
      --user-name string      The user name to use for the CLI configuration (default "default")

Options inherited from parent commands

      --basic-auth-password func     The password for basic authentication
      --basic-auth-username func     The username for basic authentication
      --certificate-authority func   The path to the CA certificate for the cluster connection
      --client-certificate func      The path to the client certificate for the user
      --client-key func              The path to the client key for the user
  -c, --config string                Path to the CLI configuration file
      --context string               The name of the context to use (default "flags")
      --id-auth-key func             The path to the ID authentication key for the user
      --insecure                     Whether TLS should be disabled for the cluster connection
      --ldap-password func           The password for LDAP authentication
      --ldap-username func           The username for LDAP authentication
  -d, --pki-directory string         Path to the PKI directory
      --prefer-leader                Whether to prefer the leader node for the cluster connection
      --tls-skip-verify              Whether TLS verification should be skipped for the cluster connection

SEE ALSO

  • wmctl pki - Manage the PKI for a cluster using mTLS
Auto generated by spf13/cobra on 7-Nov-2023