2

We are using snowflake database and we have created multi-tenant tables. We have created user-name and password for each tenant. These user-name and password are used in applications that use AWS quicksight and microsoft power bi tool. These user-names and password are NOT directly accessible by tenant, instead only our own application teams have access to them. We cant use key pair authentication as quicksight does not support it yet.

Question: Looking for a pattern on how to rotate these password without downtime, we want to rotate this password on a fixed schedule, like every 6 months.

Felipe Hoffa
  • 54,922
  • 16
  • 151
  • 325
user3822232
  • 141
  • 1
  • 8

2 Answers2

1

We decide to go with 2 user strategy and alternate between the 2. We manage these users ourselves.

user3822232
  • 141
  • 1
  • 8
0

Consider the "Snowflake Database Secrets Engine" by Hashicorp Vault:

"This plugin generates database credentials dynamically based on configured roles for Snowflake-hosted databases and supports Static Roles"

For example, you can configure it to rotate passwords every 24 hours, and it gives you an endpoint to retrieve the latest password.

Felipe Hoffa
  • 54,922
  • 16
  • 151
  • 325