GET
/
v1
/
secrets
import Runloop from '@runloop/api-client';

const client = new Runloop({
  bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});

const secretListView = await client.secrets.list();

console.log(secretListView.has_more);
{
  "secrets": [
    {
      "id": "<string>",
      "name": "<string>",
      "create_time_ms": 123,
      "update_time_ms": 123
    }
  ],
  "has_more": true,
  "total_count": 123,
  "remaining_count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Successfully retrieved list of Secrets. Values are omitted for security.

A paginated list of Secrets.