1
0
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:
Chris Cummer
2020-05-02 15:19:29 -07:00
31 changed files with 484 additions and 1 deletions

View File

@@ -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