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 response = await client.devboxes.createSSHKey('id');
console.log(response.id);{
"id": "<string>",
"url": "<string>",
"ssh_private_key": "<string>",
"ssh_user": "<string>"
}Create an SSH key for a Devbox to enable remote access.
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 response = await client.devboxes.createSSHKey('id');
console.log(response.id);{
"id": "<string>",
"url": "<string>",
"ssh_private_key": "<string>",
"ssh_user": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.runloop.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Devbox ID.
Was this page helpful?