Token Auth
Create Token
Create token for identity with Token Auth
POST
/
api
/
v1
/
auth
/
token-auth
/
identities
/
{identityId}
/
tokens
Authorizations
Authorization
string
headerrequiredAn access token in Infisical
Path Parameters
identityId
string
requiredThe ID of the identity to create the token for.
Body
application/json
name
string
The name of the token to create.
Response
200 - application/json
accessToken
string
requiredexpiresIn
number
requiredaccessTokenMaxTTL
number
requiredtokenType
enum<string>
requiredAvailable options:
Bearer
Was this page helpful?