Skip to content
All tools

Credential Generator

Available

Generate client IDs and secrets locally with reusable, portable generation profiles.

Generated credentials stay in this browser session

Generation configuration

Profiles contain generation rules only. Generated values are never written into profile storage.

Client ID

clientId

Identifier

Client secret

clientSecret

Secret

Generated credentials

Secrets are hidden by default and remain only in workspace memory.

Client ID
—
Client secret
—

Output

Change representation without regenerating the credential values.

Generate credentials to see output here.
Credentials are not persisted to localStorage, sessionStorage, URLs or a Devary backend.

Cryptographically secure

Credential values use the browser Web Crypto CSPRNG. Random-string profiles use unbiased sampling instead of Math.random().

Reusable generation profiles

Save generation rules locally without storing the credentials those rules produce.

Portable configuration

Export and import versioned JSON profiles to reuse the same credential policy for another client or environment.

Developer guide

Generate local test credentials from controlled profiles

Choose reproducible credential specifications, not reproducible secret values. Outputs vary with secure browser randomness; profiles can be saved and reused.

Practical workflow

  1. Configure

    Choose a built-in profile such as OAuth client credentials or a prefixed API key, and inspect its field definitions.

  2. Try it

    Generate a fresh set, checking lengths, character alphabets and prefixes instead of expecting any fixed secret string.

  3. Check the result

    Export only safe test fixtures. Treat generated secrets as sensitive and follow your system's storage and rotation policies.

Worked examples

OAuth client credentials profile

The client identifier has a client_ prefix and 24 random lowercase or numeric characters; the secret encodes 32 random bytes.

Configuration

[
  {
    "type": "random-string",
    "length": 24,
    "alphabet": "lowercase-numeric",
    "prefix": "client_"
  },
  {
    "type": "random-bytes",
    "bytes": 32,
    "encoding": "base64url"
  }
]

Example input

OAuth / client credentials

Expected result

clientId: client_ + 24 lowercase/numeric chars
clientSecret: 32 random bytes, Base64URL encoded; value differs per run

Prefixed API key profile

The key_ prefix precedes a Base64URL encoding of 32 random bytes. Each execution should give a different value.

Configuration

{
  "type": "random-bytes",
  "bytes": 32,
  "encoding": "base64url",
  "prefix": "key_"
}

Example input

Prefixed API key

Expected result

apiKey: key_ + Base64URL encoding of 32 random bytes; value differs per run

Limits and safeguards

Supported scope

Random string, random bytes and UUID v4 generation are supported by the profile engine, within its configured size limits.

Before using in production

Generation does not store secrets in your service or deploy them. Avoid copying production credentials to online or shared artifacts.

Common question

Can I expect the exact example output on every run?

No. The profile determines the output format and entropy source, while cryptographic randomness produces a new value each time.