Files
infisical/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/DatabricksSyncDestinationSection.tsx
T
2025-02-10 18:38:27 -08:00

15 lines
415 B
TypeScript

import { SecretSyncLabel } from "@app/components/secret-syncs";
import { TDatabricksSync } from "@app/hooks/api/secretSyncs/types/databricks-sync";
type Props = {
secretSync: TDatabricksSync;
};
export const DatabricksSyncDestinationSection = ({ secretSync }: Props) => {
const {
destinationConfig: { scope }
} = secretSync;
return <SecretSyncLabel label="Secret Scope">{scope}</SecretSyncLabel>;
};