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