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
import { FieldGroup } from "@app/components/v3";
import { OrgPermissionSubjects } from "@app/context";
import { OrgPermissionSecretShareAction } from "@app/context/OrgPermissionContext/types";
import { withPermission } from "@app/hoc";
import { OrgSecretShareLimitSection } from "./OrgSecretShareLimitSection";
import { SecretSharingAllowShareToAnyone } from "./SecretSharingAllowShareToAnyone";
import { SecretSharingBrandingSection } from "./SecretSharingBrandingSection";
export const SecretSharingSettingsTab = withPermission(
() => {
return (
<FieldGroup>
<SecretSharingAllowShareToAnyone />
<OrgSecretShareLimitSection />
<SecretSharingBrandingSection />
</FieldGroup>
);
},
{
action: OrgPermissionSecretShareAction.ManageSettings,
subject: OrgPermissionSubjects.SecretShare,
accessRestrictedMode: "dialog"
}
);