Skip to content

Commit

Permalink
make secret-related config names consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Nov 14, 2024
1 parent 8514e57 commit 471a53a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Here's the complete table based on the provided Go code:
| `-bsky-server-url` | `BSKY_SERVER_URL` | "https://bsky.network" | The Bluesky PDS server to send API requests to URL. |
| `-watch-word` | `WATCH_WORD` | "tailscale" | The word to watch out for; may support multiple words in the future. |
| `-secrets-url` | `SECRETS_URL` | none | The address of a [setec][setec] server to fetch secrets from (optional) |
| `-secret-prefix` | `SECRET_PREFIX` | "" | A prefix to prepend to secret names fetched from setec (optional) |
| `-secrets-prefix` | `SECRETS_PREFIX` | "" | A prefix to prepend to secret names fetched from setec (optional) |

[jetstream]: https://github.com/bluesky-social/jetstream
[setec]: https://github.com/tailscale/setec
2 changes: 1 addition & 1 deletion cmd/bsky-webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var (

secretsURL = flag.String("secrets-url", envOr("SECRETS_URL", ""),
"the URL of a secrets server (if empty, no server is used)")
secretPrefix = flag.String("secrets-prefix", envOr("SECRET_PREFIX", ""),
secretPrefix = flag.String("secrets-prefix", envOr("SECRETS_PREFIX", ""),
"the prefix to prepend to secret names fetched from --secrets-url")
)

Expand Down

0 comments on commit 471a53a

Please sign in to comment.