Files
virtual-kubelet/scripts/createCredentials.sh
2017-12-05 17:53:58 -06:00

16 lines
585 B
Bash

#!/bin/bash
# This will build the credentials during the CI
cat <<EOF > ${outputPathCredsfile}
{
"clientId": "$clientId",
"clientSecret": "$clientSecret",
"subscriptionId": "$subscriptionId",
"tenantId": "$tenantId",
"activeDirectoryEndpointUrl": "$activeDirectoryEndpointUrl",
"resourceManagerEndpointUrl": "$resourceManagerEndpointUrl",
"activeDirectoryGraphResourceId": "$activeDirectoryGraphResourceId",
"sqlManagementEndpointUrl": "$sqlManagementEndpointUrl",
"galleryEndpointUrl": "$galleryEndpointUrl",
"managementEndpointUrl": "$managementEndpointUrl"
}
EOF