Akamai credentials

Get-AkamaiCredentials

Synopsis

Gets EdgeGrid credentials.

Syntax

Get-AkamaiCredentials [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Get-AkamaiCredentials cmdlet gets EdgeGrid credentials from session or environment variables or an authentication file.

Examples

  1. GET all credentials.

    Get-AkamaiCredentials
    
  2. GET credentials by section.

    Get-AkamaiCredentials -Section "notdefault" -AccountSwitchKey "my-account-switch-key"
    

Parameters

-EdgeRCFile

The path to an edgerc file.
Defaults to ~/.edgerc.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Section

The edgerc section name.
Defaults to default.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AccountSwitchKey

A key used to apply changes to an account external to your credentials' account.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Related Links

User Guide: Overview