external help file | Module Name | online version | schema |
---|---|---|---|
Az.Attestation-help.xml |
Az.Attestation |
2.0.0 |
Creates a new Attestation Provider.
New-AzAttestationProvider -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
-Location <String> [-PolicySigningCertificateKeyPath <String>] [-Tag <Hashtable>] [-DefaultProfile <PSObject>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Creates a new Attestation Provider.
New-AzAttestationProvider -Name testprovider1 -ResourceGroupName test-rg -Location "eastus"
Location Name ResourceGroupName
-------- ---- -----------------
eastus testprovider1 test-rg
This command creates a new Attestation Provider named testprovider1
in resource group test-rg
.
New-AzAttestationProvider -Name testprovider2 -ResourceGroupName test-rg -Location "eastus" -PolicySigningCertificateKeyPath .\cert1.pem
Location Name ResourceGroupName
-------- ---- -----------------
eastus testprovider2 test-rg
This command creates a new Attestation Provider named testprovider2
with trusted signing keys in resource group test-rg
.
The credentials, account, tenant, and subscription used for communication with Azure.
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The supported Azure location where the attestation provider should be created.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the attestation provider.
Type: System.String
Parameter Sets: (All)
Aliases: ProviderName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the set of trusted signing keys for issuance policy in a single certificate file. The value of the "keys" parameter is an array of JWK values. Bydefault, the order of the JWK values within the array does not implyan order of preference among them, although applications of JWK Setscan choose to assign a meaning to the order for their purposes, ifdesired. To construct, see NOTES section for POLICYSIGNINGCERTIFICATEKEY properties and create a hash table.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the resource group. The name is case insensitive.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID of the target subscription.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: (Get-AzContext).Subscription.Id
Accept pipeline input: False
Accept wildcard characters: False
The tags that will be assigned to the attestation provider.
Type: System.Collections.Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.