mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 06:01:08 +01:00
Update Snowflake docs (#10691)
* Update Snowflake docs Snowflake docs had an issue, `DEFAULT ROLE` should be `DEFAULT_ROLE` * Update docs to show an actual username
This commit is contained in:
parent
438e6abdb3
commit
d4b295baf7
@ -76,8 +76,8 @@ the root credentials and still be able to access your account should something g
|
||||
```text
|
||||
$ vault write database/roles/my-role \
|
||||
db_name=my-snowflake-database \
|
||||
creation_statements="CREATE USER {{name}} PASSWORD = '{{password}}' DEFAULT ROLE = my_role'; \
|
||||
GRANT my_role TO USER {{name}};" \
|
||||
creation_statements="CREATE USER {{name}} PASSWORD = '{{password}}' DAYS_TO_EXPIRY = {{expiration}} DEFAULT_ROLE=myrole;
|
||||
GRANT ROLE myrole TO USER {{name}};" \
|
||||
default_ttl="1h" \
|
||||
max_ttl="24h"
|
||||
Success! Data written to: database/roles/my-role
|
||||
@ -99,7 +99,7 @@ the proper permission, it can generate credentials.
|
||||
lease_duration 1h
|
||||
lease_renewable true
|
||||
password SsnoaA-8Tv4t34f41baD
|
||||
username v-vaultuse-my-role-x
|
||||
username v_root_my_role_fU0jqEy4wMNoAY2h60yd_1610561532
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user