Get-AutoTaskAPIKey

SYNOPSIS

Gets the AutoTask API username, secret, & integration code

SYNTAX

Index (Default)

Get-AutoTaskAPIKey [-AsPlainText]

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

The Get-AutoTaskAPIKey cmdlet gets the AutoTask API username, secret, & integration code from the global variables and returns them as an object

By default the secret is returned as a SecureString

EXAMPLES

EXAMPLE 1

Get-AutoTaskAPIKey

Gets the API values and returns them as an object with the secret as a SecureString

EXAMPLE 2

Get-AutoTaskAPIKey -AsPlainText

Gets the API values and returns them as an object with the secret as plain text

PARAMETERS

-AsPlainText

Decrypt and return the API secret in 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