Get-APITCGAPIKey

SYNOPSIS

Gets the APITCG API key

SYNTAX

Index (Default)

Get-APITCGAPIKey [-AsPlainText]

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

The Get-APITCGAPIKey cmdlet gets the APITCG API key from the global variable

By default the API key is returned as a SecureString

EXAMPLES

EXAMPLE 1

Get-APITCGAPIKey

Gets the API key and returns it as a SecureString

EXAMPLE 2

Get-APITCGAPIKey -AsPlainText

Gets the API key and returns it as plain text

PARAMETERS

-AsPlainText

Decrypt and return the API key as plain text

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

N/A