create-secret
Add a new secret to a specified project and environment in Infisical, defining its name, value, and path for secure storage and management.
Instructions
Create a new secret in Infisical
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environmentSlug | Yes | The slug of the environment to create the secret in (required) | |
projectId | Yes | The ID of the project to create the secret in (required) | |
secretName | Yes | The name of the secret to create (required) | |
secretPath | No | The path of the secret to create (Defaults to /) | |
secretValue | No | The value of the secret to create |
Input Schema (JSON Schema)
{
"properties": {
"environmentSlug": {
"description": "The slug of the environment to create the secret in (required)",
"type": "string"
},
"projectId": {
"description": "The ID of the project to create the secret in (required)",
"type": "string"
},
"secretName": {
"description": "The name of the secret to create (required)",
"type": "string"
},
"secretPath": {
"description": "The path of the secret to create (Defaults to /)",
"type": "string"
},
"secretValue": {
"description": "The value of the secret to create",
"type": "string"
}
},
"required": [
"projectId",
"environmentSlug",
"secretName"
],
"type": "object"
}