#!/bin/sh set -eu scopes=" status hello update-repo publish uapi_version_get uapi_work_post uapi_status_get uapi_projects_id_status_get uapi_projects_id_status_put uapi_blobs_id_get uapi_blobs_id_put uapi_notify_post uapi_projects_get uapi_projects_post uapi_projects_id_get uapi_projects_id_put uapi_projects_id_delete uapi_pipelines_get uapi_pipelines_post uapi_pipelines_id_get uapi_pipelines_id_put uapi_pipelines_id_delete uapi_workers_get uapi_workers_post uapi_workers_id_get uapi_workers_id_put uapi_workers_id_delete uapi_work_get uapi_work_post uapi_work_id_get uapi_work_id_put uapi_work_id_delete uapi_builds_get uapi_builds_post uapi_builds_id_get uapi_builds_id_put uapi_builds_id_delete uapi_logs_get uapi_logs_post uapi_logs_id_get uapi_logs_id_put uapi_logs_id_delete " ./create-token key iss aud "$scopes"