From ee644eee307cf211b261c8a54ffefc59d67887c0 Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Tue, 15 Oct 2019 11:13:09 -0400 Subject: [PATCH] Docs: update Oracle Database Secrets Engine API (#7520) - Add missing `username` and `password` connection parameters - Use templated root credential in example connection payload --- website/source/api/secret/databases/oracle.html.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/website/source/api/secret/databases/oracle.html.md b/website/source/api/secret/databases/oracle.html.md index 811029b183..00c1f847db 100644 --- a/website/source/api/secret/databases/oracle.html.md +++ b/website/source/api/secret/databases/oracle.html.md @@ -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" } ```