Retrieve the Conection-String of the Endpoint:
ronald@Azure:~$ COSMOS_DB_ENDPOINT=$(az cosmosdb create \
> --resource-group RGTEST \
> --name $COSMOS_DB_NAME \
> --query documentEndpoint \
> --output tsv)
ronald@Azure:~$ echo $COSMOS_DB_ENDPOINT
https://aci-cosmos-db-4711.documents.azure.com:443/
Disclaimer
Since i’m trying to get rid of Evernote, too anoying too often, i’ll start to document non-private-stuff here.
ronald@Azure:~$ COSMOS_DB_MASTERKEY=$(az cosmosdb keys list \
> --resource-group RGTEST \
> --name $COSMOS_DB_NAME \
> --query primaryMasterKey \
> --output tsv)
ronald@Azure:~$ echo $COSMOS_DB_MASTERKEY
nVcsc0lq5troD9XgUl5RRONXUpaxX0pkK06qmDItkvXAUrRONyJHaasial3G8dajcc6tn6Y12i2D29tKP99CUw==
Disclaimer
Since i’m trying to get rid of Evernote, too anoying too often, i’ll start to document non-private-stuff here.