pull/5276/head
stbeldarborge 2 months ago
parent 1029dd3504
commit 28afe6f29f
No known key found for this signature in database
GPG Key ID: 6BD73EF41DDF328B

@ -87,6 +87,7 @@ dns_azure_add() {
_saveaccountconf_mutable AZUREDNS_CLIENTSECRET "$AZUREDNS_CLIENTSECRET" _saveaccountconf_mutable AZUREDNS_CLIENTSECRET "$AZUREDNS_CLIENTSECRET"
fi fi
# Use provided bearer token if available and prefix it with Bearer if not already done
if [ -z "$AZUREDNS_BEARERTOKEN" ]; then if [ -z "$AZUREDNS_BEARERTOKEN" ]; then
accesstoken=$(_azure_getaccess_token "$AZUREDNS_MANAGEDIDENTITY" "$AZUREDNS_TENANTID" "$AZUREDNS_APPID" "$AZUREDNS_CLIENTSECRET") accesstoken=$(_azure_getaccess_token "$AZUREDNS_MANAGEDIDENTITY" "$AZUREDNS_TENANTID" "$AZUREDNS_APPID" "$AZUREDNS_CLIENTSECRET")
else else

Loading…
Cancel
Save