From c378bca98af2125004d59f869604646f68400342 Mon Sep 17 00:00:00 2001 From: hc-github-team-secure-vault-core <82990506+hc-github-team-secure-vault-core@users.noreply.github.com> Date: Fri, 31 Mar 2023 15:03:32 -0400 Subject: [PATCH] backport of commit 547c624e5181936862c26048b87c2d7de365c7a3 (#19883) Co-authored-by: Anthony Burke --- website/content/docs/secrets/databases/oracle.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/content/docs/secrets/databases/oracle.mdx b/website/content/docs/secrets/databases/oracle.mdx index 1baf3f58f380..466b506f7966 100644 --- a/website/content/docs/secrets/databases/oracle.mdx +++ b/website/content/docs/secrets/databases/oracle.mdx @@ -114,7 +114,7 @@ plugin will require additional configuration using the `connection_url` paramete ```shell vault write database/config/oracle \ plugin_name=vault-plugin-database-oracle \ - connection_url='{{ username }}/{{ password }}@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=)(PORT=))(CONNECT_DATA=(SERVICE_NAME=))(SECURITY=(SSL_SERVER_CERT_DN="")(MY_WALLET_DIRECTORY=)))' \ + connection_url='{{username}}/{{password}}@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=)(PORT=))(CONNECT_DATA=(SERVICE_NAME=))(SECURITY=(SSL_SERVER_CERT_DN="")(MY_WALLET_DIRECTORY=)))' \ allowed_roles="my-role" \ username="admin" \ password="password" @@ -126,7 +126,7 @@ to use for connection and verification could be configured using: ```shell vault write database/config/oracle \ plugin_name=vault-plugin-database-oracle \ - connection_url='{{ username }}/{{ password }}@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=hashicorp.com)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ORCL))(SECURITY=(SSL_SERVER_CERT_DN="CN=hashicorp.com,OU=TestCA,O=HashiCorp=com")(MY_WALLET_DIRECTORY=/etc/oracle/wallets)))' \ + connection_url='{{username}}/{{password}}@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=hashicorp.com)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ORCL))(SECURITY=(SSL_SERVER_CERT_DN="CN=hashicorp.com,OU=TestCA,O=HashiCorp=com")(MY_WALLET_DIRECTORY=/etc/oracle/wallets)))' \ allowed_roles="my-role" \ username="admin" \ password="password" @@ -197,14 +197,14 @@ Finally, use the alias in the `connection_url` parameter on the database configu ``` vault write database/config/oracle-east \ plugin_name=vault-plugin-database-oracle \ - connection_url="{{ username }}/{{ password }}@AWSEAST" \ + connection_url="{{username}}/{{password}}@AWSEAST" \ allowed_roles="my-role" \ username="VAULT_SUPER_USER" \ password="myreallysecurepassword" vault write database/config/oracle-west \ plugin_name=vault-plugin-database-oracle \ - connection_url="{{ username }}/{{ password }}@AWSWEST" \ + connection_url="{{username}}/{{password}}@AWSWEST" \ allowed_roles="my-role" \ username="VAULT_SUPER_USER" \ password="myreallysecurepassword"