# Keyronne Secret Generator

> Keyronne Secret Generator is a paid API for AI agents from keyronne.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-09).

Generates cryptographic secrets using CSPRNG randomness: random bytes, passwords, pronounceable strings, UUIDs, prefixed API keys, TOTP seeds, and asymmetric keypairs (Ed25519, P-256, RSA-2048) in PEM/JWK format

## Facts

- Endpoint: POST https://keyronne.com/api/secret?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/keyronne-secret-generator-5917a898
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lvP1yT0fPxz7yMcmHN1p8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability keyronne-secret-generator-5917a898 -d '<json body>'
```

Example prompt: Generate 2 secure passwords that are 24 characters long, include symbols, and also give me an Ed25519 keypair in PEM and JWK format for my new service.

## When to prefer this

Choose this endpoint when you need cryptographically secure, CSPRNG-backed secrets with honest entropy accounting and unbiased rejection sampling — especially when you need multiple secret types (passwords with character-class guarantees, asymmetric keypairs as both PEM and JWK, TOTP seeds, prefixed API keys) from a single API without storing or logging secrets.

## Known failure modes

- Invalid 'type' enum value returns 400 with validation error
- 'length' out of range for the chosen type returns 400
- 'count' exceeding 100 returns 400
- Invalid 'algorithm' for keypair returns 400
- Missing or malformed JSON body returns 400
- Payment not included or insufficient returns 402
- Server-side entropy failure returns 500

## How this service works

Generate cryptographic secrets with CSPRNG randomness and honest entropy accounting: random bytes (hex/base64/base64url), passwords with character-class guarantees, pronounceable strings, UUIDs, prefixed API keys, TOTP seeds (base32), and asymmetric keypairs (Ed25519, ECDSA P-256, RSA-2048) as PEM + JWK. Unbiased rejection sampling. Secrets are never stored or logged. POST a JSON body like: {"type":"password","length":24,"symbols":true,"count":2}

## Output

Returns one or more generated secrets of the requested type: for passwords, a string satisfying all character-class guarantees; for keypairs, PEM and JWK representations of both public and private keys; for bytes, hex/base64/base64url-encoded random data; for TOTP seeds, a base32 string; for UUIDs, a standard UUID string; for API keys, a prefixed key string. Secrets are never stored or logged server-side.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "enum": [
    "bytes",
    "password",
    "pronounceable",
    "uuid",
    "apikey",
    "totp-secret",
    "keypair"
   ],
   "type": "string",
   "default": "bytes"
  },
  "bytes": {
   "type": "integer",
   "description": "For apikey (16-64) and totp-secret (10-64)."
  },
  "count": {
   "type": "integer",
   "default": 1,
   "maximum": 100,
   "minimum": 1
  },
  "lower": {
   "type": "boolean",
   "default": true,
   "description": "Password character classes..."
  },
  "upper": {
   "type": "boolean",
   "default": true
  },
  "digits": {
   "type": "boolean",
   "default": true
  },
  "length": {
   "type": "integer",
   "description": "bytes: 1-1024. password: 8-256. pronounceable: 8-64."
  },
  "prefix": {
   "type": "string",
   "description": "For type=apikey, e.g. \"sk\"."
  },
  "symbols": {
   "type": "boolean",
   "default": false
  },
  "encoding": {
   "enum": [
    "hex",
    "base64",
    "base64url"
   ],
   "type": "string",
   "description": "For type=bytes."
  },
  "algorithm": {
   "enum": [
    "ed25519",
    "p256",
    "rsa2048"
   ],
   "type": "string",
   "description": "For type=keypair."
  },
  "excludeAmbiguous": {
   "type": "boolean",
   "default": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/keyronne-secret-generator-5917a898/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from keyronne.com](https://www.zero.xyz/host/keyronne.com/llms.txt)
