Skip to main content

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>;
}>) => React.JSX.Element

Parameters

Parameter

Type

Description

props

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

**Returns:**

React.JSX.Element