diff options
author | Drew DeVault <sir@cmpwn.com> | 2021-02-17 12:54:40 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2021-02-17 12:55:13 -0500 |
commit | 30bbd535fac84098901f1668a52a828cdff78e2b (patch) | |
tree | e9574fd5b74c4e2455b1994a0974e2e747769842 /builds.sr.ht | |
parent | 7ba0d0fedc841a2e04eb3b94879c1c5c70b80c50 (diff) | |
download | sr.ht-docs-30bbd535fac84098901f1668a52a828cdff78e2b.tar.gz |
Document OAuth option for build manifests
Diffstat (limited to 'builds.sr.ht')
-rw-r--r-- | builds.sr.ht/manifest.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md index 616651e..097d35e 100644 --- a/builds.sr.ht/manifest.md +++ b/builds.sr.ht/manifest.md @@ -150,3 +150,12 @@ A list of key/value pairs for options to set in the build environment via List of secret UUIDs to be added to the guest during the build. See also: [secrets](/builds.sr.ht#secrets). + +## oauth + +*string* + +If present, and secrets are enabled for this build, an OAuth 2.0 bearer token is +generated for this build with the given string as the list of grants. The +`acurl` command may be used in the task scripts to perform authenticated +[GraphAL API requests](https://man.sr.ht/graphql.md). |