Auth keys

Get-CloudWrapperAuthKey

Synopsis

Get an auth key.

Syntax

Get-CloudWrapperAuthKey [-ContractID] <String> [-CdnCode] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Retrieves the cdnAuthKeys for a specific Akamai contractId and specific third-party CDN (cdnCode). Auth Keys can be specified when running New-CloudWrapperConfiguration.

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.

‑CdnCode
Required

The ID Akamai uses for a third-party content delivery network (CDN). Run Get-CloudWrapperProvider to get these values.

‑ContractID
Required

Your contract's ID.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links