scripts: Improve nomie credentials options
Added option to input nomie api key either directly as an environment variable, or to pass a command (also through env var) to nomie which it will call to get the api key. So, if you have e.g. pass as password manager running, you can just do `NOMIE_API_KEY_CMD="pass show path/to/key/file"` and it will use the returned credentials.
This commit is contained in:
parent
d71e4a19fb
commit
8fd025653a
2 changed files with 40 additions and 4 deletions
1
scripts/.config/sh/env.d/nomie-api-key.sh
Normal file
1
scripts/.config/sh/env.d/nomie-api-key.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
export NOMIE_API_KEY_CMD="pass show websites/nomie.app/apikey"
|
||||
Loading…
Add table
Add a link
Reference in a new issue