Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

README updates #11

Merged
merged 2 commits into from
Aug 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ Create the Azure Active Directory application registrations

```PowerShell
az ad app create --display-name CloudRelayAPI
az ad app create --display-name CloudRelayClient --password S0meHardT0GuessPassw0rd

az ad app create --display-name CloudRelayClient
az ad app credential reset --display-name AzureCliGeneratedPwd --id <appId from the CloudRelayClient output> --append
```

Take note of both application registrations `appId` and provided `password`. They will be needed later on.
Take note of both application registrations `appId` and generated `password`. They will be needed later on.

### Resources Deployment

Expand All @@ -67,7 +69,7 @@ Deploy the `Distech.CloudRelay.Gateway.json` file into a resource group that ser
```PowerShell
az group create --name rg-cloudrelaygateway --location "East US"

az group deployment create `
az deployment group create `
--handle-extended-json-format `
--name CloudRelayGatewayDeployment `
--resource-group rg-cloudrelaygateway `
Expand All @@ -89,7 +91,7 @@ Deploy the `Distech.CloudRelay.Compute.json` file into a resource group that ser
```PowerShell
az group create --name rg-cloudrelaycompute --location "East US"

az group deployment create `
az deployment group create `
--handle-extended-json-format `
--name CloudRelayComputeDeployment `
--resource-group rg-cloudrelaycompute `
Expand Down Expand Up @@ -233,7 +235,7 @@ POST https://#.microsoftonline.com/{tenantId}/oauth2/v2.0/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: login.microsoftonline.com

grant_type=client_credentials&client_id={cloudRelayClientAppId}&client_secret=S0meHardT0GuessPassw0rd&scope={cloudRelayApiAppId}/.default
grant_type=client_credentials&client_id={cloudRelayClientAppId}&client_secret={azureCliGeneratedPwd}&scope={cloudRelayApiAppId}/.default
```

Response:
Expand Down