mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
268b4088fd
New options added to configuration file to reference a public key used to validate authorization tokens signed by an auth server with corresponding private key. Resolves #24 Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
20 lines
340 B
JSON
20 lines
340 B
JSON
{
|
|
"version":"0.1.0-dev",
|
|
"storage":{
|
|
"rootDirectory":"/tmp/zot"
|
|
},
|
|
"http": {
|
|
"address":"127.0.0.1",
|
|
"port":"8080",
|
|
"auth": {
|
|
"bearer": {
|
|
"realm": "https://auth.myreg.io/auth/token",
|
|
"service": "myauth",
|
|
"cert": "/etc/zot/auth.crt"
|
|
}
|
|
}
|
|
},
|
|
"log":{
|
|
"level":"debug"
|
|
}
|
|
}
|