# AzureBlobLeaseProviderOptions.ConfigureBlobServiceClient(Uri, StorageSharedKeyCredential)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azureblobleaseprovideroptions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azureblobleaseprovideroptions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Options/AzureBlobLeaseProviderOptions.cs#L99-L100)

```csharp
[System.Obsolete(Set the BlobServiceClient property directly.)]
public void ConfigureBlobServiceClient(Uri serviceUri, StorageSharedKeyCredential sharedKeyCredential)
```

Configures the [AzureBlobLeaseProviderOptions](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azureblobleaseprovideroptions/) using an authenticated service URI and a `Azure.Storage.StorageSharedKeyCredential`.

### Parameters

- `serviceUri` (`Uri`)
- `sharedKeyCredential` (`StorageSharedKeyCredential`)
