update-secret
Update an existing secret's value or name in a specified project and environment, optionally selecting its secret path.
Instructions
Update a secret in Infisical
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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) | |
| newSecretName | No | The new name of the secret to update (Optional) | |
| environmentSlug | Yes | The slug of the environment to update the secret in (required) |