跳至正文內容
TursoDB.cn 獨立社群 · MVCC 並行寫入與每 Agent 獨立庫實戰 閱讀解析 →
Turso Cloud 命令列工具 指令列表 db config allow-rules

db config allow-rules clear

db config allow-rules clear — Turso 文件。

清除資料庫的存取允許規則,允許來自任何來源的連線。

turso db config allow-rules clear <database-name> [flags]

在未指定任何旗標的情況下,IP 清單與 AWS VPC 端點清單都會被清除。使用 --ips 或 --aws-vpcs 可僅清除其中一份清單。

旗標

旗標 說明
--ips 僅清除允許的 IP 清單。
--aws-vpcs 僅清除允許的 AWS VPC 端點 ID 清單。

範例

清除所有規則

turso db config allow-rules clear my-db

僅清除 IP 清單

turso db config allow-rules clear my-db --ips

僅清除 VPC 清單

turso db config allow-rules clear my-db --aws-vpcs
同步自官方 Turso 文件倉庫 ( tursodatabase/turso-docs · MIT 開源授權) 檢視官方原文 ↗
搜尋
按 Esc 關閉 · 由 Pagefind 靜態索引驅動