Class OracleCloudVaultConfiguration.OracleCloudVault
java.lang.Object
io.micronaut.oraclecloud.discovery.vault.OracleCloudVaultConfiguration.OracleCloudVault
- Enclosing class:
- OracleCloudVaultConfiguration
@EachProperty(value="vaults",
list=true)
public static class OracleCloudVaultConfiguration.OracleCloudVault
extends Object
An Oracle Cloud Vault.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe compartment OCID where the vault resides.@NonNull String[]
Gets the excludes array.@NonNull String[]
Gets the includes array.getOcid()
The OCID of the vault that contains secrets that will be retrieved, decoded and set as config vars.void
setCompartmentOcid
(String compartmentOcid) Sets the compartment OCID where the vault resides.void
setExcludes
(@NonNull String[] excludes) Sets the excludes array of regex patterns to match on secret names.void
setIncludes
(@NonNull String[] includes) Sets the includes array of regex patterns to match on secret names.void
Sets the OCID of the vault that contains secrets that will be retrieved, decoded and set as config vars.toString()
-
Constructor Details
-
OracleCloudVault
public OracleCloudVault()
-
-
Method Details
-
getOcid
The OCID of the vault that contains secrets that will be retrieved, decoded and set as config vars.- Returns:
- The OCID of the vault.
-
setOcid
Sets the OCID of the vault that contains secrets that will be retrieved, decoded and set as config vars.- Parameters:
ocid
- the ocid of the vault
-
getCompartmentOcid
The compartment OCID where the vault resides.- Returns:
- The compartment OCID.
-
setCompartmentOcid
Sets the compartment OCID where the vault resides.- Parameters:
compartmentOcid
- The compartment OCID
-
getIncludes
Gets the includes array.- Returns:
- the includes array
-
setIncludes
Sets the includes array of regex patterns to match on secret names. Secrets that match these patterns will be included, except those which also match an exclude pattern. If not provided, then all secrets are included.- Parameters:
includes
- the includes array
-
getExcludes
Gets the excludes array.- Returns:
- the excludes array
-
setExcludes
Sets the excludes array of regex patterns to match on secret names. Secrets that match these will always be excluded, even if there is a match on include pattern. If not provided, then no secrets are explicitly excluded.- Parameters:
excludes
- the excludes array
-
toString
-