capabilities.work

Bulk-Issue API Keys to a Consumer

A 3-step recipe with Zuplo. We can help you get access.

Recipe · 3 steps

Bulk-Issue API Keys to a Consumer

with Zuplo · Developer Identity & Credential Management

Create a consumer, bulk-create keys, and list them.

  1. Create the consumer that the keys will be issued to.
  2. Bulk-create the supplied set of API keys for the consumer. The request body is an array of key bodies.
  3. List the consumer's keys to confirm the batch was issued.
What you'll need to have ready
  • accountName: The Zuplo account name (Settings > Project Information).
  • apiKey: The Zuplo Developer API key, sent as a Bearer token.
  • bucketName: The name of an existing bucket to create the consumer in.
  • consumerName: A friendly name for the consumer, matching ^[a-z0-9-]{1,128}$.
  • keys: An array of API key bodies (description/expiresOn) to create.
For your developer

Arazzo workflow zuplo:bulk-issue-consumer-keys, 3 operations: ApiKeyConsumersService_create → ApiKeyKeysService_bulkCreate → ApiKeyKeysService_list. Specs on APIs.io.