Skip to main content
Set the access allow rules for a database. Each flag replaces the corresponding list; a list whose flag is not provided is left unchanged.
At least one of --ip or --aws-vpc must be provided. To remove restrictions use turso db config allow-rules clear.

Flags

Examples

Allow a single IP

Allow a CIDR range

Allow multiple IPs

Restrict to an AWS VPC endpoint

Combine IP and VPC rules

When both lists are set, connections must satisfy both constraints.