Browse Source

Merge pull request #679 from Dr-Shadow/env_dns_ovh

[DNS-01][OVH] Config from env
pull/681/head
Tim Kimber 4 years ago
committed by GitHub
parent
commit
9cf1897e1a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      dns_scripts/dns_add_ovh
  2. +3
    -3
      dns_scripts/dns_del_ovh

+ 3
- 3
dns_scripts/dns_add_ovh View File

@ -5,9 +5,9 @@ challenge="$2"
# Please, do not forget to ask for your credentials at https://eu.api.ovh.com/createToken/
# permissions needed are /domain/zone/* in GET,POST,DELETE
applicationKey="YourAK"
applicationSecret="YourAS"
consumerKey="YourCK"
applicationKey=${OVH_APPLICATION_KEY:-''}
applicationSecret=${OVH_APPLICATION_SECRET:-''}
consumerKey=${OVH_CONSUMER_KEY:-''}
topDomain=${domains[2]}
subDomain=${domains[1]%%.}


+ 3
- 3
dns_scripts/dns_del_ovh View File

@ -5,9 +5,9 @@ domains=($(echo "$1"|sed -e 's/^\(\([a-zA-Z0-9.-]*\?\)\.\)*\([a-zA-Z0-9-]\+\.[a-
# Please, do not forget to ask for your credentials at https://eu.api.ovh.com/createToken/
# permissions needed are /domain/zone/* in GET,POST,DELETE
applicationKey="YourAK"
applicationSecret="YourAS"
consumerKey="YourCK"
applicationKey=${OVH_APPLICATION_KEY:-''}
applicationSecret=${OVH_APPLICATION_SECRET:-''}
consumerKey=${OVH_CONSUMER_KEY:-''}
topDomain=${domains[2]}
subDomain=${domains[1]%%.}


Loading…
Cancel
Save