Hashi Corp Vault Parameter
fun ParametrizedWithType.hashiCorpVaultParameter(init: HashiCorpVaultParameter.() -> Unit): HashiCorpVaultParameter
HashiCorp vault remote parameter
Example. Adds a new vault parameter with the name test
that will fetch a value from the KV 1.0 vault named secret
from the path path/to
, with the key key
. The connection namespace to use it is connection-1
hashiCorpVaultParameter {
name = "test"
query = "secret/path/to!/key"
vaultId = "connection-1"
}
Content copied to clipboard
Example. Adds a new vault parameter with the name test
that will fetch a value from the KV 2.0 vault named secret
from the path path/to
, with the key key
. The connection namespace to use it is connection-1
hashiCorpVaultParameter {
name = "test"
query = "secret/data/path/to!/key"
vaultId = "connection-1"
}
Content copied to clipboard
See also
Functions
Link copied to clipboard
fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): DelegateProvider<Boolean?>
Link copied to clipboard
Link copied to clipboard
Copies parameters of this object to the specified target
Link copied to clipboard
Link copied to clipboard
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): DelegateProvider<E>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Validates this object and reports found errors to the provided consumer