POST
/
api
/
v1
/
secret-imports

Authorizations

Authorization
string
header
required

An access token in Infisical

Body

application/json
environment
string
required

The slug of the environment to import into.

import
object
required
workspaceId
string
required

The ID of the project you are working in.

isReplication
boolean
default:
false

When 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.

path
string
default:
/

The path to import into.

Response

200 - application/json
message
string
required
secretImport
object
required

Was this page helpful?