CoolCu
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
3 additions and
3 deletions
-
dnsapi/dns_aws.sh
-
dnsapi/dns_azure.sh
-
notify/aws_ses.sh
|
|
@ -34,7 +34,7 @@ dns_aws_add() { |
|
|
|
if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ]; then |
|
|
|
AWS_ACCESS_KEY_ID="" |
|
|
|
AWS_SECRET_ACCESS_KEY="" |
|
|
|
_err "You haven't specified the aws route53 api key id and and api key secret yet." |
|
|
|
_err "You haven't specified the aws route53 api key id and api key secret yet." |
|
|
|
_err "Please create your key and try again. see $(__green $AWS_WIKI)" |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
|
|
@ -351,7 +351,7 @@ _get_root() { |
|
|
|
p=1 |
|
|
|
|
|
|
|
## Ref: https://docs.microsoft.com/en-us/rest/api/dns/zones/list |
|
|
|
## returns up to 100 zones in one response therefore handling more results is not not implemented |
|
|
|
## returns up to 100 zones in one response therefore handling more results is not implemented |
|
|
|
## (ZoneListResult with continuation token for the next page of results) |
|
|
|
## Per https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits#dns-limits you are limited to 100 Zone/subscriptions anyways |
|
|
|
## |
|
|
|
|
|
@ -32,7 +32,7 @@ aws_ses_send() { |
|
|
|
if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ]; then |
|
|
|
AWS_ACCESS_KEY_ID="" |
|
|
|
AWS_SECRET_ACCESS_KEY="" |
|
|
|
_err "You haven't specified the aws SES api key id and and api key secret yet." |
|
|
|
_err "You haven't specified the aws SES api key id and api key secret yet." |
|
|
|
_err "Please create your key and try again. see $(__green $AWS_WIKI)" |
|
|
|
return 1 |
|
|
|
fi |
|
|
|