mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge branch 'secret-store' of github.com:sam-github/wtf into sam-github-secret-store
This commit is contained in:
@@ -32,6 +32,14 @@ func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *co
|
||||
username: ymlConfig.UString("username"),
|
||||
}
|
||||
|
||||
cfg.ConfigureSecret(
|
||||
globalConfig,
|
||||
settings.domain,
|
||||
name,
|
||||
&settings.username,
|
||||
&settings.apiKey,
|
||||
)
|
||||
|
||||
settings.projects = cfg.ParseAsMapOrList(ymlConfig, "projects")
|
||||
|
||||
return &settings
|
||||
|
||||
Reference in New Issue
Block a user