Skip to main content
Version: v1.4 (stable)

keyvault key random-bytes

Generates random bytes using the Key Vault random number generator.

Options

  • --vault-name - (Optional) Key Vault name. When provided the remote Key Vault RNG endpoint is used; otherwise bytes are generated locally.
  • -c, --count - (Required) (Required) Number of random bytes to generate (1–128).

Examples

Generate 32 random bytes

$ topaz keyvault key random-bytes --count 32
Star on GitHub