Skip to content

Instantly share code, notes, and snippets.

@AntonOfTheWoods
AntonOfTheWoods / ovh_consumer_key.py
Last active October 2, 2020 02:43
Get OVH API consumer key for Let's Encrypt DNS cert-manager certificate issuer provider
# This is a template for getting the famous "consumer key" that you need in order to set up
# Let's Encrypt DNS issuing for your domain via the DNS provider
# See https://medium.com/@gabin.chambon/automatic-certificate-generation-on-kubernetes-with-cert-manager-on-ovh-cloud-a0b58b64279b
# for most details, including the installation of https://github.com/baarde/cert-manager-webhook-ovh.
# This script is useful for the part:
# Then we need to create an OVH API Key , access this URL : And create an API Access with the GET PUT POST DELETE
# right on the /<domain>/zone/* (replace with the domain you want to validate).
# Here are instructions for getting all the credentials you need and configuring this correctly, as it is far from obvious for someone