< Back

New-AzureRmIntegrationAccountCertificate

Tue Jan 29, 2019 9:51 pm

NAME New-AzureRmIntegrationAccountCertificate



SYNOPSIS

Creates an integration account certificate.





SYNTAX

New-AzureRmIntegrationAccountCertificate -CertificateName <String> [-DefaultProfile <IAzureContextContainer>] -KeyName <String> -KeyVaultId

<String> -KeyVersion <String> [-Metadata <Object>] -Name <String> [-PublicCertificateFilePath <String>] -ResourceGroupName <String> [-Confirm]

[-WhatIf] [<CommonParameters>]



New-AzureRmIntegrationAccountCertificate -CertificateName <String> [-DefaultProfile <IAzureContextContainer>] -KeyName <String> -KeyVaultId

<String> -KeyVersion <String> [-Metadata <Object>] -Name <String> -PublicCertificateFilePath <String> -ResourceGroupName <String> [-Confirm]

[-WhatIf] [<CommonParameters>]



New-AzureRmIntegrationAccountCertificate -CertificateName <String> [-DefaultProfile <IAzureContextContainer>] [-KeyName <String>] [-KeyVaultId

<String>] [-KeyVersion <String>] [-Metadata <Object>] -Name <String> -PublicCertificateFilePath <String> -ResourceGroupName <String> [-Confirm]

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The New-AzureRmIntegrationAccountCertificate cmdlet creates an integration account certificate. This cmdlet returns an object that represents the

integration account certificate. Specify the integration account name, resource group name, certificate name, key name, key version, and key vault

ID. Template parameter file values that you specify at the command line take precedence over template parameter values in a template parameter

object.



This module supports dynamic parameters. To use a dynamic parameter, type it in the command. To discover the names of dynamic parameters, type a

hyphen (-) after the cmdlet name, and then press the Tab key repeatedly to cycle through the available parameters. If you omit a required template

parameter, the cmdlet prompts you for the value.





PARAMETERS

-CertificateName <String>

Specifies a name for the integration account certificate.



Required? true

Position? named

Default value None

Accept pipeline input? False

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



-KeyName <String>

Specifies the name of the certificate key in the key vault.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-KeyVaultId <String>

Specifies a key vault ID.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-KeyVersion <String>

Specifies the version of the certificate key in the key vault.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Metadata <Object>

Specifies a metadata object for the certificate.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of an integration account.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PublicCertificateFilePath <String>

Specifies the path of a public certificate (.cer) file.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of a resource group.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

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.Management.Logic.Models.IntegrationAccountCertificate







NOTES









Example 1: Create an integration account certificate



PS C:\\>New-AzureRmIntegrationAccountCertificate -ResourceGroupName "ResourceGroup11" -Name "IntegrationAccount31" -CertificateName

"IntegrationAccountCertificate01" -KeyName "TestKey" -KeyVersion "1.0" -KeyVaultId

"/subscriptions/<subscriptionId>/resourcegroups/ResourceGroup11/providers/microsoft.keyvault/vaults/keyvault" -PublicCertificateFilePath

"c:\\temp\\Certificate.cer"

Id : /subscriptions/<SusbcriptionId>/resourceGroups/ResourceGroup11/providers/Microsoft.Logic/integrationAccounts/IntegartionAccount

31/certificates/IntegrationAccountCertificate01

Name : IntegrationAccountCertificate01

Type : Microsoft.Logic/integrationAccounts/certificates

CreatedTime : 3/26/2016 6:59:07 PM

ChangedTime : 3/26/2016 6:59:07 PM

KeyName : TestKey

KeyVersion : 1.0

KeyVaultId : /subscriptions/<SusbcriptionId>/resourcegroups/ResourceGroup11/providers/microsoft.keyvault/vaults/<name>

KeyVaultName : testkeyvault

KeyVaultName : testkeyvault

PublicCertificate :

MetaData :



This command creates the integration account certificate in the specified resource group.







RELATED LINKS

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

Get-AzureRmIntegrationAccountCertificate

Remove-AzureRmIntegrationAccountCertificate

Set-AzureRmIntegrationAccountCertificate