From 63438b3a3d7841aaeaa8cd699259d9aaab7eaa63 Mon Sep 17 00:00:00 2001 From: Alex Cazacu Date: Tue, 1 Jun 2021 22:54:07 +0200 Subject: [PATCH] Save credentials after successful authentication --- dnsapi/dns_gcloud.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dnsapi/dns_gcloud.sh b/dnsapi/dns_gcloud.sh index 8e529575..2ddfd788 100755 --- a/dnsapi/dns_gcloud.sh +++ b/dnsapi/dns_gcloud.sh @@ -95,6 +95,9 @@ _dns_gcloud_authenticate() { gcloud config set project "$GCLOUD_Project_ID" _info "_dns_gcloud_authenticate: configured gcloud project" + + _saveaccountconf_mutable CF_Token "$CF_Token" + _saveaccountconf_mutable CF_Account_ID "$CF_Account_ID" } _dns_gcloud_authenticate() {