返回 Skill 列表
extension
分类: 开发与工程无需 API Key

Nodes Credentials Patterns

实现n8n凭证类型,包括API密钥、OAuth2和基于头部的认证模式。在创建*.credentials.ts文件、实现ICredentialType接口、配置OAuth2流程、设置凭证测试、注入认证头部或遵循凭证安全最佳实践时使用此技能。适用于构建任何需要API认证、令牌管理或安全凭证处理的n8n节点。

person作者: jakexiaohubgithub

When to use this skill:

  • When creating new credential files (*.credentials.ts)
  • When implementing ICredentialType interfaces
  • When setting up API key authentication
  • When configuring OAuth2 credential flows
  • When implementing header-based authentication with the authenticate property
  • When adding credential testing with ICredentialTestRequest
  • When using getCredentials() in node execute methods
  • When handling production vs sandbox environments
  • When implementing token refresh logic for OAuth2
  • When following security best practices (never log credentials, use password typeOptions)
  • When declaring credentials in node description
  • When testing credential validation in n8n UI

Nodes Credentials Patterns

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle nodes credentials patterns.

Instructions

For details, refer to the information provided in this file: nodes credentials patterns