Package oracle.nosql.driver.iam
Class RptPathProvider.DefaultLeafRptPathProvider
java.lang.Object
oracle.nosql.driver.iam.RptPathProvider
oracle.nosql.driver.iam.RptPathProvider.DefaultLeafRptPathProvider
- Enclosing class:
- RptPathProvider
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_FOR_LEAF_RESOURCE 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_FOR_LEAF_RESOURCE 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
-
Nested Class Summary
Nested classes/interfaces inherited from class oracle.nosql.driver.iam.RptPathProvider
RptPathProvider.DefaultLeafRptPathProvider, RptPathProvider.DefaultRptPathProvider -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class oracle.nosql.driver.iam.RptPathProvider
buildEnvironmentRptPathProviderReplacements, buildImdsRptPathProviderReplacements, getPath
-
Constructor Details
-
DefaultLeafRptPathProvider
public DefaultLeafRptPathProvider()
-