taskcluster-worker: github.com/taskcluster/taskcluster-worker/config/secrets Index | Files

package configsecrets

import "github.com/taskcluster/taskcluster-worker/config/secrets"

Package configsecrets implements a TransformationProvider that replaces objects on the form: {$secret: "NAME", key: "KEY"} with the value of the key "KEY" taken from the secret NAME loaded from taskcluster-secrets.

This transformation will fail if the configuration object doesn't contain valid taskcluster credentials in the 'credentials' property. If configuration contains a property 'secretsBaseUrl', this will be used instead of the default baseUrl for secrets.


Package Files


Package configsecrets imports 6 packages (graph) and is imported by 2 packages. Updated 2018-04-22. Refresh now. Tools for package owners.