- Have a Fastly API Key in-hand with edit privileges
- Have a service behind Fastly
- Have Fastly WAF (Legacy) enabled for your account. (WAF-NG users should use the API / Terraform provider instead)
- You will also need to grab a copy of the
config
file and place it under
~/.waflyctl.toml
where the tool defaults to.
To install the latest release in macOS:
brew install fastly/tap/waflyctl
Alternatively, to use unreleased code from the master branch:
brew install --HEAD fastly/tap/waflyctl
Install Go: https://golang.org/doc/install
Download, install, build waflyctl + dependencies:
go get -v github.com/fastly/waflyctl