Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Setup ¶
type Setup struct { // Config object, can be empty struct C *config.Config // Identity wrapper, can be a empty age identity, in that case the error is // present Id id.Identity // The real repo path, if no from config toml, this will be current path Repository string }
Setup contains the path of the secrets repository and the path of the age identity.
This allow to run the privage command in any directory
func NewFromArgs ¶
func NewFromConfigFile ¶
Click to show internal directories.
Click to hide internal directories.