Secrets

List Secrets

Gets all non-expired secret of the specified type.

get/api/secrets/{secretType}

Request

  • Base URL: http://localhost:5000
  • URL: http://localhost:5000/api/secrets/{secretType}
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Path parameters

secretType'jwt' | 'dashboard_password' | 'secret_key_base' required

The Secret type

Response

List of non-expired secrets of the specified type.

idinteger

Secret's ID, unique within the specified type.

expiresAtstring

Date and time in ISO8601 format with timezone.

Example response

[
  {
    "id": 1,
    "expiresAt": "2019-09-16T15:05:03.712909Z"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.