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
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.
Relevant log output
No response
op CLI version
2.30.0
The text was updated successfully, but these errors were encountered:
Platform or tool
Snowflake
Desired or expected behavior
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 passwordCurrent behavior
It doesn't seem to be picking up environment variables... I have the following in
.zshrc
export SNOWSQL_PRIVATE_KEY_PASSPHRASE=op://VAULT/private_key_password
andsnowsql
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.Relevant log output
No response
op CLI version
2.30.0
The text was updated successfully, but these errors were encountered: