capabilities.work

Create a Consumer and Issue an API Key

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

Recipe · 3 steps

Create a Consumer and Issue an API Key

with Zuplo · Developer Identity & Credential Management

Create a consumer, issue an API key, and read the key back.

  1. Create a consumer in the existing bucket.
  2. Create an API key for the new consumer with an optional description and expiration date.
  3. Read the API key back by id to confirm it was created and surface its metadata.
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}$.
  • keyDescription: An optional description for the API key.
  • expiresOn: An optional ISO-8601 date-time when the key expires.
For your developer

Arazzo workflow zuplo:create-consumer-and-key, 3 operations: ApiKeyConsumersService_create → ApiKeyKeysService_create → ApiKeyKeysService_get. Specs on APIs.io.