VMware Cloud Community
_MikeW_
Enthusiast
Enthusiast

vRO workflows for PowerDNS, good start point?

I am trying to find a bit of documentation to get me on the right path to get PowerDNS API configured.

I've been trying to figure out how best to do that and tried the "Add rest host" workflow but PowerDNS requires extra headers for authentication tokens for proper communication. I've been trying to dig around and find some instruction that might help me sort out where to start to customize the "Add rest host" workflow to support this but no luck yet.

Would there be any good blogs or documentation on setting up something like this? To be honest I was surprised PowerDNS didn't already have some community support files to import/use... perhaps I am just not looking in the right places.

Thanks for your time.

Tags (1)
0 Kudos
3 Replies
xian_
Expert
Expert

Samples you can reuse in the following actions:

com.vmware.library.vra.rest /

  getBearerToken - how to get a token

  executeRestAction - how to add this token to the header

HTH

_MikeW_
Enthusiast
Enthusiast

Thanks for the pointers. I'll give it a shot.

0 Kudos
_MikeW_
Enthusiast
Enthusiast

It turns out PowerDNS uses "Swagger" style API.

Since there are workflows specific for that I'm trying to work with that.

PowerDNS provides the spec file and with some minor changes (server hostname) I've applied it. The only problem I'm still facing is where the API-Key "secret" is suppose to go. I've tried various methods and none work and google isn't coming up with any suggestions. Surely it goes "somewhere" in the "A a rest host swagger spec string" Workflow process?

0 Kudos