EdgeGrid credentials
Synopsis
Export EdgeGrid credentials to a file.
Syntax
Export-EdgegridCredentials [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-HostName] <String> [-ClientToken] <String> [-AccessToken] <String> [-ClientSecret] <String> [-Force] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
This function will take a given set of EdgeGrid credentials and write them to a .edgerc file, either in the [default] section or a custom section if provided.
Parameters
‑AccessTokenAlias: ‑access_tokenRequired | Access token. |
‑AccountSwitchKeyAlias: ‑AccountKey, account_key | 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. |
‑ClientSecretAlias: ‑client_secretRequired | The API credential's client secret. |
‑ClientTokenAlias: ‑client_tokenRequired | The API credential's client token. |
‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Force | Overwrite an existing section in your EdgeRCFile, if it exists. |
‑HostNameAlias: ‑hostRequired | The API credential's hostname. |
‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 11 days ago
