Skip to content

[DOCS] Gateway TLS settings in the CLI configuration #1072

Closed

Description

@edenreich

Summary

The CLI can now reach a gateway behind a private CA or one that requires mutual TLS, through gateway.tls (inference-gateway/cli#1673, closing inference-gateway/cli#1672). The CLI page of the docs site should list the new settings. mTLS is optional: ca_file alone gives plain TLS against a private CA, and the client certificate is presented only when the gateway asks for one.

gateway:
  url: https://gateway.example.internal:8443
  tls:
    ca_file: ~/.infer/gateway-ca.crt
    cert_file: ~/.infer/gateway-client.crt
    key_file: ~/.infer/gateway-client.key

Affected page: cli.md, under "Configuration".

Acceptance Criteria

  • gateway.tls.ca_file (INFER_GATEWAY_TLS_CA_FILE) is documented as a CA bundle trusted for gateway calls on top of the system roots
  • gateway.tls.cert_file and gateway.tls.key_file (INFER_GATEWAY_TLS_CERT_FILE, INFER_GATEWAY_TLS_KEY_FILE) are documented as the optional client certificate for a gateway that requires mTLS, set together
  • The page links the server side: the gateway's SERVER_TLS_CLIENT_CA_PATH (gateway v0.61.0) and the operator's spec.server.tls.clientCARef (operator v0.31.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions