cURL
curl --request GET \ --url https://us.infisical.com/api/v1/auth/kubernetes-auth/identities/{identityId} \ --header 'Authorization: Bearer <token>'
{ "identityKubernetesAuth": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "identityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "allowedNamespaces": "<string>", "allowedNames": "<string>", "allowedAudience": "<string>", "caCert": "<string>", "accessTokenTTL": 7200, "accessTokenMaxTTL": 7200, "accessTokenNumUsesLimit": 0, "accessTokenTrustedIps": "<unknown>", "tokenReviewMode": "api", "kubernetesHost": "<string>", "gatewayId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "tokenReviewerJwt": "<string>" } }
Retrieve Kubernetes Auth configuration on machine identity
Documentation IndexFetch the complete documentation index at: https://infisical.com/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
An access token in Infisical
The ID of the machine identity to retrieve the auth method for.
Default Response
Show child attributes
Was this page helpful?