Few docs updates
This commit is contained in:
parent
c0ce0ae499
commit
16e6f9640d
|
@ -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…
Reference in New Issue