TaskCluster Secrets API Documentation
The secrets service provides a simple key/value store for small bits of secret data. Access is limited by scopes, so values can be considered secret from those who do not have the relevant scopes.
Secrets also have an expiration date, and once a secret has expired it can no longer be read. This is useful for short-term secrets such as a temporary service credential or a one-time signing key.
// Create Secrets client instance: const secrets = new taskcluster.Secrets(options);
Methods in Secrets Client
// secrets.ping :: () -> Promise Nothing secrets.ping()
// secrets.set :: (name -> payload) -> Promise Nothing secrets.set(name, payload)
// secrets.remove :: name -> Promise Nothing secrets.remove(name)
// secrets.get :: name -> Promise Result secrets.get(name)
// secrets.list :: [options] -> Promise Result secrets.list() secrets.list(options)