Interface VaultCharSecret

    • Method Detail

      • getAsArray

        Optional<char[]> getAsArray()
        Returns the secret in its char[] form.
        If the secret was successfully resolved by vault, returns an Optional containing the value returned by the vault as a char[] (a valid value can be null), or an empty Optional.
      • close

        void close()
        Destroys the secret in memory by e.g. overwriting it with random garbage.
        Specified by:
        close in interface AutoCloseable