Class OciConfigProfile
- java.lang.Object
-
- io.helidon.integrations.oci.connect.OciConfigProfile
-
- All Implemented Interfaces:
OciConfigProvider
@Deprecated(since="2.5.0", forRemoval=true) public class OciConfigProfile extends Object implements OciConfigProvider
Deprecated, for removal: This API element is subject to removal in a future version.OCI SDK insteadOCI configuration required to connect to a service over REST API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOciConfigProfile.BuilderDeprecated, for removal: This API element is subject to removal in a future version.Fluent API builder forOciConfigProfile.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OciConfigProfile.Builderbuilder()Deprecated, for removal: This API element is subject to removal in a future version.A new fluent API builder to configure a new profile config.static OciConfigProfilecreate()Deprecated, for removal: This API element is subject to removal in a future version.Create configuration from the default location~/.oci/configand default profileDEFAULT.static OciConfigProfilecreate(Config config)Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance from configuration.Map<String,String>fullConfig()Deprecated, for removal: This API element is subject to removal in a future version.Full map of configuration properties either from OCI config file or from config.StringkeyFingerprint()Deprecated, for removal: This API element is subject to removal in a future version.Fingerprint of the key.StringprivateKey()Deprecated, for removal: This API element is subject to removal in a future version.Private key (PEM encoded) used to sign requests.Optional<String>property(String key)Deprecated, for removal: This API element is subject to removal in a future version.A property defined either in OCI config file or in config.Stringregion()Deprecated, for removal: This API element is subject to removal in a future version.Region to use when connecting to OCI.OciSignatureDatasignatureData()Deprecated, for removal: This API element is subject to removal in a future version.Get the current signature data.StringtenancyOcid()Deprecated, for removal: This API element is subject to removal in a future version.OCID of the tenancy.StringuserOcid()Deprecated, for removal: This API element is subject to removal in a future version.OCID of the user.-
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, refresh
-
-
-
-
Method Detail
-
create
public static OciConfigProfile create()
Deprecated, for removal: This API element is subject to removal in a future version.Create configuration from the default location~/.oci/configand default profileDEFAULT.- Returns:
- a new configuration loaded from default location
-
builder
public static OciConfigProfile.Builder builder()
Deprecated, for removal: This API element is subject to removal in a future version.A new fluent API builder to configure a new profile config.- Returns:
- a new builder
-
create
public static OciConfigProfile create(Config config)
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance from configuration.- Parameters:
config- configuration- Returns:
- a new profile configuration
-
signatureData
public OciSignatureData signatureData()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OciConfigProviderGet the current signature data.- Specified by:
signatureDatain interfaceOciConfigProvider- Returns:
- current signature data
-
userOcid
public String userOcid()
Deprecated, for removal: This API element is subject to removal in a future version.OCID of the user. Uses keyuserin OCI config file and in config.- Returns:
- user OCID
-
tenancyOcid
public String tenancyOcid()
Deprecated, for removal: This API element is subject to removal in a future version.OCID of the tenancy. Uses keytenancyin OCI config file and in config.- Specified by:
tenancyOcidin interfaceOciConfigProvider- Returns:
- tenancy OCID
-
keyFingerprint
public String keyFingerprint()
Deprecated, for removal: This API element is subject to removal in a future version.Fingerprint of the key. Uses keyfingerprintin OCI config file and in config.- Returns:
- key fingerprint
-
region
public String region()
Deprecated, for removal: This API element is subject to removal in a future version.Region to use when connecting to OCI. This is used to resolve the host to connect to. Uses keyregionin OCI config file and in config.- Specified by:
regionin interfaceOciConfigProvider- Returns:
- OCI region, such as
eu-frankfurt-1
-
privateKey
public String privateKey()
Deprecated, for removal: This API element is subject to removal in a future version.Private key (PEM encoded) used to sign requests. Useskey-filein OCI config to locate the PEM file, useskey-pemin config.- Returns:
- private key to use for signing requests
-
property
public Optional<String> property(String key)
Deprecated, for removal: This API element is subject to removal in a future version.A property defined either in OCI config file or in config.- Parameters:
key- name of the property- Returns:
- value if present in configuration
-
-