Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: issue with checkbox
IgorHortac035ed3e25f3
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.pngindex 8af4d01cca..612c748951 100644Binary 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 differdiff --git a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/OpenRouterApiKeyRotationParametersFields.tsx b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/OpenRouterApiKeyRotationParametersFields.tsxindex a1ce12ee67..fc7f820a8c 100644--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/OpenRouterApiKeyRotationParametersFields.tsx+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/OpenRouterApiKeyRotationParametersFields.tsx@@ -93,11 +93,13 @@ export const OpenRouterApiKeyRotationParametersFields = () => {control={control}render={({ field: { value, onChange }, fieldState: { error } }) => (<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."+ }isError={Boolean(error)}errorText={error?.message}- label="Include BYOK in limit"- isOptional- tooltipText="When enabled, usage from your own provider keys (BYOK - Bring Your Own Key) counts toward this key's spending limit. When disabled, only OpenRouter credits are counted. See OpenRouter BYOK docs for details."><SwitchclassName="bg-mineshaft-400/80 shadow-inner data-[state=checked]:bg-green/80"@@ -106,7 +108,7 @@ export const OpenRouterApiKeyRotationParametersFields = () => {onCheckedChange={(checked) => onChange(checked)}isChecked={value ?? false}>- <p className="w-[9.6rem]">{value ? "Yes" : "No"}</p>+ <p className="w-[9.6rem]">Include BYOK {(value ?? false) ? "Enabled" : "Disabled"}</p></Switch></FormControl>)}