All Known Subinterfaces:
DbCredentials, Kv2Secret
All Known Implementing Classes:
DbGet.Response, GetCubbyhole.Response, GetKv1.Response, GetKv2.Response

public interface Secret
Common methods for secrets. The methods value(String) and values() may have different semantic meaning depending on secrets engine used, please check documentation of subclasses.
  • Method Details

    • path

      String path()
      Path of this secret.
      path in the vault, relative to mount point
    • value

      Optional<String> value(String key)
      Value of a key within a secret.
      key - key of the secret's value
      value if the key exists
    • values

      Map<String,String> values()
      A map of secret values (key/value pairs).
      a map of all values available