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