package vault
- Source
- package.scala
- Alphabetic
- By Inheritance
- vault
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
InitialCreds(keys: List[MasterKey], rootToken: RootToken) extends Product with Serializable
This contains the result of the
initialize
call, it *must* have the number of MasterKeys requested.This contains the result of the
initialize
call, it *must* have the number of MasterKeys requested. They should distributed to N trusted individuals, a quorum of which will have to present keys to unseal a vault.the rootToken is a omnipotent bearer token for this vault, so treat it with the utmost of care. It will be required to create other less privileged tokens.
-
final
case class
Initialization(secretShares: Int, secretThreshold: Int) extends Product with Serializable
Parameters needed to initialize a new vault
Parameters needed to initialize a new vault
- secretShares
the numbers of unseal keys
- secretThreshold
the quorum of unseal keys needed to unseal
- type MasterKey = String
- final case class Mount(path: String, type: String, description: String, defaultLeaseTTL: Int, maxLeaseTTL: Int) extends Product with Serializable
- final case class RootToken(value: String) extends AnyVal with Product with Serializable
- final case class Rule(path: String, capabilities: List[String], policy: Option[String]) extends Product with Serializable
-
final
case class
SealStatus(sealed: Boolean, total: Int, quorum: Int, progress: Int) extends Product with Serializable
- sealed
Whether or not the vault is sealed.
- total
The number of existing MasterKeys
- progress
The number of keys out of total that have been provided so far to unseal
- final case class Token(value: String) extends AnyVal with Product with Serializable
-
sealed abstract
class
Vault[A] extends Product with Serializable
An algebra which represents an operation interacting with a [HashiCorp Vault](https://www.vaultproject.io/docs/) server
- type VaultF[A] = Free[Vault, A]
Value Members
- object Vault extends Serializable
- object policies