Package com.oracle.bmc.auth.internal
Class EnvironmentRptPathProvider
- java.lang.Object
-
- com.oracle.bmc.auth.internal.AbstractTemplateRptPathProvider
-
- com.oracle.bmc.auth.internal.EnvironmentRptPathProvider
-
- All Implemented Interfaces:
RptPathProvider
- Direct Known Subclasses:
EnvironmentRptPathProvider.LeafResourceRptPathProvider
public class EnvironmentRptPathProvider extends AbstractTemplateRptPathProvider
This path provider reads the path and resource id from environment variablesUse the contents of the OCI_RESOURCE_PRINCIPAL_RPT_PATH environment variable for the path and OCI_RESOURCE_PRINCIPAL_RPT_ID environment variable for the resource id,.
This path provider is used when the caller provides EnvironmentRptPathProvider as a path provider to the resource principals signer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnvironmentRptPathProvider.LeafResourceRptPathProvider
This path provider reads the path and resource id for leaf resource from environment variables
-
Constructor Summary
Constructors Modifier Constructor Description EnvironmentRptPathProvider()
protected
EnvironmentRptPathProvider(String pathTemplate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static Map<String,String>
buildReplacements()
protected static String
getPathTemplate()
protected Map<String,String>
getReplacements()
protected static String
getRptId()
-
Methods inherited from class com.oracle.bmc.auth.internal.AbstractTemplateRptPathProvider
getPath
-
-
-
-
Constructor Detail
-
EnvironmentRptPathProvider
protected EnvironmentRptPathProvider(String pathTemplate)
-
EnvironmentRptPathProvider
public EnvironmentRptPathProvider()
-
-
Method Detail
-
getReplacements
protected Map<String,String> getReplacements()
- Specified by:
getReplacements
in classAbstractTemplateRptPathProvider
-
getPathTemplate
protected static String getPathTemplate()
-
getRptId
protected static String getRptId()
-
-