API credential
New-IAMAPICredential
Synopsis
Create a credential.
Syntax
New-IAMAPICredential [[-ClientID] <String>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Creates a new credential for your API client or for another API client by specifying their client ID. If you want to create a credential for your API client, specify a value of self
in the -ClientID
parameter.
Note: This is the only time you'll see the client secret. Save the credential to avoid the need to create a new one.
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. |
‑ClientID |
Your API client's ID. To get this value, run |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated about 5 hours ago