Docs: update Oracle Database Secrets Engine API (#7520)

- Add missing `username` and `password` connection parameters
- Use templated root credential in example connection payload
This commit is contained in:
Brian Shumate 2019-10-15 11:13:09 -04:00 committed by Chris Hoffman
parent 5c1d0a8bf4
commit ee644eee30

View File

@ -37,15 +37,21 @@ has a number of parameters to further configure a connection.
- `max_connection_lifetime` `(string: "0s")` - Specifies the maximum amount of
time a connection may be reused. If <= 0s connections are reused forever.
- `username` `(string: "")` - The root credential username used in the connection URL.
- `password` `(string: "")` - The root credential password used in the connection URL.
### Sample Payload
```json
{
"plugin_name": "oracle-database-plugin",
"allowed_roles": "readonly",
"connection_url": "system/Oracle@localhost:1521/OraDoc.localhost",
"connection_url": "{{username}}/{{password}}@localhost:1521/OraDoc.localhost",
"max_open_connections": 5,
"max_connection_lifetime": "5s"
"max_connection_lifetime": "5s",
"username": "system",
"password": "Oracle"
}
```