Get-GitHubUserGpgKey¶
SYNOPSIS¶
List GPG keys for a given user or the authenticated user
SYNTAX¶
Username¶
Get-GitHubUserGpgKey -Username <String> [-PerPage <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Me¶
Get-GitHubUserGpgKey [-ID <String>] [-PerPage <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTION¶
Lists a given user's or the current user's GPG keys.
EXAMPLES¶
EXAMPLE 1¶
Get-GitHubUserGpgKey
Gets all GPG keys for the authenticated user.
EXAMPLE 2¶
Get-GitHubUserGpgKey -ID '1234567'
Gets the GPG key with ID '1234567' for the authenticated user.
EXAMPLE 3¶
Get-GitHubUserGpgKey -Username 'octocat'
Gets all GPG keys for the 'octocat' user.
PARAMETERS¶
-Username¶
The handle for the GitHub user account.
Type: String
Parameter Sets: Username
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-ID¶
The ID of the GPG key.
Type: String
Parameter Sets: Me
Aliases: gpg_key_id
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PerPage¶
The number of results per page (max 100).
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 30
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
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¶
System.Management.Automation.PSObject¶
NOTES¶
List GPG keys for the authenticated user