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
}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,
"remaining_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.
A paginated list of Secrets.
List of Secret objects. Values are omitted for security.
Show child attributes
True if there are more results available beyond this page.
Total number of Secrets across all pages.
Number of Secrets remaining after this page.
Was this page helpful?