Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
993c187e
Commit
993c187e
authored
May 29, 2022
by
neilpang
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4105
fix
https://github.com/acmesh-official/acme.sh/issues/4105
parent
3ce67b28
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_edgedns.sh
View file @
993c187e
...
...
@@ -176,6 +176,7 @@ _EDGEDNS_credentials() {
_debug
"GettingEdge DNS credentials"
_log
"
$(
printf
"ACME DNSAPI Edge DNS version %s"
${
ACME_EDGEDNS_VERSION
}
)
"
args_missing
=
0
AKAMAI_ACCESS_TOKEN
=
"
${
AKAMAI_ACCESS_TOKEN
:-
$(
_readaccountconf_mutable AKAMAI_ACCESS_TOKEN
)
}
"
if
[
-z
"
$AKAMAI_ACCESS_TOKEN
"
]
;
then
AKAMAI_ACCESS_TOKEN
=
""
AKAMAI_CLIENT_TOKEN
=
""
...
...
@@ -184,6 +185,7 @@ _EDGEDNS_credentials() {
_err
"AKAMAI_ACCESS_TOKEN is missing"
args_missing
=
1
fi
AKAMAI_CLIENT_TOKEN
=
"
${
AKAMAI_CLIENT_TOKEN
:-
$(
_readaccountconf_mutable AKAMAI_CLIENT_TOKEN
)
}
"
if
[
-z
"
$AKAMAI_CLIENT_TOKEN
"
]
;
then
AKAMAI_ACCESS_TOKEN
=
""
AKAMAI_CLIENT_TOKEN
=
""
...
...
@@ -192,6 +194,7 @@ _EDGEDNS_credentials() {
_err
"AKAMAI_CLIENT_TOKEN is missing"
args_missing
=
1
fi
AKAMAI_HOST
=
"
${
AKAMAI_HOST
:-
$(
_readaccountconf_mutable AKAMAI_HOST
)
}
"
if
[
-z
"
$AKAMAI_HOST
"
]
;
then
AKAMAI_ACCESS_TOKEN
=
""
AKAMAI_CLIENT_TOKEN
=
""
...
...
@@ -200,6 +203,7 @@ _EDGEDNS_credentials() {
_err
"AKAMAI_HOST is missing"
args_missing
=
1
fi
AKAMAI_CLIENT_SECRET
=
"
${
AKAMAI_CLIENT_SECRET
:-
$(
_readaccountconf_mutable AKAMAI_CLIENT_SECRET
)
}
"
if
[
-z
"
$AKAMAI_CLIENT_SECRET
"
]
;
then
AKAMAI_ACCESS_TOKEN
=
""
AKAMAI_CLIENT_TOKEN
=
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment