Secrets
Create
Create secret
POST
Authorizations
An access token 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.
Note to be attached in notification email.
Interval for secret rotation notifications, measured in days.
Skip multiline encoding for the secret value.
The ID of the tags to be attached to the created secret.
The type of the secret to create.
Available options:
shared
, personal
Was this page helpful?