import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rundeck: {
type: "app",
app: "rundeck",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.rundeck.$auth.api_url}/api/14/system/info`,
headers: {
"x-rundeck-auth-token": `${this.rundeck.$auth.api_token}`,
},
})
},
})
Rundeck uses API keys for authentication. When you connect your Rundeck account, Pipedream securely stores the keys so you can easily authenticate to Rundeck APIs in both code and no-code steps.