Skip to content

Commit 9bb3094

Browse files
authored
Added Note to set token via environment variable (#64)
1 parent de216a9 commit 9bb3094

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/ipstack.spc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ connection "ipstack" {
44
# ipstack requires an API token for all requests, but offers a free tier.
55
# Sign up on the ipstack website(https://ipstack.com) to get your free
66
# token (it looks like `e0067f483763d6132d549234f8a6de22`) and set it:
7+
# This can also be set via 'IPSTACK_TOKEN' environment variable
78
#token = "YOUR_TOKEN_HERE"
89

910
# ipstack restricts HTTPS requests to subscribers. This plugin uses HTTP by

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,5 @@ connection "ipstack" {
8080
}
8181
```
8282

83-
83+
Environment variables are also available as an alternate configuration method:
84+
* `IPSTACK_TOKEN`

0 commit comments

Comments
 (0)