Skip to content

Commit 1d555a1

Browse files
author
sudarshan soma
committed
- Add bash prefix for extracting the pem content
1 parent 4b924a6 commit 1d555a1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/integrations/builtin/credentials/oracledb.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To set up your database connection credential:
5959
1. Enter your database's username as the **User** in your n8n credential. Run this query to confirm the username:
6060

6161
```
62-
SELECT SYS_CONTEXT('USERENV', 'SESSION_USER') AS session_user FROM dual;
62+
SELECT SYS_CONTEXT('USERENV', 'SESSION_USER') AS session_user FROM dual;
6363
```
6464
6565
2. Enter your database's connection string as the **Connection String** in your n8n credential. Run this query to confirm the database name:
@@ -69,6 +69,14 @@ To set up your database connection credential:
6969
```
7070
7171
3. If your database uses SSL and you'd like to use **SSL** for the connection, turn this option on in the credential. If you turn it on, enter the information of your OracleDB SSL certificate in these fields:
72-
1. Enter the output of PEM-encoded wallet file, **ewallet.pem** contents after retaining the new lines. The command `node -e "console.log('{{\"' + require('fs').readFileSync('ewallet.pem', 'utf8').split('\n').join('\\\\n') + '\"}}')"` can be used to dump file contents in the **Wallet Content** field.
72+
1. Enter the output of PEM-encoded wallet file, **ewallet.pem** contents after retaining the new lines. The command
73+
74+
75+
76+
```bash
77+
node -e "console.log('{{\"' + require('fs').readFileSync('ewallet.pem', 'utf8').split('\n').join('\\\\n') + '\"}}')"
78+
```
79+
80+
can be used to dump file contents in the **Wallet Content** field.
7381
7482
Refer to [Node OracleDB ](https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#mutual-tls-connections-to-oracle-cloud-autonomous-database) for more information on working with TLS connections.

0 commit comments

Comments
 (0)