#Is there a way to access secrets from the SecretContextProvider from the `validate` function?
3 messages · Page 1 of 1 (latest)
sample code
createScaffolderExtensions({
component: TestComponent,
name: "TestComponent",
schema: TCSchema,
validation: validateFunc
})
const validateFunc = (formData, errors, context) => {
// how can i access secrets here?
}
Unfortunately not at this moment no. Potentially could do though. What would you need the secrets for?