I spent ages trying to debug this and didn't really get anywhere
So I took a different route and used the SnowflakeRESTSQL module instead and it worked first time
Hi Colin Marshall,
Please ensure that you are copying the content from the private key correctly. You can verify this by checking if the key begins with:
-----BEGIN ENCRYPTED PRIVATE KEY-----
For more details, please refer to the Snowflake documentation:
Key-pair authentication and key-pair rotation | Snowflake Documentation