summaryrefslogtreecommitdiff
path: root/run-debug
blob: fdd1ce87d07e3fe7f753c4e64e48458316a3423c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -eu

scopes="
uapi_projects_get
"

./generate-rsa-key t.key
./create-token t.key issuer audience "$scopes" > t.token
cat <<EOF > t.yaml
log:
- filename: t.log
token-issuer: issuer
token-audience: audience
token-public-key: $(cat t.key.pub)
statedir: t.state
EOF

ICK_CONTROLLER_CONFIG=t.yaml python3 ick_controller.py