mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix regen api key flow
This commit is contained in:
parent
75cbbea071
commit
a043676dc4
1 changed files with 14 additions and 1 deletions
|
@ -1043,13 +1043,26 @@ const ViewKeyTable: React.FC<ViewKeyTableProps> = ({
|
||||||
<Title>Regenerated Key</Title>
|
<Title>Regenerated Key</Title>
|
||||||
<Col numColSpan={1}>
|
<Col numColSpan={1}>
|
||||||
<p>
|
<p>
|
||||||
Please replace your old key with the new key generated.For
|
Please replace your old key with the new key generated. For
|
||||||
security reasons, <b>you will not be able to view it again</b> through
|
security reasons, <b>you will not be able to view it again</b> through
|
||||||
your LiteLLM account. If you lose this secret key, you will need to
|
your LiteLLM account. If you lose this secret key, you will need to
|
||||||
generate a new one.
|
generate a new one.
|
||||||
</p>
|
</p>
|
||||||
</Col>
|
</Col>
|
||||||
<Col numColSpan={1}>
|
<Col numColSpan={1}>
|
||||||
|
<Text className="mt-3">Key Alias:</Text>
|
||||||
|
<div
|
||||||
|
style={{
|
||||||
|
background: "#f8f8f8",
|
||||||
|
padding: "10px",
|
||||||
|
borderRadius: "5px",
|
||||||
|
marginBottom: "10px",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<pre style={{ wordWrap: "break-word", whiteSpace: "normal" }}>
|
||||||
|
{selectedToken?.key_alias || 'No alias set'}
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
<Text className="mt-3">New API Key:</Text>
|
<Text className="mt-3">New API Key:</Text>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue