List API resource secrets
Retrieves a list of secrets associated with the API resource.
API-KeyX-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
The unique identifier of the API resource.
Response Body
application/json
The API resource secrets were retrieved successfully
TypeScript Definitions
Use the response body type in TypeScript.
Returns an array. Each item has the fields below.
Secret Response: Represents a credential used by a client or API resource.
Errors
curl -X GET "https://your-domain.us.monocloud.com/api/resources/api_resources/n8TniSuy4WN9ROJYNwir6/secrets" \ -H "X-API-KEY: <token>"[ { "id": "string", "description": null, "expiration": null, "type": "shared_secret", "creation_time": 0, "last_updated": 0, "secret_value": "string" }]