Class OracleCloudVaultConfiguration
java.lang.Object
io.micronaut.oraclecloud.discovery.vault.OracleCloudVaultConfiguration
OracleCloudVault Client.
- Since:
- 1.4.0
- Author:
- toddsharp
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
An Oracle Cloud Vault.static class
The Discovery Configuration class for Oracle Cloud Vault. -
Field Summary
-
Constructor Summary
ConstructorDescriptionConstruct a default vault configuration.OracleCloudVaultConfiguration
(OracleCloudVaultConfiguration.OracleCloudVaultClientDiscoveryConfiguration discoveryConfiguration) Construct a vault configuration with the given discovery configuration. -
Method Summary
Modifier and TypeMethodDescriptionA list ofOracleCloudVaultConfiguration.OracleCloudVault
objects that contain secrets that will be retrieved, decoded and set into your application as config variables.void
A list ofOracleCloudVaultConfiguration.OracleCloudVault
objects that contain secrets that will be retrieved, decoded and set into your application as config variables.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
OracleCloudVaultConfiguration
@Inject public OracleCloudVaultConfiguration(OracleCloudVaultConfiguration.OracleCloudVaultClientDiscoveryConfiguration discoveryConfiguration) Construct a vault configuration with the given discovery configuration.- Parameters:
discoveryConfiguration
- The discovery configuration.
-
OracleCloudVaultConfiguration
public OracleCloudVaultConfiguration()Construct a default vault configuration.
-
-
Method Details
-
getDiscoveryConfiguration
public OracleCloudVaultConfiguration.OracleCloudVaultClientDiscoveryConfiguration getDiscoveryConfiguration()- Returns:
- The discovery service configuration
-
getVaults
A list ofOracleCloudVaultConfiguration.OracleCloudVault
objects that contain secrets that will be retrieved, decoded and set into your application as config variables.- Returns:
- A list of Vaults to retrieve
-
setVaults
A list ofOracleCloudVaultConfiguration.OracleCloudVault
objects that contain secrets that will be retrieved, decoded and set into your application as config variables.- Parameters:
vaults
- A list of Vaults
-