Get-vPenTestAPIKey
SYNOPSIS
Gets the vPenTest API token
SYNTAX
Index (Default)
Get-vPenTestAPIKey [-AsPlainText]
ALIASES
This cmdlet has the following aliases,
- None
DESCRIPTION
The Get-vPenTestAPIKey cmdlet gets the vPenTest API token from the global variable
By default the token is returned as a SecureString
EXAMPLES
EXAMPLE 1
Get-vPenTestAPIKey
Gets the API token and returns it as a SecureString
EXAMPLE 2
Get-vPenTestAPIKey -AsPlainText
Gets the API token and returns it as plain text
PARAMETERS
-AsPlainText
Decrypt and return the API token 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