Skip to content

Commit

Permalink
docs: explain permissions and use of key
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Sep 19, 2024
1 parent 2d89ecd commit c6e26bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/dashboard/lib/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export const env = () =>

GITHUB_KEYS_URI: z.string().optional(),

// This key is used for ratelimiting our trpc procedures
// It requires the following permissions:
// - `ratelimit.*.create_namespace`
// - `ratelimit.*.limit`
UNKEY_ROOT_KEY: z.string().optional(),
})
.parse(process.env);
Expand Down

0 comments on commit c6e26bf

Please sign in to comment.