- All Implemented Interfaces:
Secret
- Enclosing class:
- GetKv1
Response object parsed from JSON returned by the
RestApi
.
-
Method Summary
Value of a key within a secret.
A map of secret values (key/value pairs).
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonParser
isPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
path
Description copied from interface: Secret
Path of this secret.
- Specified by:
path
in interface Secret
- Returns:
- path in the vault, relative to mount point
-
value
Description copied from interface: Secret
Value of a key within a secret.
- Specified by:
value
in interface Secret
- Parameters:
key
- key of the secret's value
- Returns:
- value if the key exists
-
values
Description copied from interface: Secret
A map of secret values (key/value pairs).
- Specified by:
values
in interface Secret
- Returns:
- a map of all values available