For the path, Use the contents of the OCI_RESOURCE_PRINCIPAL_RPT_PATH environment variable, if set. Otherwise, use the current path: "/20180711/resourcePrincipalToken/{id}"
For the resource id, Use the contents of the OCI_RESOURCE_PRINCIPAL_RPT_ID environment variable, if set. Otherwise, use IMDS to get the instance id
This path provider is used when the caller doesn't provide a specific path provider to the resource principals signer
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Map | |
| private static String | |
| protected Map | getReplacements()
Implements abstract com.
|
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides com. | |
| replacements | back to summary |
|---|---|
| private final Map<String, String> replacements | |
| DefaultRptPathProvider | back to summary |
|---|---|
| public DefaultRptPathProvider() | |
| buildReplacements | back to summary |
|---|---|
| private Map | |
| getPathTemplate | back to summary |
|---|---|
| private static String getPathTemplate() | |
| getReplacements | back to summary |
|---|---|
| protected Map Implements abstract com.
| |