mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 04:16:31 +02:00
Few docs updates
This commit is contained in:
parent
3f7ea0d4ea
commit
c48b7fa8db
@ -40,7 +40,7 @@ $ vault write database/roles/readonly \
|
||||
db_name=mssql \
|
||||
creation_statements="CREATE LOGIN [{{name}}] WITH PASSWORD = '{{password}}';\
|
||||
CREATE USER [{{name}}] FOR LOGIN [{{name}}];\
|
||||
GRANT SELECT, INSERT, UPDATE, DELETE ON SCHEMA::dbo TO [{{name}}];" \
|
||||
GRANT SELECT ON SCHEMA::dbo TO [{{name}}];" \
|
||||
default_ttl="1h" \
|
||||
max_ttl="24h"
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ configuration:
|
||||
$ vault write database/config/postgresql \
|
||||
plugin_name=postgresql-database-plugin \
|
||||
allowed_roles="readonly" \
|
||||
connection_url="postgresql://root:root@localhost:5432/postgres"
|
||||
connection_url="postgresql://root:root@localhost:5432/"
|
||||
|
||||
The following warnings were returned from the Vault server:
|
||||
* Read access to this endpoint should be controlled via ACLs as it will return the connection details as is, including passwords, if any.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user