v4
latestOpenAPI 3.0.32026-07-312,317012.2 MBAttach Kubernetes Auth configuration onto machine identity
Path parameters
The ID of the machine identity to attach the configuration onto.
Request body
The host string, host:port pair, or URL to the base of the Kubernetes API server.
The PEM-encoded CA certificate used to validate the Kubernetes API server's TLS certificate. Required when verifyTlsCertificate is true. Supplying a non-empty caCert always implies verifyTlsCertificate=true; explicitly setting the toggle to false in the same request is rejected.
Whether to verify the Kubernetes API server's TLS certificate against the configured CA certificate. When true, caCert is required. When false, the connection is still over HTTPS but the API server's certificate is not verified, and caCert must be empty. If omitted, defaults to true when caCert is provided and false otherwise.
Optional JWT token for accessing Kubernetes TokenReview API. If provided, this long-lived token will be used to validate service account tokens during authentication. If omitted, the client's own JWT will be used instead, which requires the client to have the system:auth-delegator ClusterRole binding.
The mode to use for token review. Must be one of: 'api', 'gateway'. If gateway is selected, the gateway must be deployed in Kubernetes, and the gateway must have the system:auth-delegator ClusterRole binding.
The comma-separated list of trusted namespaces that service accounts must belong to authenticate with Infisical.
The comma-separated list of trusted service account names that can authenticate with Infisical.
The optional audience claim that the service account JWT token must have to authenticate with Infisical.
The ID of the gateway to use when performing kubernetes API requests.
The lifetime for an access token in seconds.
The maximum lifetime for an access token in seconds.
The maximum number of times that an access token can be used.
Response
Default Response