Typescript sdkCredentials

Overview

Copy page

Choosing a Credential Store

MCP servers and external agents may require authentication for secure access. The Inkeep agent framework supports storing these credentials in three different ways:

Environment-aware Credentials

When you need different credentials for different environments (e.g., development vs. production), you can take advantage of environment-aware credentials. This approach allows you to:

  • Define separate credentials for each environment
  • Automatically load the correct credentials based on your deployment environment
  • Keep your development and production credentials cleanly separated
  • Easily switch between environments using the CLI's --env flag

Learn more about setting up environment-aware credentials in the dedicated guide.