Key
Synopsis
Get a key.
Syntax
Get-APIKey [-CollectionID <Int64>] [-Filter <String>] [-KeyStatus <String>] [-Page <Int32>] [-PageSize <Int32>] [-SortDirection <String>] [-SortColumn <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Get-APIKey [-KeyID <Int64>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Retrieves a specific API key by its ID, or lists all.
If listing all keys, you can filter by various dimensions.
Parameters
‑AccountSwitchKey | An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑CollectionID | Your collection's ID. Run |
‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Filter | Searches a phrase to filter the keys by. The phrase can be a part of the description, tags, or label. |
‑KeyID | Your key's ID. Run |
‑KeyStatus | The status of keys to return. One of:
|
‑PageNumber | The page number index, starting from |
‑PageSize | The number of keys on each page of results. |
‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑SortColumn | The name of the column to sort the keys by. You can sort the keys by their unique |
‑SortDirection | Sorts the order of keys, either |
Related Links
Updated 19 days ago
