AND semantics. When both lists are configured, a connection must satisfy both rules: the client IP must be on the allowed-IP list and the connection must arrive through one of the allowed VPC endpoints.
Show Current Rules
Restrict by IP Address or CIDR
Use--ip (repeatable) to set the list of allowed IP addresses and CIDR blocks. The flag replaces the current list each time it is used.
10.0.0.0/8) is supported for ranges.
Restrict by AWS VPC Endpoint
Use--aws-vpc (repeatable) to set the list of allowed AWS VPC endpoint IDs. IDs must start with vpce-.
Combine IP and VPC Rules
You can set both lists in a single command. Connections must satisfy both constraints.--ip leaves the VPC list unchanged, and vice versa:
Clear Rules
Remove all allow rules to allow connections from any source:API
Allow rules are managed through the database configuration endpoint. Setallowed_ips and/or allowed_aws_vpc_ids in the request body: