Trường Đại Học Sư Phạm Hà Nội

Trường THCS và THPT Nguyễn Tất Thành

Xóm ngoại hôm nay

Add your Authtoken to the ngrok agent using any of these methods:

 

Service Users

Building an integration or shared automation? Create a Service User and generate dedicated Authtokens.

 

Command Line

Authenticate the ngrok agent. This saves your Authtoken to the default configuration file so you only have to do it once.

Command Line

Show Authtoken

ngrok config add-authtoken $YOUR_AUTHTOKEN

Configuration File

Alternatively, add your Authtoken directly to ngrok.yml. Run ngrok config edit to open your config file.

ngrok.yml

Show Authtoken

version: 3agent:  authtoken: <your-authtoken>

Environment Variables

Prefer environment variables? Set NGROK_AUTHTOKEN in your shell profile (e.g., .bashrc or .zshrc) so it's available in new shells.

Command Line

Show Authtoken

export NGROK_AUTHTOKEN=$YOUR_AUTHTOKEN

Reset Your Authtoken

This action can't be undone. After resetting, update any agents, SDKs, or deployments to use the new Authtoken using one of the methods above.

Reset Authtoken