Learn how to authenticate with Infisical using TLS Certificate.
/api/v1/auth/tls-cert-auth/login
endpoint. If successful, Infisical returns a short-lived access token that can be used to make authenticated requests to the Infisical API.
To be more specific:
/api/v1/auth/tls-cert-auth/login
endpoint.TLS with Load Balancer/Proxy
8443
instead of the default 443
. Example: https://app.infisical.com:8443/api/v1/auth/tls-cert-auth/login
2592000
equivalent to 30 days): The lifetime for an access token in seconds. This value will be referenced at renewal time.2592000
equivalent to 30 days): The maximum lifetime for an access token in seconds. This value will be referenced at renewal time.0
): The maximum number of times that an access token can be used; a value of 0
implies an infinite number of uses.0.0.0.0/0
, allowing usage from any network address./api/v1/auth/tls-cert-auth/login
endpoint.
Below is an example of how you can authenticate with Infisical using NodeJS.
7200
seconds, which can be adjusted.If an identity access token expires, it can no longer access the Infisical API. A new access token should be obtained by performing another login operation.