Get-ITGlueAPIKey

SYNOPSIS

Gets the ITGlue API key

SYNTAX

Get-ITGlueAPIKey [-PlainText] [<CommonParameters>]

DESCRIPTION

The Get-ITGlueAPIKey cmdlet gets the ITGlue API key from the global variable and returns it as a SecureString

EXAMPLES

EXAMPLE 1

Get-ITGlueAPIKey

Gets the ITGlue API secret key global variable and returns an object with the secret key as a SecureString

EXAMPLE 2

Get-ITGlueAPIKey -PlainText

Gets the ITGlue API secret key global variable and returns an object with the secret key as plain text

PARAMETERS

-PlainText

Decrypt and return the API key in plain text

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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

NOTES

N/A

https://celerium.github.io/ITGlue-PowerShellWrapper/site/Internal/Get-ITGlueAPIKey.html

https://github.com/Celerium/ITGlue-PowerShellWrapper