Class/Object

com.drobisch.tresor.vault

Database

Related Docs: object Database | package vault

Permalink

class Database[F[_]] extends SecretEngineProvider[F, DatabaseContext]

implementation of the vault Databases engine API

https://www.vaultproject.io/api/secret/databases

F

context type to use

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Database
  2. SecretEngineProvider
  3. HttpSupport
  4. Provider
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Database()(implicit sync: Sync[F])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. implicit val backend: SttpBackend[Id, Nothing]

    Permalink
    Attributes
    protected
    Definition Classes
    HttpSupport
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromDto(dto: LeaseDTO): Lease

    Permalink
    Attributes
    protected
    Definition Classes
    SecretEngineProvider
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    SecretEngineProvider
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def parseLease(response: Response[String])(implicit sync: Sync[F]): F[Lease]

    Permalink
    Attributes
    protected
    Definition Classes
    SecretEngineProvider
  19. def renew(lease: Lease, increment: Long, vaultConfig: VaultConfig)(implicit sync: Sync[F]): F[Lease]

    Permalink

    renew a lease

    renew a lease

    https://www.vaultproject.io/api/system/leases.html#renew-lease

    lease

    a lease

    increment

    time to extend the lease in seconds

    vaultConfig

    vault api config

    sync

    context type

    returns

    extended lease

    Definition Classes
    SecretEngineProvider
  20. def secret(context: DatabaseContext): F[Lease]

    Permalink

    read the credentials for a DB role

    read the credentials for a DB role

    context

    database context with a role

    returns

    vault lease

    Definition Classes
    DatabaseProvider
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HttpSupport

Inherited from Provider[F, DatabaseContext, Lease]

Inherited from AnyRef

Inherited from Any

Ungrouped