import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
thunder_compute: {
type: "app",
app: "thunder_compute",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.thundercompute.com:8443/instances/list`,
headers: {
Authorization: `Bearer ${this.thunder_compute.$auth.api_token}`,
},
})
},
})
Thunder Compute uses API keys for authentication. When you connect your Thunder Compute account, Pipedream securely stores the keys so you can easily authenticate to Thunder Compute APIs in both code and no-code steps.