Class DbGet.Response

    • Method Detail

      • 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