Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

527 B
Raw Blame
import { PieceAuth, Property } from '@activepieces/pieces-framework';

export const azureOpenaiAuth = PieceAuth.CustomAuth({
  props: {
    endpoint: Property.ShortText({
      displayName: 'Endpoint',
      description: 'https://<resource name>.openai.azure.com/',
      required: true,
    }),
    apiKey: PieceAuth.SecretText({
      displayName: 'API Key',
      description:
        'Use the Azure Portal to browse to your OpenAI resource and retrieve an API key',
      required: true,
    }),
  },
  required: true,
});