Package oracle.nosql.driver.iam
Class RptPathProvider
java.lang.Object
oracle.nosql.driver.iam.RptPathProvider
- Direct Known Subclasses:
RptPathProvider.DefaultLeafRptPathProvider,RptPathProvider.DefaultRptPathProvider
This path provider makes sure the behavior happens with the correct fallback.
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis path provider makes sure the behavior happens with the correct fallback.static classThis path provider makes sure the behavior happens with the correct fallback. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RptPathProvider
-
-
Method Details
-
getPath
-
buildEnvironmentRptPathProviderReplacements
-
buildImdsRptPathProviderReplacements
-