Unable to obtain connection from database, Private key provided is invalid or not supported
malyalamv
Posts: 1 New member
I am using the flyway/flway:latest image
i am not able to connect to snowflake using the private key, below is the FLYWAY_URL used
jdbc:snowflake://***.snowflakecomputing.com/?warehouse=***&db=***&schema=***&role=***&user=***&authenticator=snowflake_jwt&private_key_file=./id_rsa/snowflake_rsa_key.p8&private_key_file_pwd=***
Is there a sample docker run command using the private key connection that can be shared ?
i am not able to connect to snowflake using the private key, below is the FLYWAY_URL used
jdbc:snowflake://***.snowflakecomputing.com/?warehouse=***&db=***&schema=***&role=***&user=***&authenticator=snowflake_jwt&private_key_file=./id_rsa/snowflake_rsa_key.p8&private_key_file_pwd=***
Is there a sample docker run command using the private key connection that can be shared ?
Tagged:
Answers
If you are still having problems then could you post the log output (ideally using the -X option on the flyway call)
Thank you for providing that information. It is great!