mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(snowflake): add user management commands
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user