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 have my private age key stored in 1password (but it could also live somewhere else). Now, I want to set the sops.age_key or MISE_SOPS_AGE_KEY dynamically like so:
# mise.toml
[env]
# second thing I triedMISE_SOPS_AGE_KEY = "{{ exec(command='op read op://Employee/mise-demo/age_key', cache_key='age_key', cache_duration = '10s') }}"_.file = ".env.yaml"
[tools]
age = "latest"sops = "latest"
[settings]
# first thing I triedsops.age_key = "{{ exec(command='op read op://Employee/mise-demo/age_key', cache_key='age_key', cache_duration = '10s') }}"experimental = true
It seems that tera templates are not evaluated for sops settings? (Recursively) setting MISE_SOPS_AGE_KEY within mise's own env seems to come too late, though.
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
-
I have my private age key stored in 1password (but it could also live somewhere else). Now, I want to set the
sops.age_key
orMISE_SOPS_AGE_KEY
dynamically like so:It seems that tera templates are not evaluated for
sops
settings? (Recursively) settingMISE_SOPS_AGE_KEY
within mise's own env seems to come too late, though.Beta Was this translation helpful? Give feedback.
All reactions