Package

com.drobisch.tresor

vault

Permalink

package vault

basic types to implement secrets coming from https://www.vaultproject.io

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. vault
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AWS[F[_]] extends SecretEngineProvider[F, (AwsContext, VaultConfig)]

    Permalink

    implementation of the vault AWS engine API

    implementation of the vault AWS engine API

    https://www.vaultproject.io/api/secret/aws/index.html

    F

    effect type to use

  2. final case class AwsContext(name: String, roleArn: Option[String] = None, ttlString: Option[String] = None, useSts: Boolean = false) extends Product with Serializable

    Permalink
  3. class Database[F[_]] extends SecretEngineProvider[F, (DatabaseContext, VaultConfig)]

    Permalink

    implementation of the vault Databases engine API

    implementation of the vault Databases engine API

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

    F

    context type to use

  4. final case class DatabaseContext(role: String) extends Product with Serializable

    Permalink
  5. trait HttpSupport extends AnyRef

    Permalink
  6. class KV[F[_]] extends SecretEngineProvider[F, (KeyValueContext, VaultConfig)]

    Permalink

    implementation of the vault KV engine API

    implementation of the vault KV engine API

    https://www.vaultproject.io/api/secret/kv/kv-v1.html

    F

    effect type to use

  7. final case class KeyValueContext(key: String) extends Product with Serializable

    Permalink
  8. final case class Lease(leaseId: Option[String], data: Map[String, Option[String]], renewable: Boolean, leaseDuration: Option[Long], issueTime: Long) extends Product with Serializable

    Permalink

    value type for a vault lease

    value type for a vault lease

    see https://www.vaultproject.io/docs/concepts/lease.html

    leaseId

    lease id

    data

    secret data values associated to the lease

    renewable

    true if the lease validation period can be extends

    leaseDuration

    duration of the lease starting with creation

  9. abstract class SecretEngineProvider[Effect[_], ProviderContext] extends Provider[Effect, ProviderContext, Lease] with HttpSupport

    Permalink
  10. final case class VaultConfig(apiUrl: String, token: String) extends Product with Serializable

    Permalink

Value Members

  1. object AWS

    Permalink
  2. object Database

    Permalink
  3. object KV

    Permalink
  4. implicit object VaultSecretLease extends Secret[Lease]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped