Secret Imports
Create
Create secret imports
POST
/
api
/
v1
/
secret-imports
Authorizations
Authorization
string
headerrequiredAn access token in Infisical
Body
application/json
workspaceId
string
requiredThe ID of the project you are working in.
environment
string
requiredThe slug of the environment to import into.
path
string
default: /The path to import into.
import
object
requiredisReplication
boolean
default: falseWhen true, secrets from the source will be automatically sent to the destination. If approval policies exist at the destination, the secrets will be sent as approval requests instead of being applied immediately.
Response
200 - application/json
message
string
requiredsecretImport
object
required