DigiCert is a leading global provider of digital certificates.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The DigiCert API provides a programmatic interface to manage the lifecycle of SSL/TLS certificates, offering automation for tasks such as ordering, reissuing, and renewing certificates. Using Pipedream, you can harness this API to create powerful workflows that enhance your certificate management process, ensuring security compliance, automating routine tasks, and integrating with other services, like monitoring systems or deployment pipelines.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
digicert: {
type: "app",
app: "digicert",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.digicert.com/services/v2/user`,
headers: {
"Content-Type": `application/xml`,
"X-DC-DEVKEY": `${this.digicert.$auth.api_key}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS