@ConfigurationProperties(value="oraclecloud.vault")
public class OracleCloudVaultClientConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OracleCloudVaultClientConfiguration.OracleCloudVault
An Oracle Cloud Vault.
|
static class |
OracleCloudVaultClientConfiguration.OracleCloudVaultClientDiscoveryConfiguration
The Discovery Configuration class for Oracle Cloud Vault.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
OracleCloudVaultClientConfiguration() |
Modifier and Type | Method and Description |
---|---|
OracleCloudVaultClientConfiguration.OracleCloudVaultClientDiscoveryConfiguration |
getDiscoveryConfiguration() |
java.lang.String |
getPathToConfig()
If you are not using Instance Principal auth then you must pass the path to a valid OCI config file.
|
java.lang.String |
getProfile()
Which profile in the config file should be used? Default value .
|
java.lang.String |
getRegion()
The OCI region Ex: 'US-PHOENIX-1'.
|
java.util.List<OracleCloudVaultClientConfiguration.OracleCloudVault> |
getVaults()
A list of
OracleCloudVaultClientConfiguration.OracleCloudVault objects that contain secrets that will be retrieved, decoded and set into your application as config variables. |
boolean |
isUseInstancePrincipal()
Whether or not the configuration client should use https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm[Instance Principal Authentication] to interact with the SDK.
|
void |
setPathToConfig(java.lang.String pathToConfig)
If you are not using Instance Principal auth then you must pass the path to a valid OCI config file.
|
void |
setProfile(java.lang.String profile)
Which profile in the config file should be used? Default value .
|
void |
setRegion(java.lang.String region)
The OCI region Ex: 'US-PHOENIX-1'.
|
void |
setUseInstancePrincipal(boolean useInstancePrincipal)
Whether or not the configuration client should use https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm[Instance Principal Authentication] to interact with the SDK.
|
void |
setVaults(java.util.List<OracleCloudVaultClientConfiguration.OracleCloudVault> vaults)
A list of
OracleCloudVaultClientConfiguration.OracleCloudVault objects that contain secrets that will be retrieved, decoded and set into your application as config variables. |
public static final java.lang.String PREFIX
public OracleCloudVaultClientConfiguration.OracleCloudVaultClientDiscoveryConfiguration getDiscoveryConfiguration()
public java.util.List<OracleCloudVaultClientConfiguration.OracleCloudVault> getVaults()
OracleCloudVaultClientConfiguration.OracleCloudVault
objects that contain secrets that will be retrieved, decoded and set into your application as config variables.public void setVaults(java.util.List<OracleCloudVaultClientConfiguration.OracleCloudVault> vaults)
OracleCloudVaultClientConfiguration.OracleCloudVault
objects that contain secrets that will be retrieved, decoded and set into your application as config variables.vaults
- A list of Vaultspublic boolean isUseInstancePrincipal()
public void setUseInstancePrincipal(boolean useInstancePrincipal)
useInstancePrincipal
- Should we use instance principal authenticationpublic java.lang.String getPathToConfig()
public void setPathToConfig(java.lang.String pathToConfig)
pathToConfig
- The path to the OCI config filepublic java.lang.String getProfile()
public void setProfile(java.lang.String profile)
profile
- Which profile in the OCI config file to use (default: DEFAULT)public java.lang.String getRegion()
public void setRegion(java.lang.String region)
region
- Which region in the Oracle Cloud should the client work in?