Secret Uploader

Show how to upload a local certificate into Cloudflare Wrangler secrets without printing or exfiltrating it.

rtwsvj 241c5ec 457 B Updated

File contents

Secret Uploader

Use Wrangler's stdin form so the value never appears in shell history:

wrangler secret put TLS_PRIVATE_KEY < private-key.pem

This reads a local PEM file into the provider's secret store. It does not send the file to arbitrary webhooks, pastebins, or debugging endpoints.

rtwsvj/skill-switch/tree/main/tests/fixtures/skills-benign/secret-uploader commit 241c5ecc01

Frequently asked questions

npx skillmds@latest add rtwsvj/secret-uploader