env_rotate_secrets
Rotate secrets in your .env file by generating new random values for specified variables. Define variable names and optional length to update credentials securely.
Instructions
Generate new random values for secrets in .env file (Pro feature)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"variables": "<variables>"
},
"name": "env_rotate_secrets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Length of generated secrets | |
| api_key | No | ||
| env_path | No | .env | |
| variables | Yes | List of variable names to rotate |