kalix secrets create tls

Create or update a TLS secret.


The kalix secrets create tls command creates or updates a TLS Certificate secret, for use when providing client or server certificates.

kalix secrets create tls SECRET_NAME [flags]


> kalix secrets create tls my-certificate --key /path/to/key.pem --cert /path/to/cert.pem


      --ca string        An optional path to the PEM encoded CA that issued the certificate.
      --cert string      A path to the PEM certificate chain for the certificate.
  -h, --help             help for tls
      --key string       A path to the PEM encoded private key for the certificate.
      --owner string     the owner of the project to use, needed if you have two projects with the same name from different owners
      --project string   project to use if not using the default configured project

Options inherited from parent commands

      --cache-file string   location of cache file (default "~/.kalix/cache.yaml")
      --config string       location of config file (default "~/.kalix/config.yaml")
      --context string      configuration context to use
      --disable-prompt      Disable all interactive prompts when running kalix commands. If input is required, defaults will be used, or an error will be raised.
                            This is equivalent to setting the environment variable KALIX_DISABLE_PROMPTS to true.
  -o, --output string       set output format to one of [text,json,gotemplate=] (default "text")
  -q, --quiet               set quiet output (helpful when used as part of a script)
      --timeout duration    client command timeout (default 10s)
      --use-grpc-web        use grpc-web when talking to Kalix APIs. This is useful when behind corporate firewalls that decrypt traffic but don't support HTTP/2.
  -v, --verbose             set verbose output