Skip to main content
Version: Next

SecretsContextProvider()

Home > @backstage/plugin-scaffolder-react > SecretsContextProvider

The Context Provider that holds the state for the secrets.

Signature:

SecretsContextProvider: (props: PropsWithChildren<{
initialSecrets?: Record<string, string>;
}>) => import("react/jsx-runtime").JSX.Element

Parameters

Parameter

Type

Description

props

PropsWithChildren<{ initialSecrets?: Record<string, string>; }>

**Returns:**

import("react/jsx-runtime").JSX.Element