@@ -4082,9 +4082,9 @@ Centralized Configuration Providers enable you to centrally store and manage
4082
4082
the configuration information of your application in a single location on the
4083
4083
cloud . These providers allow you to separately store the configuration
4084
4084
information from the code of your application . The configuration information
4085
- that can be stored in these providers includes connect descriptors, and
4086
- database credentials such as user name and password . The database password can
4087
- be stored separately in a secure vault which is a service offered by these
4085
+ stored in these providers include connect descriptor, wallet, and database
4086
+ credential ( user name and password) details . The database password and wallet
4087
+ can be stored separately in a secure vault service offered by the cloud
4088
4088
providers . Also , you can store properties specific to node- oracledb in
4089
4089
centralized configuration providers.
4090
4090
@@ -4129,21 +4129,22 @@ include `Azure App Configuration <https://www.npmjs.com/package/@azure/app-
4129
4129
configuration>`__ and `Azure Identity <https://www.npmjs.com/package/@azure/
4130
4130
identity>`__. Optionally, you must install `Azure Key Vault <https://www.
4131
4131
npmjs.com/package/@azure/keyvault-secrets>`__ which is required only if a
4132
- password is stored in the vault. For installation instructions of these
4133
- libraries, see :ref:`azuremodules`.
4132
+ password or wallet is stored in the vault. For installation instructions of
4133
+ these libraries, see :ref:`azuremodules`.
4134
4134
4135
4135
Configuration information is stored as key-value pairs in Azure App
4136
4136
Configuration. You must add the connect descriptor as a key under a prefix
4137
4137
based on the requirements of your application. Optionally, you can add the
4138
- database user name, password, and node-oracledb specific properties as
4139
- keys. The database password can be stored securely as a secret using
4140
- `Azure Key Vault <https://learn.microsoft.com/en-us/azure/key-vault/general /
4141
- overview>`__. In Azure App Configuration, you can add the following keys under
4142
- a prefix:
4138
+ database user name, password, wallet location and node-oracledb specific
4139
+ properties as keys. The database password and wallet can be stored securely as
4140
+ a secret using `Azure Key Vault <https://learn.microsoft.com/en-us/azure/
4141
+ key-vault/general/ overview>`__. In Azure App Configuration, you can add the
4142
+ following keys under a prefix:
4143
4143
4144
4144
- <prefix>connect_descriptor (required)
4145
4145
- <prefix>user (optional)
4146
4146
- <prefix>password (optional)
4147
+ - <prefix>wallet_location (optional) - only node-oracledb Thin mode
4147
4148
- <prefix>node-oracledb (optional)
4148
4149
4149
4150
The key ending with:
@@ -4153,6 +4154,9 @@ The key ending with:
4153
4154
- ``user`` stores the database user name as the value.
4154
4155
- ``password`` stores the reference to the Azure Key Vault and Secret as
4155
4156
the value.
4157
+ - ``wallet_location`` stores the reference to the Azure Key Vault and Secret
4158
+ that contains the wallet as the value. This can only be used in
4159
+ node-oracledb Thin mode.
4156
4160
- ``node-oracledb`` stores the values of the node-oracledb specific
4157
4161
properties. The properties that can be stored in Azure App Configuration
4158
4162
include ``poolMin``, ``poolMax``, ``poolIncrement``, ``poolTimeout``,
@@ -4286,6 +4290,8 @@ are defined under the same prefix ``test/`` as an example.
4286
4290
- scott
4287
4291
* - test/password
4288
4292
- {"uri":"https://mykeyvault.vault.azure.net/secrets/passwordsalescrm"}
4293
+ * - test/wallet_location
4294
+ - {"uri":"https://mykeyvault.vault.azure.net/secrets/walletsalescrm"}
4289
4295
* - test/node-oracledb
4290
4296
- {"stmtCacheSize":30, "prefetchRows":2, "poolMin":2, "poolMax":10}
4291
4297
@@ -4331,6 +4337,10 @@ configuration information in this
4331
4337
- "scott"
4332
4338
* - ``password``
4333
4339
- "manager" (value of secret in URI - for demo purposes)
4340
+ * - ``walletContent``
4341
+ - <PEM wallet content> (value of secret in URI - for demo purposes)
4342
+
4343
+ This value can only be used in node-oracledb Thin mode.
4334
4344
* - ``stmtCacheSize``
4335
4345
- 30
4336
4346
* - ``prefetchRows``
@@ -4379,6 +4389,10 @@ sample configuration information in this
4379
4389
- "scott"
4380
4390
* - ``password``
4381
4391
- "manager" (value of secret in URI - for demo purposes)
4392
+ * - ``walletContent``
4393
+ - <PEM wallet content> (value of secret in URI - for demo purposes)
4394
+
4395
+ This value can only be used in node-oracledb Thin mode.
4382
4396
* - ``stmtCacheSize``
4383
4397
- 30
4384
4398
* - ``prefetchRows``
@@ -4397,6 +4411,9 @@ application will have the higher precedence.
4397
4411
If you are using Thin mode and have defined the node-oracledb specific
4398
4412
properties in both the application and in Azure App Configuration, then the
4399
4413
values defined in the configuration provider will have the higher precedence.
4414
+ If you have defined the ``walletContent`` property in the application and the
4415
+ ``wallet_location`` key in Azure App Configuration, then the value defined in
4416
+ the configuration provider will have the higher precedence.
4400
4417
4401
4418
If you are using Thick mode and have defined the node-oracledb properties in
4402
4419
an ``oraaccess.xml`` file, Azure App Configuration, and the application, then
@@ -4444,15 +4461,16 @@ instructions of these libraries, see :ref:`ocimodules`.
4444
4461
4445
4462
Configuration information is stored as a JSON file in OCI Object Storage . You
4446
4463
must add the connect descriptor in the JSON file . Optionally , you can add the
4447
- database user name, password, and node- oracledb specific properties in the
4448
- JSON file . The database password can also be stored securely as a secret using
4449
- ` OCI Vault <https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Tasks /
4450
- managingsecrets.htm>` __ . In OCI Object Storage , you can add the following
4451
- sub- objects in the JSON file:
4464
+ database user name, password, wallet location, and node- oracledb specific
4465
+ properties in the JSON file . The database password and wallet can also be
4466
+ stored securely as a secret using ` OCI Vault <https://docs.oracle.com/en-us/
4467
+ iaas/Content/KeyManagement/Tasks/ managingsecrets.htm>` __ . In OCI Object
4468
+ Storage , you can add the following sub- objects in the JSON file:
4452
4469
4453
4470
- connect_descriptor (required)
4454
4471
- user (optional)
4455
4472
- password (optional)
4473
+ - wallet_location (optional) - only node- oracledb Thin mode
4456
4474
- node- oracledb (optional)
4457
4475
4458
4476
Each sub- object is detailed below:
@@ -4462,6 +4480,9 @@ Each sub-object is detailed below:
4462
4480
- ` ` user` ` is used to specify the database user name as the value.
4463
4481
- ` ` password` ` is used to specify the reference to OCI Vault and secret as
4464
4482
the value.
4483
+ - ` ` wallet_location` ` is used to specify the reference to the OCI Vault and
4484
+ secret that contains the wallet as the value . This can only be used in
4485
+ node- oracledb Thin mode.
4465
4486
- ` ` node- oracledb` ` is used to specify the values of the node- oracledb specific
4466
4487
properties . The properties that can be stored in OCI Object Storage include
4467
4488
` ` poolMin` ` , ` ` poolMax` ` , ` ` poolIncrement` ` , ` ` poolTimeout` ` ,
@@ -4582,12 +4603,16 @@ file which is stored in OCI Object Storage::
4582
4603
" user" : " scott" ,
4583
4604
" password" : {
4584
4605
" type" : " ocivault" ,
4585
- " value" : " ocid1.vaultsecret.my-secret-id" ,
4606
+ " value" : " ocid1.vaultsecret.my-secret-id"
4607
+ },
4608
+ " wallet_location" : {
4609
+ " type" : " ocivault" ,
4610
+ " value" : " ocid1.vaultwallet.my-wallet-id"
4586
4611
},
4587
4612
" node-oracledb" : {
4588
4613
" stmtCacheSize" : 30 ,
4589
- " prefetchRows" : 2
4590
- " poolMin" : 2
4614
+ " prefetchRows" : 2 ,
4615
+ " poolMin" : 2 ,
4591
4616
" poolMax" : 10
4592
4617
}
4593
4618
}
@@ -4633,6 +4658,10 @@ connection properties will be the values that were defined in the
4633
4658
- " scott"
4634
4659
* - ` ` password` `
4635
4660
- " manager" (value of secret in URI - for demo purposes)
4661
+ * - ` ` walletContent` `
4662
+ - < PEM wallet content> (value of secret in URI - for demo purposes)
4663
+
4664
+ This value can only be used in node- oracledb Thin mode.
4636
4665
* - ` ` stmtCacheSize` `
4637
4666
- 30
4638
4667
* - ` ` prefetchRows` `
@@ -4680,6 +4709,10 @@ connection properties will be the values that were defined in the
4680
4709
- " scott"
4681
4710
* - ` ` password` `
4682
4711
- " manager" (value of secret in URI - for demo purposes)
4712
+ * - ` ` walletContent` `
4713
+ - < PEM wallet content> (value of secret in URI - for demo purposes)
4714
+
4715
+ This value can only be used in node- oracledb Thin mode.
4683
4716
* - ` ` stmtCacheSize` `
4684
4717
- 30
4685
4718
* - ` ` prefetchRows` `
@@ -4689,7 +4722,6 @@ connection properties will be the values that were defined in the
4689
4722
* - ` ` poolMax` `
4690
4723
- 10
4691
4724
4692
-
4693
4725
** Precedence of Properties**
4694
4726
4695
4727
If you have defined the values of ` ` user` ` and ` ` password` ` in both the
@@ -4698,7 +4730,10 @@ will have the higher precedence.
4698
4730
4699
4731
If you are using Thin mode and have defined the node- oracledb specific
4700
4732
properties in both the application and in OCI Object Storage , then the values
4701
- defined in the configuration provider will have the higher precedence.
4733
+ defined in the configuration provider will have the higher precedence . If you
4734
+ have defined the ` ` walletContent` ` property in the application and the
4735
+ ` ` wallet_location` ` key in Azure App Configuration, then the value defined in
4736
+ the configuration provider will have the higher precedence.
4702
4737
4703
4738
If you are using Thick mode and have defined these node- oracledb properties in
4704
4739
an ` ` oraaccess .xml ` ` file, OCI Object Storage , and the application, then the order
0 commit comments