Get-RocketCyberAPIKey
SYNOPSIS
Gets the RocketCyber API key
SYNTAX
Index (Default)
Get-RocketCyberAPIKey [-AsPlainText]
ALIASES
This cmdlet has the following aliases,
- Get-RCApiKey
DESCRIPTION
The Get-RocketCyberAPIKey cmdlet gets the RocketCyber API key from the global variable and returns it as a SecureString
EXAMPLES
EXAMPLE 1
Get-RocketCyberAPIKey
Gets the API key and returns it as a SecureString
EXAMPLE 2
Get-RocketCyberAPIKey -AsPlainText
Gets and decrypts the API key from the global variable and returns the API key as plain text
PARAMETERS
-AsPlainText
Decrypt and return the API key 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