Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureManagedCacheAccessKey

Get-AzureManagedCacheAccessKey

microsoft.azure.commands.managedcache.dll

Synopsis

Gets the access keys for an Azure Cache

Syntax

Get-AzureManagedCacheAccessKey [-Name] [<CommonParameters>]

Detailed Description

The Get-AzureManagedCacheAccessKey cmdlet gets the primary and secondary access keys for an Azure Cache. You can use these keys to allow clients, such as web applications, to access to your Azure Cache. Typically, you use the primary key, but use the secondary key to avoid delays while the primary key is being regenerated. To get new access keys, use the New- AzureManagedCacheAccessKey cmdletAn Azure Cache is a secure, dedicated cache that provides extremely fast access to data. This distributed, in-memory, scalable solution enables you to build highly scalable and responsive applications. For more information about Azure Cache, see Azure Cache (http://azure.microsoft.com/en-us/services/cache/).

Parameters

-Name <String>

Specifies the name of the Azure Cache. This parameter value is case-sensitve. Wildcard characters are not permitted. This parameter is required.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type

None

Return Type

Microsoft.Azure.Management.ManagedCache.Models.CachingKeysResponse

Notes

Examples

-------------------------- Example 1: Get the access key --------------------------

This command gets the access key for the contosocache Azure Cache.

PS C:\>Get-AzureManagedCacheAccessKey -Name contosocache

New-AzureManagedCacheAccessKey
New-AzureManagedCache
Get-AzureManagedCache
Set-AzureManagedCache
Remove-AzureManagedCache
Get-AzureManagedCacheAccessKey
New-AzureManagedCacheAccessKey