API credential
Synopsis
Get a credential.
Syntax
Get-IAMAPICredential [[-ClientID] <String>] [[-CredentialID] <Int32>] [-Actions] [-ActiveOnly] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Gets all API credentials or returns a specific API credential by its ID.
Note: If you don't specify a value for the
-ClientIDparameter, it takes the value ofselfand operates on the API client you're using to perform this operation.
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. |
‑Actions | When enabled, includes actions you can perform on the object. |
‑ClientID | Your API client's ID. To get this value, run |
‑CredentialID | Your credentials' ID. To get this value for your credentials, 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 15 days ago
