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
{{ message }}
Repository navigation
op plugin run -- snowsql doesn't propagate env variables #486
When running op plugin run -- snowsql --private-key-path ~/PATH/rsa_key.p8 --generate-jwt it should pick up exported variables from .zshrc. It looks for $SNOWSQL_PRIVATE_KEY_PASSPHRASE for the private key decryption password
Current behavior
It doesn't seem to be picking up environment variables... I have the following in .zshrcexport SNOWSQL_PRIVATE_KEY_PASSPHRASE=op://VAULT/private_key_password and snowsql throws that the decrypt failed due to wrong password.
If I run op run -- snowsql -a ACCOUNT -u USER --private-key-path ~/PATH/rsa_key.p8 --generate-jwt, then it picks up the env variable just fine, but then I don't benefit from the plugin logging me in.
Activity