Skip to main content

Authentication and access control with Momento

Momento supports two credential types for Topics:

  • API keys (long-lived): one key works across all regions, and you must configure the regional endpoint (cell URL). See the API keys page and the regions page for endpoints.
  • Session tokens (short-lived): scoped credentials for data-plane access, created by the Auth client. See tokens.

If you supply an API key without a regional endpoint, the SDK will fail with the error Missing required property: endpoint.

Table of differences between API keys and tokens