Mask API key values in PostHog replays (#514)
This commit is contained in:
parent
6470b875ad
commit
5cb23418e1
@ -135,7 +135,10 @@ export function ApiKeySettings() {
|
|||||||
<td className="max-w-[220px] truncate font-medium">
|
<td className="max-w-[220px] truncate font-medium">
|
||||||
{key.name || "Unnamed key"}
|
{key.name || "Unnamed key"}
|
||||||
</td>
|
</td>
|
||||||
<td className="font-mono text-xs text-base-content/70">
|
<td
|
||||||
|
className="font-mono text-xs text-base-content/70"
|
||||||
|
data-ph-mask
|
||||||
|
>
|
||||||
{key.start || "oseo_"}…
|
{key.start || "oseo_"}…
|
||||||
</td>
|
</td>
|
||||||
<td className="text-xs text-base-content/70">
|
<td className="text-xs text-base-content/70">
|
||||||
@ -197,7 +200,10 @@ export function ApiKeySettings() {
|
|||||||
to <span className="font-mono text-xs">{mcpUrl}</span>.
|
to <span className="font-mono text-xs">{mcpUrl}</span>.
|
||||||
</p>
|
</p>
|
||||||
<div className="mt-4 flex items-center gap-2">
|
<div className="mt-4 flex items-center gap-2">
|
||||||
<code className="min-w-0 flex-1 overflow-x-auto rounded bg-base-200 px-2.5 py-2 font-mono text-xs">
|
<code
|
||||||
|
className="min-w-0 flex-1 overflow-x-auto rounded bg-base-200 px-2.5 py-2 font-mono text-xs"
|
||||||
|
data-ph-mask
|
||||||
|
>
|
||||||
{createdKey}
|
{createdKey}
|
||||||
</code>
|
</code>
|
||||||
<CopyButton
|
<CopyButton
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user