Package com.oracle.bmc.auth.internal
Class DefaultRptPathProvider
- java.lang.Object
 - 
- com.oracle.bmc.auth.internal.AbstractTemplateRptPathProvider
 - 
- com.oracle.bmc.auth.internal.DefaultRptPathProvider
 
 
 
- 
- All Implemented Interfaces:
 RptPathProvider
public class DefaultRptPathProvider extends AbstractTemplateRptPathProvider
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
This path provider is used when the caller doesn't provide a specific path provider to the resource principals signer
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultRptPathProvider() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>getReplacements()- 
Methods inherited from class com.oracle.bmc.auth.internal.AbstractTemplateRptPathProvider
getPath 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getReplacements
protected Map<String,String> getReplacements()
- Specified by:
 getReplacementsin classAbstractTemplateRptPathProvider
 
 - 
 
 -