HMAC-auth credentials

Get a HMAC-auth credential associated with a Consumer

Changed on

Get a HMAC-auth credential associated with a Consumer using ID.

get/{workspace}/consumers/{ConsumerIdForNestedEntities}/hmac-auth/{HMACAuthId}

Request

  • Base URL
    http://localhost:8001
  • Auth
    API key in header Kong-Admin-Token

Path parameters

ConsumerIdForNestedEntities, string required

Consumer ID for nested entities

HMACAuthId, string required

ID of the HMAC-auth credential to lookup

workspace, string required
Example:team-payments

The name of the workspace

Response

Successfully fetched HMAC-auth credential

HMACAuth required
consumer, object nullable
created_at, integer nullable

Unix epoch when the resource was created.

id, string nullable

A string representing a UUID (universally unique identifier).

secret, string nullable
tags, string[] nullable

A set of strings representing tags.

username, string required

Example response

{
  "consumer": {
    "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
  },
  "id": "75695322-e8a0-4109-aed4-5416b0308d85",
  "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
  "username": "xerxes"
}

Changes