This guide walks you through setting up the 1Password CLI with the ngrok shell extension to store and access your ngrok credentials via 1Password. This combination gives you the speed and simplicity of ngrok protected by the power of 1Password’s vault. By integrating ngrok with 1Password, you can:Documentation Index
Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Store your credentials in one place and avoid outdated tokens across environments after a reset
- Share credentials between environments securely without copy-pasting or reusing them across projects
- Switch between credentials at runtime to test different ngrok configurations, feature sets, or accounts
What you’ll need
- A 1Password account.
- 1Password desktop app (v8 or later) and 1Password CLI (v2.14.0 or later) installed on your machine.
- ngrok installed on your machine.
- Basic familiarity with the command line.
1. Initialize the 1Password ngrok shell plugin
To configure the ngrok shell extension, open a terminal and run this command:2. Clean up your ngrok.yml file
Now that your credentials are in your 1Password vault, you can remove them from your local environment. Use your text editor to update.ngrok2/ngrok.yml and remove the authtoken value:
#).
Either way, ngrok will no longer find and use that value.