< Back

Get-PAAuthorizations

Sat Jan 18, 2020 7:31 pm

NAME Get-PAAuthorizations



SYNOPSIS

Get the authorizations associated with a particular order or set of authorization URLs.





SYNTAX

Get-PAAuthorizations [-AuthURLs] <String[]> [[-Account] <Object>] [<CommonParameters>]





DESCRIPTION

Returns details such as fqdn, status, expiration, and challenges for one or more ACME authorizations.





PARAMETERS

-AuthURLs <String[]>

One or more authorization URLs. You also pipe in one or more PoshACME.PAOrder objects.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Account <Object>

An existing ACME account object such as the output from Get-PAAccount. If no account is specified, the current

account will be used.



Required? false

Position? 2

Default value

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

PoshACME.PAAuthorization





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PAAuthorizations https://acme.example.com/authz/1234567



Get the authorization for the specified URL.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-PAOrder | Get-PAAuthorizations



Get the authorizations for the current order on the current account.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-PAOrder -List | Get-PAAuthorizations



Get the authorizations for all orders on the current account.











RELATED LINKS

Project: https://github.com/rmbolger/Posh-ACME

Get-PAOrder

New-PAOrder