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
- GETList
- GETOptions
- AWS Parameter Store
- AWS Secrets Manager
- Azure App Configuration
- Azure Key Vault
- Databricks
- GCP Secret Manager
- GitHub
- Humanitec
- 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
Import Secrets
Import secrets from the specified AWS Secrets Manager Sync destination.
curl --request POST \
--url https://us.infisical.com/api/v1/secret-syncs/aws-secrets-manager/{syncId}/import-secrets
{
"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,
"keyId": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>"
}
],
"syncSecretMetadataAsTags": true
},
"connection": {
"app": "aws",
"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": "aws-secrets-manager",
"destinationConfig": {
"mappingBehavior": "one-to-one",
"region": "us-east-1"
}
}
}
Path Parameters
The ID of the AWS Secrets Manager Sync to trigger importing secrets for.
Query Parameters
Specify whether Infisical should prioritize secret values from Infisical or AWS Secrets Manager.
prioritize-source
, prioritize-destination
Response
Optional parameters to modify how secrets are synced.
Specify how Infisical should resolve the initial sync to the AWS Secrets Manager destination.
overwrite-destination
, import-prioritize-source
, import-prioritize-destination
Enable this flag to prevent removal of secrets from the AWS Secrets Manager destination when syncing.
The AWS KMS key ID or alias to use when encrypting parameters synced by Infisical.
1 - 256
Whether Infisical secret metadata should be added as tags to secrets synced by Infisical.
aws-secrets-manager
How secrets from Infisical should be mapped to AWS Secrets Manager; one-to-one or many-to-one.
one-to-one
The AWS region to sync secrets to.
us-east-1
, us-east-2
, us-west-1
, us-west-2
, us-gov-east-1
, us-gov-west-1
, af-south-1
, ap-east-1
, ap-south-1
, ap-south-2
, ap-northeast-1
, ap-northeast-2
, ap-northeast-3
, ap-southeast-1
, ap-southeast-2
, ap-southeast-3
, ap-southeast-4
, ca-central-1
, eu-central-1
, eu-central-2
, eu-west-1
, eu-west-2
, eu-west-3
, eu-south-1
, eu-south-2
, eu-north-1
, me-south-1
, me-central-1
, sa-east-1
Was this page helpful?
curl --request POST \
--url https://us.infisical.com/api/v1/secret-syncs/aws-secrets-manager/{syncId}/import-secrets
{
"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,
"keyId": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>"
}
],
"syncSecretMetadataAsTags": true
},
"connection": {
"app": "aws",
"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": "aws-secrets-manager",
"destinationConfig": {
"mappingBehavior": "one-to-one",
"region": "us-east-1"
}
}
}