You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've prepared a change to add support for environment variables values resolved using a shell command.
Within and environment block, the variable can be defined using a literal or with a shell_command key which contains the command used to generate the value e.g.:
environment:
FOO:
shell_command: "echo VALUE_FOR_FOO"
BAR: "literal_values_work_the_old_way"
This is useful when injecting API keys from a password manager:
environment:
MYAPI_KEY:
shell_command: "pass show MYAPI_KEY"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've prepared a change to add support for environment variables values resolved using a shell command.
Within and environment block, the variable can be defined using a literal or with a
shell_commandkey which contains the command used to generate the value e.g.:This is useful when injecting API keys from a password manager:
I've already prepared a branch with a change: https://github.com/dagon666/tmuxp/tree/feat/env-cmd
Beta Was this translation helpful? Give feedback.
All reactions