Packages

final class UserpassSecretStore extends SecretStore

A proxy secret store that uses another secret store to authenticate users from a secrets.users path. If a user can be authenticated with information available at the secrets.users path then the user can act as a proxy for subsequent secret access. For example, config and SSS secret stores require this proxy as they do not hold the notion of user principals beyond applications, yet we need to manage such users in the system. Secret stores such as Vault do not require this class. For example, Vault already provides its own user-password authentication method.

Passwords are assumed to be hashed using SHA-512 and stored as hex string values in the secret store.

Linear Supertypes
SecretStore, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UserpassSecretStore
  2. SecretStore
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UserpassSecretStore(getAuthenticationToken: GetAuthenticationToken, getSecret: GetSecret, underlyingAuthenticate: Authenticate, underlyingGetAuthenticatedSecret: GetAuthenticatedSecret, underlyingPutSecret: PutAuthenticatedSecret, underlyingRemoveSecret: RemoveAuthenticatedSecret)(implicit ec: ExecutionContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val addUser: AddUser
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val authenticate: Authenticate
    Definition Classes
    UserpassSecretStoreSecretStore
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. val getAuthenticatedSecret: GetAuthenticatedSecret
    Definition Classes
    UserpassSecretStoreSecretStore
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. val getUser: GetUser
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def namespaceAndSecretPath(defaultNamespace: String, secret: String): (String, String)

    Helper function for implementations to extract namespaces from provided secret paths.

    Helper function for implementations to extract namespaces from provided secret paths.

    Attributes
    protected
    Definition Classes
    SecretStore
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val putAuthenticatedSecret: PutAuthenticatedSecret
    Definition Classes
    UserpassSecretStoreSecretStore
  21. val removeAuthenticatedSecret: RemoveAuthenticatedSecret
    Definition Classes
    UserpassSecretStoreSecretStore
  22. val removeUser: RemoveUser
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from SecretStore

Inherited from AnyRef

Inherited from Any

Ungrouped