Keys to collection
Add-APIKeyToCollection
Synopsis
Assign keys.
Syntax
Add-APIKeyToCollection -CollectionIDs <Object> -KeyIDs <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Add-APIKeyToCollection -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Assigns keys to collections.
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. |
‑Body Conditionally required |
A request body, either as a |
‑CollectionIDs Conditionally required |
A comma-separated string containing key collection IDs. You can retrieve these with |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑KeyIDs Conditionally required |
A comma-separated string containing key IDs. You can retrieve these with |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 20 days ago