Encrypted credentials

type
'encryptedCredentials'
required

The authentication type.

name
string
required

The name of the credentials. I.e. Twitter account, OpenAI account, Stripe keys, etc.

schema
z.ZodObject<any>
required

The schema of the data that needs to be stored. See Options for more information.

Example:

option.object({
  apiKey: option.string.layout({
    isRequired: true,
    label: 'API key',
    withVariableButton: false,
  }),
})