Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: addressing PR feedback

IgorHorta4323bc90760a
diff --git a/docs/images/secret-rotations-v2/open-router-api-key/parameters.png b/docs/images/secret-rotations-v2/open-router-api-key/parameters.png
index 612c748951..31ecdf1633 100644
Binary files a/docs/images/secret-rotations-v2/open-router-api-key/parameters.png and b/docs/images/secret-rotations-v2/open-router-api-key/parameters.png differ
diff --git a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/OpenRouterApiKeyRotationParametersFields.tsx b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/OpenRouterApiKeyRotationParametersFields.tsx
index fc7f820a8c..ed6659e264 100644
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/OpenRouterApiKeyRotationParametersFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/OpenRouterApiKeyRotationParametersFields.tsx
@@ -95,8 +95,8 @@ export const OpenRouterApiKeyRotationParametersFields = () => {
<FormControl
helperText={
(value ?? false)
- ? "Usage from your own provider keys (BYOK - Bring Your Own Key) will count toward this key's spending limit."
- : "Only OpenRouter credits will count toward the spending limit. BYOK usage will be tracked separately."
+ ? "BYOK (Bring Your Own Key) usage will count toward this key's spending limit."
+ : "Only OpenRouter credits count toward the limit. BYOK usage is tracked separately."
}
isError={Boolean(error)}
errorText={error?.message}
@@ -108,7 +108,7 @@ export const OpenRouterApiKeyRotationParametersFields = () => {
onCheckedChange={(checked) => onChange(checked)}
isChecked={value ?? false}
>
- <p className="w-[9.6rem]">Include BYOK {(value ?? false) ? "Enabled" : "Disabled"}</p>
+ <span className="whitespace-nowrap">Include BYOK</span>
</Switch>
</FormControl>
)}