WardrikDaemon.CLI.Access (wardrik_daemon v0.1.0-rc.1)

Copy Markdown

The commands on tokens and the vault: who reaches the daemon, and the secrets agents hold.

Summary

Functions

Returns the commands on tokens and the vault.

Seals value in the vault as owner's secret name, and says so.

Functions

commands()

@spec commands() :: [WardrikDaemon.CLI.Command.t()]

Returns the commands on tokens and the vault.

seal(cx, owner, name, value)

@spec seal(WardrikDaemon.CLI.Context.t(), String.t(), String.t(), String.t()) ::
  :ok | {:error, String.t()}

Seals value in the vault as owner's secret name, and says so.