update-secret
Modify secret details in Infisical, including name, value, or path, for a specific project and environment.
Instructions
Update a secret in Infisical
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentSlug | Yes | The slug of the environment to update the secret in (required) | |
| newSecretName | No | The new name of the secret to update (Optional) | |
| projectId | Yes | The ID of the project to update the secret in (required) | |
| secretName | Yes | The current name of the secret to update (required) | |
| secretPath | No | The path of the secret to update (Defaults to /) | |
| secretValue | No | The new value of the secret to update (Optional) |
Input Schema (JSON Schema)
{
"properties": {
"environmentSlug": {
"description": "The slug of the environment to update the secret in (required)",
"type": "string"
},
"newSecretName": {
"description": "The new name of the secret to update (Optional)",
"type": "string"
},
"projectId": {
"description": "The ID of the project to update the secret in (required)",
"type": "string"
},
"secretName": {
"description": "The current name of the secret to update (required)",
"type": "string"
},
"secretPath": {
"description": "The path of the secret to update (Defaults to /)",
"type": "string"
},
"secretValue": {
"description": "The new value of the secret to update (Optional)",
"type": "string"
}
},
"required": [
"projectId",
"environmentSlug",
"secretName"
],
"type": "object"
}