java.lang.Object
io.helidon.integrations.common.rest.ApiJsonParser
io.helidon.integrations.vault.secrets.database.DbGet.Response
All Implemented Interfaces:
Secret, DbCredentials
Enclosing class:
DbGet

public static final class DbGet.Response extends ApiJsonParser implements DbCredentials
Response object parsed from JSON returned by the RestApi.
  • Method Details

    • path

      public String 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

      public Optional<String> value(String key)
      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

      public Map<String,String> 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