Skip to content

Commit

Permalink
Added Note to set token via environment variable (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritin0204 authored Aug 7, 2024
1 parent de216a9 commit 9bb3094
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/ipstack.spc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ connection "ipstack" {
# ipstack requires an API token for all requests, but offers a free tier.
# Sign up on the ipstack website(https://ipstack.com) to get your free
# token (it looks like `e0067f483763d6132d549234f8a6de22`) and set it:
# This can also be set via 'IPSTACK_TOKEN' environment variable
#token = "YOUR_TOKEN_HERE"

# ipstack restricts HTTPS requests to subscribers. This plugin uses HTTP by
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,5 @@ connection "ipstack" {
}
```


Environment variables are also available as an alternate configuration method:
* `IPSTACK_TOKEN`

0 comments on commit 9bb3094

Please sign in to comment.