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

package hostcredentials

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

Package hostcredentials implements a TransformationProvider that fetches credentials from the (oddly named) `host-secrets` service and replaces objects of the form: {$hostcredentials: [url, url]} with the credentials.

The given URLs should point to the `/v1/credentials` endpoint of instances of the [taskcluster-host-secrets](https://github.com/taskcluster/taskcluster-host-secrets) service. They will be tried in order until success. This is a simple form of client-side resilience to failure of a single instance.

Note that this transform will need to run before the "hostsecrets" transform.


Package Files


Package hostcredentials imports 5 packages (graph) and is imported by 2 packages. Updated 2017-05-26. Refresh now. Tools for package owners.