curl --request GET \
--url https://us.infisical.com/api/v1/auth/oidc-auth/identities/{identityId} \
--header 'Authorization: Bearer <token>'{
"identityOidcAuth": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"oidcDiscoveryUrl": "<string>",
"boundIssuer": "<string>",
"boundAudiences": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"caCert": "<string>",
"accessTokenTTL": 7200,
"accessTokenMaxTTL": 7200,
"accessTokenNumUsesLimit": 0,
"accessTokenTrustedIps": "<unknown>",
"boundClaims": "<unknown>",
"claimMetadataMapping": "<unknown>",
"boundSubject": "<string>"
}
}Retrieve OIDC Auth configuration on machine identity
curl --request GET \
--url https://us.infisical.com/api/v1/auth/oidc-auth/identities/{identityId} \
--header 'Authorization: Bearer <token>'{
"identityOidcAuth": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"oidcDiscoveryUrl": "<string>",
"boundIssuer": "<string>",
"boundAudiences": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"caCert": "<string>",
"accessTokenTTL": 7200,
"accessTokenMaxTTL": 7200,
"accessTokenNumUsesLimit": 0,
"accessTokenTrustedIps": "<unknown>",
"boundClaims": "<unknown>",
"claimMetadataMapping": "<unknown>",
"boundSubject": "<string>"
}
}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?