Secrets
Secrets storage allows to read secret variables from various sources.
system: secret introduced in v0.1
Secrets system is one of those systems which have to be configured through
the command line only, since actual configuration parsing starts only after
the Secrets system fished initialization. Flag name is -s
or --secret
.
Configuration options
Param | Required | Type | Default | Description |
---|---|---|---|---|
provider | string | fs |
Provider name to use for configs loading |
Other params may vary depends on a selected provider.
If no options are specified, system defaults to a local file storage provider.
Example
Both following examples will load local filestorage secrets:
./go-home \
-s provider:fs \
-s location:/data/go-home
./go-home \
--secret=location:/data/go-home