Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update README.md files
  • Loading branch information
Lakicar95 committed Dec 19, 2024
commit 84a3050e48a08e6cd7708086500311c07dc6276e
6 changes: 5 additions & 1 deletion sdk/maps/azure-maps-geolocation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Azure Management Libraries require a `TokenCredential` implementation for authen

### Authentication

There are 3 ways to authenticate the client: Shared key authentication, Microsoft Entra ID authentication, and shared access signature (SAS) authentication.

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
Expand All @@ -61,7 +63,9 @@ GeolocationClient client = new GeolocationClientBuilder()
.buildClient();
```

TThe sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.

For SAS-based authentication, please refer to [AccountsListSasSamples.java][https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/maps/azure-resourcemanager-maps/src/samples/java/com/azure/resourcemanager/maps/generated/AccountsListSasSamples.java].

See [Authentication][authenticate] for more options.

Expand Down
4 changes: 4 additions & 0 deletions sdk/maps/azure-maps-render/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Azure Maps Libraries require a `TokenCredential` implementation for authenticati

### Authentication

There are 3 ways to authenticate the client: Shared key authentication, Microsoft Entra ID authentication, and shared access signature (SAS) authentication.

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
Expand Down Expand Up @@ -66,6 +68,8 @@ MapsRenderClient client = builder.buildClient();

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.

For SAS-based authentication, please refer to [AccountsListSasSamples.java][https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/maps/azure-resourcemanager-maps/src/samples/java/com/azure/resourcemanager/maps/generated/AccountsListSasSamples.java].

See [Authentication][authenticate] for more options.

## Key concepts
Expand Down
4 changes: 4 additions & 0 deletions sdk/maps/azure-maps-route/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Azure Maps Libraries require a `TokenCredential` implementation for authenticati

### Authentication

There are 3 ways to authenticate the client: Shared key authentication, Microsoft Entra ID authentication, and shared access signature (SAS) authentication.

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
Expand Down Expand Up @@ -66,6 +68,8 @@ MapsRouteAsyncClient client = builder.buildAsyncClient();

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.

For SAS-based authentication, please refer to [AccountsListSasSamples.java][https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/maps/azure-resourcemanager-maps/src/samples/java/com/azure/resourcemanager/maps/generated/AccountsListSasSamples.java].

See [Authentication][authenticate] for more options.

## Key concepts
Expand Down
6 changes: 6 additions & 0 deletions sdk/maps/azure-maps-search/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Azure Maps Libraries require a `TokenCredential` implementation for authenticati

### Authentication

There are 3 ways to authenticate the client: Shared key authentication, Microsoft Entra ID authentication, and shared access signature (SAS) authentication.

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
Expand Down Expand Up @@ -66,6 +68,10 @@ MapsSearchClient client = builder.buildClient();

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.

For SAS-based authentication, please refer to AccountsListSasSamples.java for how to get the SAS token

For SAS-based authentication, please refer to [AccountsListSasSamples.java][https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/maps/azure-resourcemanager-maps/src/samples/java/com/azure/resourcemanager/maps/generated/AccountsListSasSamples.java].

See [Authentication][authenticate] for more options.

## Key concepts
Expand Down
4 changes: 4 additions & 0 deletions sdk/maps/azure-maps-timezone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Azure Management Libraries require a `TokenCredential` implementation for authen

### Authentication

There are 3 ways to authenticate the client: Shared key authentication, Microsoft Entra ID authentication, and shared access signature (SAS) authentication.

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
Expand All @@ -63,6 +65,8 @@ TimeZoneClient client = new TimeZoneClientBuilder()

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.

For SAS-based authentication, please refer to [AccountsListSasSamples.java][https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/maps/azure-resourcemanager-maps/src/samples/java/com/azure/resourcemanager/maps/generated/AccountsListSasSamples.java].

See [Authentication][authenticate] for more options.

## Key concepts
Expand Down
4 changes: 4 additions & 0 deletions sdk/maps/azure-maps-weather/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Azure Maps Libraries require a `TokenCredential` implementation for authenticati

### Authentication

There are 3 ways to authenticate the client: Shared key authentication, Microsoft Entra ID authentication, and shared access signature (SAS) authentication.

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
Expand All @@ -63,6 +65,8 @@ WeatherClient client = new WeatherClientBuilder()

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.

For SAS-based authentication, please refer to [AccountsListSasSamples.java][https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/maps/azure-resourcemanager-maps/src/samples/java/com/azure/resourcemanager/maps/generated/AccountsListSasSamples.java].

See [Authentication][authenticate] for more options.

## Key concepts
Expand Down
Loading