cURL
Legacy
Create
Create secret
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
An access token in Infisical
Path Parameters
The name of the secret to create.
Minimum string length:
1Body
application/json
The slug of the environment to create the secret in.
The value of the secret to create.
The ID of the project to create the secret in.
The slug of the project to create the secret in.
The path to create the secret in.
Attach a comment to the secret.
The ID of the tags to be attached to the created secret.
Skip multiline encoding for the secret value.
The type of the secret to create.
Available options:
shared, personal Interval for secret rotation notifications, measured in days.
Note to be attached in notification email.
Maximum string length:
1024Response
Default Response
- Option 1
- Option 2