This is a standalone configuration type, prefix from configuration root: oci

Configuration options

Table 1. Optional configuration options
key type default value description

auth-strategies

string[] (auto, config, config-file, instance-principals, resource-principal)

 

The list of authentication strategies that will be attempted by com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider when one is called for. This is only used if authStrategy() is not present.

  • auto - if present in the list, or if no value for this property exists.

  • config - the com.oracle.bmc.auth.SimpleAuthenticationDetailsProvider will be used, customized with other configuration properties described here.

  • config-file - the com.oracle.bmc.auth.ConfigFileAuthenticationDetailsProvider will be used, customized with other configuration properties described here.

  • instance-principals - the com.oracle.bmc.auth.InstancePrincipalsAuthenticationDetailsProvider will be used.

  • resource-principal - the com.oracle.bmc.auth.ResourcePrincipalAuthenticationDetailsProvider will be used.

If there are more than one strategy descriptors defined, the first one that is deemed to be available/suitable will be used and all others will be ignored.

See io.helidon.integrations.oci.sdk.runtime.OciAuthenticationDetailsProvider.AuthStrategy

Allowed values:

  • auto: auto select first applicable

  • config: simple authentication provider

  • config-file: config file authentication provider

  • instance-principals: instance principals authentication provider

  • resource-principal: resource principal authentication provider

auth-strategy

string (auto, config, config-file, instance-principals, resource-principal)

 

The singular authentication strategy to apply. This will be preferred over authStrategies() if both are present.

Allowed values:

  • auto: auto select first applicable

  • config: simple authentication provider

  • config-file: config file authentication provider

  • instance-principals: instance principals authentication provider

  • resource-principal: resource principals authentication provider

auth.fingerprint

string

 

The OCI authentication fingerprint.

This configuration property has an effect only when config is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as simpleConfigIsPresent(). When it is present, this property must be provided in order to set the API signing key’s fingerprint. See com.oracle.bmc.auth.SimpleAuthenticationDetailsProvider.getFingerprint() for more details.

auth.keyFile

string

oci_api_key.pem

The OCI authentication key file.

This configuration property has an effect only when config is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as simpleConfigIsPresent(). When it is present, this property must be provided in order to set the com.oracle.bmc.auth.SimpleAuthenticationDetailsProvider.getPrivateKey(). This file must exist in the user.home directory. Alternatively, this property can be set using either authPrivateKey() or using authPrivateKeyPath().

auth.passphrase

char[]

 

The OCI authentication passphrase.

This configuration property has an effect only when config is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as simpleConfigIsPresent(). When it is present, this property must be provided in order to set the com.oracle.bmc.auth.SimpleAuthenticationDetailsProvider.getPassphraseCharacters().

auth.private-key

char[]

 

The OCI authentication private key.

This configuration property has an effect only when config is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as simpleConfigIsPresent(). When it is present, this property must be provided in order to set the com.oracle.bmc.auth.SimpleAuthenticationDetailsProvider.getPrivateKey(). Alternatively, this property can be set using either authKeyFile() residing in the user.home directory, or using authPrivateKeyPath().

auth.private-key-path

string

 

The OCI authentication key file path.

This configuration property has an effect only when config is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as simpleConfigIsPresent(). When it is present, this property must be provided in order to set the com.oracle.bmc.auth.SimpleAuthenticationDetailsProvider.getPrivateKey(). This file path is an alternative for using authKeyFile() where the file must exist in the user.home directory. Alternatively, this property can be set using authPrivateKey().

auth.region

string

 

The OCI region.

This configuration property has an effect only when config is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as simpleConfigIsPresent(). When it is present, either this property or com.oracle.bmc.auth.RegionProvider must be provide a value in order to set the com.oracle.bmc.auth.ConfigFileAuthenticationDetailsProvider.getRegion().

auth.tenant-id

string

 

The OCI tenant id.

This configuration property has an effect only when config is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as simpleConfigIsPresent(). When it is present, this property must be provided in order to set the com.oracle.bmc.auth.ConfigFileAuthenticationDetailsProvider.getTenantId().

auth.user-id

string

 

The OCI user id.

This configuration property has an effect only when config is, explicitly or implicitly, present in the value for the authStrategies(). When it is present, this property must be provided in order to set the com.oracle.bmc.auth.ConfigFileAuthenticationDetailsProvider.getUserId().

config.path

string

 

The OCI configuration profile path.

This configuration property has an effect only when config-file is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as fileConfigIsPresent(). When it is present, this property must also be present and then the com.oracle.bmc.ConfigFileReader.parse(String) method will be passed this value. It is expected to be passed with a valid OCI configuration file path.

config.profile

string

DEFAULT

The OCI configuration/auth profile name.

This configuration property has an effect only when config-file is, explicitly or implicitly, present in the value for the authStrategies(). This is also known as fileConfigIsPresent(). When it is present, this property may also be optionally provided in order to override the default DEFAULT_PROFILE_NAME.

imds.hostname

string

169.254.169.254

The OCI IMDS hostname.

This configuration property is used to identify the metadata service url.

imds.timeout.milliseconds

Duration

PT0.1S

The OCI IMDS connection timeout. This is used to auto-detect availability.

This configuration property is used when attempting to connect to the metadata service.

See OciAvailability