Find secrets in a .env or config file: paste it and scan
Anshuman Atrey
Paste the text of a .env file, a config file, a log or any snippet and find the API keys, tokens and private keys in it with Betterleaks' 200+ rules, nothing installed. The example holds fake values; paste yours to check it before you commit or share it.
Input
Output fields
Sign up on Apify or log in
The Betterleaks Cloud - GitHub & S3 Secret Scanner Actor is ready to run with the inputs already set for "Find secrets in a .env or config file: paste it and scan". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Find secrets in a .env or config file: paste it and scan" task
The Betterleaks Cloud - GitHub & S3 Secret Scanner Actor will start running based on the input automatically. You can also change all the input fields, like raw text content to scan (stdin mode) and enable live secret validation, to match your specific use case.
Receive the "Find secrets in a .env or config file: paste it and scan" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as rule, description, secret value, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Find secrets in a .env or config file: paste it and scan" task via API.

Integrate "Find secrets in a .env or config file: paste it and scan" into your workflow
Connect "Find secrets in a .env or config file: paste it and scan" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay