docs: solidify DOCKER_SOCK and ROOT_API_KEY usage

This commit is contained in:
Aarnav Tale 2024-05-22 12:43:42 -04:00
parent 694b22f205
commit c7e59b137c
No known key found for this signature in database
7 changed files with 68 additions and 23 deletions

View file

@ -151,8 +151,7 @@ export async function finishOidc(oidc: OidcConfig, req: Request) {
const keyResponse = await post<{ apiKey: string }>(
'v1/apikey',
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
process.env.API_KEY!,
oidc.rootKey,
{
expiration: expDate,
},