POST
/
api
/
v1
/
integration-auth
/
access-token
curl --request POST \
  --url https://us.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>",
  "awsAssumeIamRoleArn": "<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
header
required

An access token in Infisical

Body

application/json

Response

200
application/json
Default Response

The response is of type object.