hamravesh_set_basic_auth
Set Basic Auth ingress protection on Darkube apps. Provide username and password; leave empty to remove protection. Use dry_run for preview.
Instructions
تنظیمِ Basic Auth روی ingressِ یک اپ دارکوب (محافظت با یوزر/پسورد). برای حذفِ محافظت، username/password را خالی بگذار. (روشِ امن: GET اپ → ادغام → PUT.) (غیرفعال — برای فعالسازی HAMRAVESH_ALLOW_WRITE=1) [پیشنمایش: dry_run:true یا env HAMRAVESH_DRY_RUN=1]
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": {
"app_id": "<app_id>"
},
"name": "hamravesh_set_basic_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| username | No | ||
| password | No | ||
| org | No |