Skip to content

Latest commit

 

History

History
83 lines (61 loc) · 2.66 KB

New-AzConfidentialLedgerCertBasedSecurityPrincipalObject.md

File metadata and controls

83 lines (61 loc) · 2.66 KB
external help file Module Name online version schema
Az.ConfidentialLedger-help.xml
Az.ConfidentialLedger
2.0.0

New-AzConfidentialLedgerCertBasedSecurityPrincipalObject

SYNOPSIS

Create an in-memory object for CertBasedSecurityPrincipal.

SYNTAX

New-AzConfidentialLedgerCertBasedSecurityPrincipalObject [-Cert <String>] [-LedgerRoleName <LedgerRoleName>]
 [<CommonParameters>]

DESCRIPTION

Create an in-memory object for CertBasedSecurityPrincipal.

EXAMPLES

Example 1: Object creation

New-AzConfidentialLedgerCertBasedSecurityPrincipalObject `
  -Cert "-----BEGIN CERTIFICATE-----********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************-----END CERTIFICATE-----" `
  -LedgerRoleName "Reader"
Cert
----
-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhc…

Creates an AadBasedSecurityPrincipalObject that may be used for Az.ConfidentialLedger commands.

PARAMETERS

-Cert

Public key of the user cert (.pem or .cer).

Type: System.String
Parameter Sets: (All)
Aliases:

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

-LedgerRoleName

LedgerRole associated with the Security Principal of Ledger.

Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerRoleName
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.CertBasedSecurityPrincipal

NOTES

RELATED LINKS