< Back

Get-AzureRmCognitiveServicesAccountKey

Thu Apr 04, 2019 5:39 am

NAME Get-AzureRmCognitiveServicesAccountKey



SYNOPSIS

Gets the API keys for an account.





SYNTAX

Get-AzureRmCognitiveServicesAccountKey [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmCognitiveServicesAccountKey cmdlet gets the API keys for a provisioned Cognitive Services account.



A Cognitive Services account has two API keys: Key1 and Key2. The keys enable interaction with the Cognitive Services account endpoint.



Use New-AzureRmCognitiveServicesAccountKey to regenerate a key.





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 the account. This cmdlet gets the keys for this account.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group the account is assigned to.



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.Management.CognitiveServices.Models.PSCognitiveServicesAccountKeys







NOTES









1:















RELATED LINKS

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

New-AzureRmCognitiveServicesAccountKey