Class OciConfigInstancePrincipal
- java.lang.Object
-
- io.helidon.integrations.oci.connect.OciConfigInstancePrincipal
-
- All Implemented Interfaces:
OciConfigProvider
@Deprecated(since="2.5.0", forRemoval=true) public class OciConfigInstancePrincipal extends Object implements OciConfigProvider
Deprecated, for removal: This API element is subject to removal in a future version.OCI SDK insteadOCI connectivity configuration based on instance principal. This is used when running within OCI VMs.Configuration: OCI Instance Security
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OciConfigInstancePrincipal.Builder
Deprecated, for removal: This API element is subject to removal in a future version.Fluent API builder forOciConfigInstancePrincipal
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OciConfigInstancePrincipal.Builder
builder()
Deprecated, for removal: This API element is subject to removal in a future version.Fluent API builder to create customized instances.static OciConfigInstancePrincipal
create()
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance from environment.Single<OciSignatureData>
refresh()
Deprecated, for removal: This API element is subject to removal in a future version.Refresh may be used for providers that can be reloaded.String
region()
Deprecated, for removal: This API element is subject to removal in a future version.Current OCI region.OciSignatureData
signatureData()
Deprecated, for removal: This API element is subject to removal in a future version.Get the current signature data.String
tenancyOcid()
Deprecated, for removal: This API element is subject to removal in a future version.OCID of the tenancy.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.helidon.integrations.oci.connect.OciConfigProvider
domain
-
-
-
-
Method Detail
-
builder
public static OciConfigInstancePrincipal.Builder builder()
Deprecated, for removal: This API element is subject to removal in a future version.Fluent API builder to create customized instances.- Returns:
- a new builder
-
create
public static OciConfigInstancePrincipal create()
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance from environment.- Returns:
- a new instance
-
signatureData
public OciSignatureData signatureData()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OciConfigProvider
Get the current signature data.- Specified by:
signatureData
in interfaceOciConfigProvider
- Returns:
- current signature data
-
region
public String region()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OciConfigProvider
Current OCI region.- Specified by:
region
in interfaceOciConfigProvider
- Returns:
- OCI region, such as
eu-frankfurt-1
-
tenancyOcid
public String tenancyOcid()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OciConfigProvider
OCID of the tenancy.- Specified by:
tenancyOcid
in interfaceOciConfigProvider
- Returns:
- tenancy OCID
-
refresh
public Single<OciSignatureData> refresh()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OciConfigProvider
Refresh may be used for providers that can be reloaded. The method is called when an invocation fails (for the first time) with a 401 exception.- Specified by:
refresh
in interfaceOciConfigProvider
- Returns:
- future with signature data, if no refresh was done, the instance will be the same as when
OciConfigProvider.signatureData()
was called.
-
-