< Back

Get-AzureRmMediaServiceKeys

Tue Jan 29, 2019 9:52 pm

NAME Get-AzureRmMediaServiceKeys



SYNOPSIS

Gets key information for accessing the REST endpoint associated with the media service.





SYNTAX

Get-AzureRmMediaServiceKeys [-ResourceGroupName] <String> [-AccountName] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmMediaServiceKeys cmdlet gets key information for accessing the Representational State Transfer (REST) endpoint associated with the

Azure media service.





PARAMETERS

-AccountName <String>

Specifies the name of the media service that this cmdlet gets the media service keys from.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-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



-ResourceGroupName <String>

Specifies the name of the resource group that contains the media service.



Required? true

Position? 0

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

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Media.Models.PSServiceKeys







NOTES









Example 1: Get the key information for accessing the media service



PS C:\\>Get-AzureRmMediaServiceKeys -ResourceGroupName "ResourceGroup001" -AccountName "MediaService001"



This command gets the key information for accessing the media service named MediaService001 that belongs to the resource group named

ResourceGroup001.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ervicekeys

Set-AzureRmMediaServiceKey