Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.169
Language: C# Updated: 2026-10-13

API Reference

Command

Export-AppStoreConnectGovernance

Namespace PSPublishModule
Inputs
None
Outputs
System.IO.FileInfo PowerForge.AppStoreConnectGovernanceSpec

Exports current Apple commerce and compliance state as a reviewable governance declaration.

Remarks

Exports current Apple commerce and compliance state as a reviewable governance declaration.

Examples

Authored help example

EXAMPLE 1


Export-AppStoreConnectGovernance -IssuerId 'Value' -KeyId 'Value' -AppId 'Value'
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Export-AppStoreConnectGovernance -AppId <String> [-Force] -IssuerId <String> -KeyId <String> [-PassThru] -Path <String> [-PrivateKey <String>] [-PrivateKeyPath <String>] [-TokenLifetimeMinutes <Int32>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

AppId String requiredposition: namedpipeline: False
Exact App Store Connect app id to export.
Force SwitchParameter optionalposition: namedpipeline: False
Replace an existing snapshot file.
IssuerId String requiredposition: namedpipeline: False
Issuer ID from App Store Connect API keys.
KeyId String requiredposition: namedpipeline: False
Key ID associated with the private key.
PassThru SwitchParameter optionalposition: namedpipeline: False
Returns the declaration object instead of the output file.
Path String requiredposition: 0pipeline: False
Destination JSON file.
PrivateKey String optionalposition: namedpipeline: False
Private key text in PEM format.
PrivateKeyPath String optionalposition: namedpipeline: False
Path to a private key file in PEM format.
TokenLifetimeMinutes Int32 optionalposition: namedpipeline: False
Token lifetime in minutes, up to 20.

Outputs

System.IO.FileInfo, PowerForge.AppStoreConnectGovernanceSpec