Skip to content

Latest commit

 

History

History

access-control

logo

project status project stability

Momento Node.js SDK - Access Control Examples

Example Requirements

  • Node version 16 or higher is required
  • A Momento API key is required, you can generate one using the Momento Console

To run any of the examples you will need to install the dependencies once first:

npm install

Running the Example

This example demonstrates creating and using Momento API keys with different permissions

# Run example code
MOMENTO_API_KEY=<YOUR API KEY> npm run access-control

Example Code: access-control.ts

If you have questions or need help experimenting further, please reach out to us!


For more info, visit our website at https://gomomento.com!