FTP key

Set-NetstorageUploadAccountFTPKey

Synopsis

Update an upload account's FTP keys.

Syntax

Set-NetstorageUploadAccountFTPKey [-UploadAccountID] <String> [-Identity] <String> [-Key] <String> [[-Comments] <String>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Saves an upload account's FTP keys based on the upload account ID and FTP identity.

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.

‑Comments

Any optional notes made for the key.

‑EdgeRCFile

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

‑Identity
Required

A unique representation of your SSH Key. You can get this value by performing a GET operation for a specific upload account.

‑Key
Required

The key value.

‑Section

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

‑UploadAccountID
Required

The ID assigned to the target upload account. You can get this value by running Get-NetstorageUploadAccount and filtering the results.

Related Links