chore(snowflake): add user management commands

This commit is contained in:
Michele Cereda
2025-06-06 22:37:54 +02:00
parent df227b962d
commit 13f7828df2

View File

@@ -92,6 +92,7 @@ snow sql
```sql
SHOW USERS;
SHOW USERS LIKE '%john%';
DESC USER zoe;
CREATE USER alice;
CREATE USER IF NOT EXISTS bob;
@@ -102,7 +103,8 @@ CREATE OR REPLACE USER claude
GRANT ROLE someRole TO USER diane;
ALTER USER IF EXISTS elijah RESET PASSWORD;
ALTER USER IF EXISTS fred SET DISABLE_MFA=TRUE;
ALTER USER fred SET DISABLE_MFA=TRUE;
ALTER USER greg SET MINS_TO_UNLOCK=0;
```
</details>