Choose a length and optional prefix, then generate. Tokens use secure randomness so they are safe to use as real API keys and secrets.
They are generated with the Web Crypto API, giving cryptographically secure randomness suitable for production secrets.
A short prefix like sk_ or pk_ helps identify a token's type and scope at a glance, as many API providers do.
32 characters or more of random alphanumerics gives ample entropy for bearer tokens and API keys.