2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-08-31 06:15:14 +00:00

Torn between being explicit or giving an example that shows the bad practice of hard coding.

Bill Gertz
2019-10-14 12:03:45 +02:00
parent 3fcb1b20df
commit c195ed3b0c

@@ -186,9 +186,9 @@ Your HTTP method call may require additional headers for Authorization, ContentT
```
...
myusername='admin@dnsprovider.com'
mypassword='secret_password'
mycredentials="$(printf "%s" "$MIAB_Username:$MIAB_Password" | _base64)"
myusername="$DNS_API_username"
mypassword="$DNS_API_password"
mycredentials="$(printf "%s" "$myusername:$mypassword" | _base64)"
export _H1="Authorization: Basic $mycredentials"
export _H2="ContentType: application/json"