Skip to content

Commit 2e0b577

Browse files
committed
Redis Cache - added Service SAS URL steps to Export
1 parent 0fa1fc2 commit 2e0b577

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/ResourceManager/RedisCache/Commands.RedisCache/help/Export-AzureRmRedisCache.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ This command exports data from an Azure Redis Cache instance into the container
3232
## PARAMETERS
3333

3434
### -Container
35-
Specifies the SAS URL of container where this cmdlet exports data.
35+
Specifies the Service SAS URL of container where this cmdlet exports data. You can generate a Service SAS URL using the following PowerShell commands:
36+
37+
```
38+
$storageAccountContext = New-AzureStorageContext -StorageAccountName “storageName” -StorageAccountKey “key”
39+
40+
$sasKeyForContainer = New-AzureStorageContainerSASToken -Name “containername” -Permission "rwdl" -StartTime ([System.DateTime]::Now).AddMinutes(-15) -ExpiryTime ([System.DateTime]::Now).AddHours(3) -Context $storageAccountContext -FullUri
41+
```
3642

3743
```yaml
3844
Type: String

0 commit comments

Comments
 (0)