Overview
- Introduction
- Authentication
- Examples
Endpoints
- Identities
- Token Auth
- Universal Auth
- GCP Auth
- AWS Auth
- Azure Auth
- Kubernetes Auth
- OIDC Auth
- JWT Auth
- Groups
- Organizations
- Projects
- Project Users
- Project Groups
- Project Identities
- Project Roles
- Project Templates
- Environments
- Folders
- Secret Tags
- Secrets
- Dynamic Secrets
- Secret Imports
- Identity Specific Privilege
- App Connections
- Secret Syncs
- Integrations
- Service Tokens
- Audit Logs
Infisical PKI
- Certificate Authorities
- Certificates
- Certificate Templates
- Certificate Collections
- PKI Alerting
Infisical SSH
- Certificates
- Certificate Authorities
- Certificate Templates
Infisical KMS
- Keys
Update
Update an integration by integration id
curl --request PATCH \
--url https://us.infisical.com/api/v1/integration/{integrationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"app": "<string>",
"appId": "<string>",
"isActive": true,
"secretPath": "/",
"targetEnvironment": "<string>",
"owner": "<string>",
"environment": "<string>",
"path": "<string>",
"metadata": {
"initialSyncBehavior": "<string>",
"secretPrefix": "<string>",
"secretSuffix": "<string>",
"mappingBehavior": "one-to-one",
"shouldAutoRedeploy": true,
"secretGCPLabel": {
"labelName": "<string>",
"labelValue": "<string>"
},
"secretAWSTag": [
{
"key": "<string>",
"value": "<string>"
}
],
"azureLabel": "<string>",
"githubVisibility": "selected",
"githubVisibilityRepoIds": [
"<string>"
],
"kmsKeyId": "<string>",
"shouldDisableDelete": true,
"shouldEnableDelete": true,
"shouldMaskSecrets": true,
"shouldProtectSecrets": true,
"metadataSyncMode": "custom",
"octopusDeployScopeValues": {
"Environment": [
"<string>"
],
"Action": [
"<string>"
],
"Channel": [
"<string>"
],
"Machine": [
"<string>"
],
"ProcessOwner": [
"<string>"
],
"Role": [
"<string>"
]
}
},
"region": "<string>"
}'
{
"integration": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isActive": true,
"url": "<string>",
"app": "<string>",
"appId": "<string>",
"targetEnvironment": "<string>",
"targetEnvironmentId": "<string>",
"targetService": "<string>",
"targetServiceId": "<string>",
"owner": "<string>",
"path": "<string>",
"region": "<string>",
"scope": "<string>",
"integration": "<string>",
"metadata": "<any>",
"integrationAuthId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"envId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"secretPath": "/",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"lastUsed": "2023-11-07T05:31:56Z",
"isSynced": true,
"syncMessage": "<string>",
"lastSyncJobId": "<string>",
"environment": {
"slug": "<string>",
"name": "<string>",
"id": "<string>"
}
}
}
Authorizations
An access token in Infisical
Path Parameters
The ID of the integration object.
Body
The name of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations.
The ID of the external integration providers app entity that you want to sync secrets with. Used in Netlify, GitHub, Vercel integrations.
Whether the integration should be active or disabled.
The path of the secrets to sync secrets from.
The target environment of the integration provider. Used in cloudflare pages, TeamCity, Gitlab integrations.
External integration providers service entity owner. Used in Github.
The environment to sync secrets from.
Path to save the synced secrets. Used by Gitlab, AWS Parameter Store, Vault.
Type of syncing behavoir with the integration.
The prefix for the saved secret. Used by GCP.
The suffix for the saved secret. Used by GCP.
The mapping behavior of the integration.
one-to-one
, many-to-one
Used by Render to trigger auto deploy.
Define which label to assign to secrets created in Azure App Configuration.
Define where the secrets from the Github Integration should be visible. Option 'selected' lets you directly define which repositories to sync secrets to.
selected
The repository IDs to sync secrets to when using the Github Integration. Only applicable when using Organization scope, and visibility is set to 'selected'.
The ID of the encryption key from AWS KMS.
The flag to disable deletion of secrets in AWS Parameter Store.
The flag to enable deletion of secrets.
Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Masked'.
Specifies if the secrets synced from Infisical to Gitlab should be marked as 'Protected'.
The mode for syncing metadata to external system
custom
, secret-metadata
Specifies the scope values to set on synced secrets to Octopus Deploy.
AWS region to sync secrets to.
Response
Was this page helpful?
curl --request PATCH \
--url https://us.infisical.com/api/v1/integration/{integrationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"app": "<string>",
"appId": "<string>",
"isActive": true,
"secretPath": "/",
"targetEnvironment": "<string>",
"owner": "<string>",
"environment": "<string>",
"path": "<string>",
"metadata": {
"initialSyncBehavior": "<string>",
"secretPrefix": "<string>",
"secretSuffix": "<string>",
"mappingBehavior": "one-to-one",
"shouldAutoRedeploy": true,
"secretGCPLabel": {
"labelName": "<string>",
"labelValue": "<string>"
},
"secretAWSTag": [
{
"key": "<string>",
"value": "<string>"
}
],
"azureLabel": "<string>",
"githubVisibility": "selected",
"githubVisibilityRepoIds": [
"<string>"
],
"kmsKeyId": "<string>",
"shouldDisableDelete": true,
"shouldEnableDelete": true,
"shouldMaskSecrets": true,
"shouldProtectSecrets": true,
"metadataSyncMode": "custom",
"octopusDeployScopeValues": {
"Environment": [
"<string>"
],
"Action": [
"<string>"
],
"Channel": [
"<string>"
],
"Machine": [
"<string>"
],
"ProcessOwner": [
"<string>"
],
"Role": [
"<string>"
]
}
},
"region": "<string>"
}'
{
"integration": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isActive": true,
"url": "<string>",
"app": "<string>",
"appId": "<string>",
"targetEnvironment": "<string>",
"targetEnvironmentId": "<string>",
"targetService": "<string>",
"targetServiceId": "<string>",
"owner": "<string>",
"path": "<string>",
"region": "<string>",
"scope": "<string>",
"integration": "<string>",
"metadata": "<any>",
"integrationAuthId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"envId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"secretPath": "/",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"lastUsed": "2023-11-07T05:31:56Z",
"isSynced": true,
"syncMessage": "<string>",
"lastSyncJobId": "<string>",
"environment": {
"slug": "<string>",
"name": "<string>",
"id": "<string>"
}
}
}