aboutsummaryrefslogtreecommitdiffstats
path: root/builds.sr.ht/manifest.md
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2021-02-17 12:54:40 -0500
committerDrew DeVault <sir@cmpwn.com>2021-02-17 12:55:13 -0500
commit30bbd535fac84098901f1668a52a828cdff78e2b (patch)
treee9574fd5b74c4e2455b1994a0974e2e747769842 /builds.sr.ht/manifest.md
parent7ba0d0fedc841a2e04eb3b94879c1c5c70b80c50 (diff)
downloadsr.ht-docs-30bbd535fac84098901f1668a52a828cdff78e2b.tar.gz
Document OAuth option for build manifests
Diffstat (limited to 'builds.sr.ht/manifest.md')
-rw-r--r--builds.sr.ht/manifest.md9
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).