Interface SecretStore


  • @Deprecated
    public interface SecretStore
    Deprecated.
    Use com.yahoo.container.jdisc.secretstore.SecretStore
    An abstraction of a secret store for e.g passwords. Implementations can be plugged in to provide passwords for various keys.
    Author:
    bratseth, bjorncs
    • Method Detail

      • getSecret

        java.lang.String getSecret​(java.lang.String key)
        Deprecated.
        Returns the secret for this key
      • getSecret

        default java.lang.String getSecret​(java.lang.String key,
                                           int version)
        Deprecated.
        Returns the secret for this key and version