POST
/
api
/
v1
/
integration-auth
/
access-token
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.

integration
string
required

This value must be aws-secret-manager.

workspaceId
string
required

Infisical project id for the integration.

accessId
string
required

The AWS IAM User Access ID.

accessToken
string
required

The AWS IAM User Access Secret Key.

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Body

application/json
workspaceId
string
required

The ID of the project to create the integration auth for.

integration
string
required

The slug of integration for the auth object.

accessId
string

The unique authorized access id of the external integration provider.

accessToken
string

The unique authorized access token of the external integration provider.

url
string
namespace
string
refreshToken
string

The refresh token for integration authorization.

Response

200 - application/json
integrationAuth
object
required

Was this page helpful?