Packages

o

nelson.vault

policies

object policies

Source
policies.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. policies
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val DenySysRule: Rule
  2. val RevokeSelfRule: Rule
  3. def createPolicy(cfg: PolicyConfig, sn: StackName, ns: NamespaceName, resources: Set[String]): VaultF[Unit]

    For every resource in the specified namespace and unit, we create grant read access to a resource creds path from cfg for each resource, which may be internal or external.

  4. def deletePolicy(sn: StackName, ns: NamespaceName): VaultF[Unit]
  5. def pkiRule(pkiPath: String, ns: NamespaceName): Rule
  6. def policyName(sn: StackName, ns: NamespaceName): String
  7. def resourceRule(resourceCredsPath: String, sn: StackName, ns: NamespaceName, resource: String): Rule

    Creates a rule to read from a resource based on resourceCredsPath.

    Creates a rule to read from a resource based on resourceCredsPath. Variables %env%, %unit%, and %resource% are interpolated.

  8. def withPolicy[A](cfg: PolicyConfig, sn: StackName, ns: NamespaceName, resources: Set[String], interp: ~>[Vault, IO])(f: (Token) ⇒ Stream[IO, A]): Stream[IO, A]