How To Generate Secret

Tell the user the command to generate a random 32-byte hex string for a secret, token, API key, or signing key. Use when the user needs to create a strong random secret.

ProstDev 42f22e5 664 B Updated

File contents

How to generate a secret

Remind the user of the command to generate a random 32-byte hex string for secrets, tokens, API keys, signing keys, etc. The command is:

openssl rand -hex 32

Do not run this command yourself; the user should run it in their own terminal so the secret is generated locally and never passes through the session.

Do not explain the command or its output; just provide the command and the context above.

ProstDev/skills/tree/main/plugins/dev/skills/how-to-generate-secret commit 42f22e5fd7

Frequently asked questions

npx skillmds@latest add prostdev/how-to-generate-secret