< Back

Get-BitbucketKey

Sat Jan 11, 2020 2:26 pm

NAME Get-BitbucketKey



SYNOPSIS

Obtains all Consumer Keys (ClientID) and Secrest using the Bitbucket API.





SYNTAX

Get-BitbucketKey [-UserID] <String> [[-Credential] <PSCredential>] [[-Human] <Boolean>] [<CommonParameters>]





DESCRIPTION

Uses the 'password Grant' OAuth2 flow to list all Consumers for a specified Bitbucket User.





PARAMETERS

-UserID <String>

The Bitbucket User Name used in the Bitbucket URL e.g. https://bitbucket.org/bloggsj



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Credential <PSCredential>

Existing Credential Object to access Private Bitbucket Account



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Human <Boolean>

Specify if Human is running function to show formatted display. Default is false



Required? false

Position? 3

Default value False

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



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



PS C:\\>Get-BitbucketKey -UserID bloggsj













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



PS C:\\>Get-Bitbucket -UserID bloggsj -Credential $UserCreds















RELATED LINKS