Replies: 1 comment 1 reply
-
|
Thanks for the report! I've been investigating this and I'm unable to reproduce the issue. My testing shows that # Create directory with only fnox.local.toml
mkdir test && cd test
cat > fnox.local.toml << 'EOF'
[providers.plain]
type = "plain"
[secrets.MY_SECRET]
provider = "plain"
value = "my-secret-value"
EOF
# All of these work:
fnox get MY_SECRET # Returns "my-secret-value"
fnox exec -- env | grep MY # Shows MY_SECRET=my-secret-value
fnox hook-env -s bash # Outputs export statements correctlyCould you help me understand your setup better?
This information will help me understand if there's an edge case I'm missing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using fnox in a project that otherwise does not need it for development.
So I have created a
fnox.local.tomlfile and added it to.gitignore.fnox.tomlalongside it, fnox does not load secrets into the shell environment automatically. It works fine if I runfnox exec -- ...fnox.tomlfile, secrets are loaded into the shell environment.Is this expected behaviour?
Beta Was this translation helpful? Give feedback.
All reactions