fix(opnsense): switch secrets to api-key key and secret for easier understanding (#3744)

This commit is contained in:
Meier Lukas
2025-08-08 17:53:03 +02:00
committed by GitHub
parent 4a07b3f866
commit 7f474683a5
6 changed files with 70 additions and 4 deletions

View File

@@ -9,6 +9,8 @@ export const integrationSecretKindObject = {
realm: { isPublic: true },
personalAccessToken: { isPublic: false },
topic: { isPublic: true },
opnsenseApiKey: { isPublic: false },
opnsenseApiSecret: { isPublic: false },
} satisfies Record<string, { isPublic: boolean }>;
export const integrationSecretKinds = objectKeys(integrationSecretKindObject);
@@ -174,7 +176,7 @@ export const integrationDefs = {
},
opnsense: {
name: "OPNsense",
secretKinds: [["username", "password"]],
secretKinds: [["opnsenseApiKey", "opnsenseApiSecret"]],
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/svg/opnsense.svg",
category: ["firewall"],
},