New-​Azure​Rm​Api​Management​Backend​Credential

Creates a new Backend Credential contract.

Syntax

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

Description

Creates a new Backend Credential contract.

Examples

Create a Backend Credentials In-Memory Object

$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:String[]
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