< Back
Get-AzureRmRedisCacheKey
Post
NAME Get-AzureRmRedisCacheKey
SYNOPSIS
Gets the access keys for a Redis Cache.
SYNTAX
Get-AzureRmRedisCacheKey [-DefaultProfile <IAzureContextContainer>] -Name <String> [-ResourceGroupName <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmRedisCacheKey cmdlet gets the access keys for an Azure Redis Cache.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of a Redis Cache.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group that contains the Redis Cache.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
You can pipe input to this cmdlet by property name, but not by value.
OUTPUTS
Microsoft.Azure.Management.Redis.Models.RedisAccessKeys
This cmdlet returns primary and secondary access keys for a Redis Cache.
NOTES
Example 1: Get the access keys for a Redis Cache
PS C:\\>Get-AzureRmRedisCacheKey -ResourceGroupName "MyResourceGroup" -Name "MyCacheKey"
PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo=
SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo=
This command gets the access keys named MyCacheKey.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... iscachekey
New-AzureRmRedisCacheKey
SYNOPSIS
Gets the access keys for a Redis Cache.
SYNTAX
Get-AzureRmRedisCacheKey [-DefaultProfile <IAzureContextContainer>] -Name <String> [-ResourceGroupName <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmRedisCacheKey cmdlet gets the access keys for an Azure Redis Cache.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of a Redis Cache.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group that contains the Redis Cache.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
You can pipe input to this cmdlet by property name, but not by value.
OUTPUTS
Microsoft.Azure.Management.Redis.Models.RedisAccessKeys
This cmdlet returns primary and secondary access keys for a Redis Cache.
NOTES
Example 1: Get the access keys for a Redis Cache
PS C:\\>Get-AzureRmRedisCacheKey -ResourceGroupName "MyResourceGroup" -Name "MyCacheKey"
PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo=
SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo=
This command gets the access keys named MyCacheKey.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... iscachekey
New-AzureRmRedisCacheKey