Secrets
Create
Create secret
POST
This endpoint requires you to disable end-to-end encryption. For more information, you should consult this note.
Authorizations
An access token in Infisical
An API Key in Infisical
Path Parameters
The name of the secret to create.
Body
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.
Attach a comment to the secret.
The path to create the secret in.
Skip multiline encoding for the secret value.
The type of the secret to create.
Available options:
shared
, personal
Response
200 - application/json
Was this page helpful?