Skip to content

cofidectl connect init

Initialises the cofidectl config file for use with Cofide Connect

This command initialises a new cofidectl config file for use with Cofide Connect in the current working directory

cofidectl connect init [flags]
--cofide-registry string Cofide image registry override
--cofide-spire-agent-repository string Cofide SPIRE agent image repository override
--cofide-spire-agent-version string Cofide SPIRE Agent image version override
--cofide-spire-server-repository string Cofide SPIRE server image repository override
--cofide-spire-server-version string Cofide SPIRE Server image version override
--connect-agent-version string Cofide Connect Agent image version override
--connect-audience string OAuth2 audience to request for the access token during login
--connect-bundle-host string Cofide Connect service bundle host
--connect-insecure-tls Do not validate the certificate of Cofide Connect
--connect-trust-domain string Cofide Connect service trust domain
--connect-url string Cofide Connect service URL
-h, --help help for init
--management-zone Agent is in a management zone
--oauth-authorization-url string OAuth2 authorization URL
--oauth-client-id string OAuth2 client ID
--oauth-issuer-url string OAuth2 issuer URL
--oauth-jwks-url string OAuth2 JWKS URL
--oauth-scope stringArray OAuth2 scope to request during login (repeatable, replaces defaults: [openid profile email offline_access])
--oauth-token-url string OAuth2 token URL
--use-join-token Use a join token for Cofide SPIRE server authentication with Connect
--use-oss-spire Use the OSS implementation of SPIRE
--config string cofidectl config file (default "cofide.yaml")
--dir string directory to write the generated docs to (default "docs/cli")
--format string output format: md, md-site, man or rest (default "md")
--kube-config string kubeconfig file location (default "$HOME/.kube/config")
--link-prefix string md-site only, required: URL path the generated pages are published under, used to rewrite links between them
--log-level string log level (overrides the COFIDECTL_LOG_LEVEL environment variable) (default "ERROR")