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
- Secret Rotations
- Identity Specific Privilege
- App Connections
- Secret Syncs
- GETList
- GETOptions
- AWS Parameter Store
- AWS Secrets Manager
- Azure App Configuration
- Azure Key Vault
- Camunda
- Databricks
- GCP Secret Manager
- GitHub
- Humanitec
- Terraform Cloud
- Vercel
- GET
- 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
- Encryption
- Signing
Create
Create a Vercel Sync for the specified project environment.
curl --request POST \
--url https://us.infisical.com/api/v1/secret-syncs/vercel \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"projectId": "<string>",
"description": "<string>",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environment": "<string>",
"secretPath": "<string>",
"isAutoSyncEnabled": true,
"syncOptions": {
"initialSyncBehavior": "overwrite-destination",
"disableSecretDeletion": true
},
"destinationConfig": {
"app": "<string>",
"appName": "<string>",
"env": "development",
"branch": "<string>",
"teamId": "<string>"
}
}'
{
"secretSync": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"isAutoSyncEnabled": true,
"version": 1,
"projectId": "<string>",
"folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"syncStatus": "<string>",
"lastSyncJobId": "<string>",
"lastSyncMessage": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"importStatus": "<string>",
"lastImportJobId": "<string>",
"lastImportMessage": "<string>",
"lastImportedAt": "2023-11-07T05:31:56Z",
"removeStatus": "<string>",
"lastRemoveJobId": "<string>",
"lastRemoveMessage": "<string>",
"lastRemovedAt": "2023-11-07T05:31:56Z",
"syncOptions": {
"initialSyncBehavior": "overwrite-destination",
"disableSecretDeletion": true
},
"connection": {
"app": "vercel",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"environment": {
"slug": "<string>",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"folder": {
"id": "<string>",
"path": "<string>"
},
"destination": "vercel",
"destinationConfig": {
"app": "<string>",
"appName": "<string>",
"env": "development",
"branch": "<string>",
"teamId": "<string>"
}
}
}
Body
The name of the Vercel Sync to create. Must be slug-friendly.
1 - 32
The ID of the project to create the sync in.
1
The ID of the Vercel Connection to use for syncing.
The slug of the project environment to sync secrets from.
1 - 64
The folder path to sync secrets from.
1
Optional parameters to modify how secrets are synced.
Specify how Infisical should resolve the initial sync to the Vercel destination.
overwrite-destination
, import-prioritize-source
, import-prioritize-destination
Enable this flag to prevent removal of secrets from the Vercel destination when syncing.
The ID of the Vercel app to sync secrets to.
1
The name of the Vercel app to sync secrets to.
1
The ID of the Vercel environment to sync secrets to.
development
, preview
, production
The ID of the Vercel team to sync secrets to.
The branch to sync preview secrets to.
An optional description for the Vercel Sync.
256
Whether secrets should be automatically synced when changes occur at the source location or not.
Response
Optional parameters to modify how secrets are synced.
Specify how Infisical should resolve the initial sync to the Vercel destination.
overwrite-destination
, import-prioritize-source
, import-prioritize-destination
Enable this flag to prevent removal of secrets from the Vercel destination when syncing.
vercel
The ID of the Vercel app to sync secrets to.
1
The name of the Vercel app to sync secrets to.
1
The ID of the Vercel environment to sync secrets to.
development
, preview
, production
The ID of the Vercel team to sync secrets to.
The branch to sync preview secrets to.
Was this page helpful?
curl --request POST \
--url https://us.infisical.com/api/v1/secret-syncs/vercel \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"projectId": "<string>",
"description": "<string>",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environment": "<string>",
"secretPath": "<string>",
"isAutoSyncEnabled": true,
"syncOptions": {
"initialSyncBehavior": "overwrite-destination",
"disableSecretDeletion": true
},
"destinationConfig": {
"app": "<string>",
"appName": "<string>",
"env": "development",
"branch": "<string>",
"teamId": "<string>"
}
}'
{
"secretSync": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"isAutoSyncEnabled": true,
"version": 1,
"projectId": "<string>",
"folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"syncStatus": "<string>",
"lastSyncJobId": "<string>",
"lastSyncMessage": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"importStatus": "<string>",
"lastImportJobId": "<string>",
"lastImportMessage": "<string>",
"lastImportedAt": "2023-11-07T05:31:56Z",
"removeStatus": "<string>",
"lastRemoveJobId": "<string>",
"lastRemoveMessage": "<string>",
"lastRemovedAt": "2023-11-07T05:31:56Z",
"syncOptions": {
"initialSyncBehavior": "overwrite-destination",
"disableSecretDeletion": true
},
"connection": {
"app": "vercel",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"environment": {
"slug": "<string>",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"folder": {
"id": "<string>",
"path": "<string>"
},
"destination": "vercel",
"destinationConfig": {
"app": "<string>",
"appName": "<string>",
"env": "development",
"branch": "<string>",
"teamId": "<string>"
}
}
}