cURL Python JavaScript PHP Go Java
curl --request POST \
--url https://app.infisical.com/api/v1/integration-auth/access-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"workspaceId": "<string>",
"integration": "<string>",
"accessId": "<string>",
"accessToken": "<string>",
"url": "<string>",
"namespace": "<string>",
"refreshToken": "<string>"
}'
{
"integrationAuth" : {
"id" : "3c90c3cc-0d44-4b50-8888-8dd25736052a" ,
"projectId" : "<string>" ,
"integration" : "<string>" ,
"teamId" : "<string>" ,
"url" : "<string>" ,
"namespace" : "<string>" ,
"accountId" : "<string>" ,
"metadata" : "<any>" ,
"createdAt" : "2023-11-07T05:31:56Z" ,
"updatedAt" : "2023-11-07T05:31:56Z"
}
}
Integration Authentication Parameters
The integration authentication endpoint is generic and can be used for all native integrations.
For specific integration parameters for a given service, please review the respective documentation below.
AWS Secrets manager GCP Secrets manager Heroku This value must be aws-secret-manager .
Infisical project id for the integration.
The AWS IAM User Access ID.
The AWS IAM User Access Secret Key.
An access token in Infisical
The ID of the project to create the integration auth for.
The slug of integration for the auth object.
The unique authorized access id of the external integration provider.
The unique authorized access token of the external integration provider.
The refresh token for integration authorization.
integrationAuth. projectId
integrationAuth. integration
integrationAuth. createdAt
integrationAuth. updatedAt
integrationAuth. namespace
integrationAuth. accountId