You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: ojdbc-provider-aws/src/main/java/oracle/jdbc/provider/aws/configuration/AwsJsonSecretsManagerProvider.java
+21
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,27 @@
12
12
13
13
publicclassAwsJsonSecretsManagerProvider
14
14
implementsOracleConfigurationJsonSecretProvider {
15
+
/**
16
+
* {@inheritDoc}
17
+
* <p>
18
+
* Returns the password of the Secret that is retrieved from AWS Secrets
19
+
* Manager secret.
20
+
* </p>
21
+
* <p>
22
+
* The {@code jsonObject} has the following form:
23
+
* </p>
24
+
*
25
+
* <pre>{@code
26
+
* "password": {
27
+
* "type": "awssecretsmanager",
28
+
* "value": "<secret-name>"
29
+
* }
30
+
* }</pre>
31
+
*
32
+
* @param jsonObject json object to be parsed
33
+
* @return encoded char array in base64 format that represents the retrieved
Copy file name to clipboardexpand all lines: ojdbc-provider-aws/src/main/java/oracle/jdbc/provider/aws/configuration/AwsSecretsManagerConfigurationProvider.java
+16-2
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,11 @@
10
10
importjava.util.HashMap;
11
11
importjava.util.Map;
12
12
13
+
/**
14
+
* A provider for JSON payload which contains configuration from AWS Secrets
15
+
* Manager.
16
+
* See {@link #getJson(String)} for the spec of the JSON payload.
0 commit comments