New-AzureRmApiManagementBackendCredential

Creates a new Backend Credential contract.

Syntax

New-AzureRmApiManagementBackendCredential
   [-CertificateThumbprint <String[]>]
   [-Query <Hashtable>]
   [-Header <Hashtable>]
   [-AuthorizationHeaderScheme <String>]
   [-AuthorizationHeaderParameter <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Creates a new Backend Credential contract.

Examples

Create a Backend Credentials In-Memory Object

PS C:\>$credential = New-AzureRmApiManagementBackendCredential -AuthorizationHeaderScheme basic -AuthorizationHeaderParameter opensesame -Query @{"sv" = @('xx', 'bb'); "sr" = @('cc')} -Header @{"x-my-1" = @('val1', 'val2')}

Creates a Backend Credentials Contract

Optional Parameters

-AuthorizationHeaderParameter

Authorization Header used for the Backend. This parameter is optional.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AuthorizationHeaderScheme

Authorization Scheme used for the Backend. This parameter is optional.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CertificateThumbprint

Client Certificate Thumbprints. This parameter is optional.

Type:System.String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Header

Header Parameter Values accepted by Backend. This parameter is optional.

Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Query

Query Parameter Values accepted by Backend. This parameter is optional.

Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementBackendCredential