Reference

secrets feature

What it does

Secrets provisioned at boot, never in the store.

Use it

Every system has this feature: Vessel adds it to every configuration, so it never goes in the feature list. This part of a system configuration gives it items:

Example: feature-secrets-example

(import (vessel system))

;; A file that never enters the store. Without generate:, you put it in
;; place yourself.
(system-configuration
  features:
    (cons (simple-feature 'backups secrets-feature
            (list (secret path: "/var/lib/backups/upload-token"
                          owner: "root" group: "root")))
          %base-features))

Verified

A real system.sgl also sets the fields this example leaves out: the host name, kernel, boot loader and file systems. Every time the manual is built, it composes this configuration with Vessel's code and checks what the feature receives.

Options

None. This feature type takes no configuration.

What it adds

Its declared extensions target these feature types:

What it receives

  • secret: A secret file, claimed by its path.

Used in

No page refers to it yet.

Created with Sigil