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
Snowflake is updating its security requirements for users. Specifically, "service account" will no longer support "password" authentication and will move to OAuth or key-pair only. It appears that the current version of the Vault provider (4.6.0) does not support key-pair rotations. The resource "vault_database_secret_backend_static_role" does not include a 'connection_type' to specify key-pair. Additionally, the "vault_database_secret_backend_connection" resource does not allow for key-pair either, which needs to be addressed. This may be a general issue with Vault. I also do not see key-pair support for the "root credentials".
In order for Vault, and Vault Terraform provider, to continue to work past 11/2025 a key-pair solution will need to be created. If I'm missing something and a solution is already available please point me in the right direction.
Description
Snowflake is updating its security requirements for users. Specifically, "service account" will no longer support "password" authentication and will move to OAuth or key-pair only. It appears that the current version of the Vault provider (4.6.0) does not support key-pair rotations. The resource "vault_database_secret_backend_static_role" does not include a 'connection_type' to specify key-pair. Additionally, the "vault_database_secret_backend_connection" resource does not allow for key-pair either, which needs to be addressed. This may be a general issue with Vault. I also do not see key-pair support for the "root credentials".
In order for Vault, and Vault Terraform provider, to continue to work past 11/2025 a key-pair solution will need to be created. If I'm missing something and a solution is already available please point me in the right direction.
https://developer.hashicorp.com/vault/docs/secrets/databases/snowflake#key-pair-credentials-1
https://www.snowflake.com/en/blog/blocking-single-factor-password-authentification/
Related: #1585
Affected Resource(s) and/or Data Source(s)
vault_database_secret_backend_static_role
vault_database_secret_backend_connection
Potential Terraform Configuration
References
https://developer.hashicorp.com/vault/docs/secrets/databases/snowflake#key-pair-credentials-1
https://www.snowflake.com/en/blog/blocking-single-factor-password-authentification/
#1585
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: