Skip to content

basalt / api-keys-ui/src / apiKeysPageCsp

Function: apiKeysPageCsp() ​

> apiKeysPageCsp(options?): string

Defined in: api-keys-ui/src/html.ts:89

The Content-Security-Policy matching apiKeysPageHtml: everything locked down, the page's inline script allowed by sha256 hash. Served by default from apiKeysUiRoutes so the page works under securityPlugin without weakening the app-wide policy.

Parameters ​

options? ​

ApiKeysPageOptions = {}

Returns ​

string

Released under the MIT License.