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
}List all Secrets for the authenticated account. Secret values are not included for security reasons.
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
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The limit of items to return. Default is 20. Max is 5000.
Successfully retrieved list of Secrets. Values are omitted for security.
Was this page helpful?