doctl databases firewalls

Go to Navigation

Usage

doctl databases firewalls [flags]

Aliases

fw

Description

The subcommands under doctl databases firewalls enable the management of firewalls for database clusters

Flags

OptionDescription
--help, -hHelp for this command
CommandDescription
doctl databasesDisplay commands that manage databases
doctl databases firewalls appendAdd a database firewall rule to a given database
doctl databases firewalls listRetrieve a list of firewall rules for a given database
doctl databases firewalls removeRemove a firewall rule for a given database
doctl databases firewalls replaceReplaces the firewall rules for a given database. The rules passed in to the --rules flag will replace the firewall rules previously assigned to the database,

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false