SSH key

Add-NetstorageUploadAccountSSHKey

Synopsis

Add SSH keys to an upload account.

Syntax

Add-NetstorageUploadAccountSSHKey [-UploadAccountID] <String> [-Key] <String> [[-EmailID] <String>] [[-Comments] <String>] [-Update] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Adds SSH keys to an upload account based on the upload account ID.

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.

‑EmailID

The NetStorage technical contact email address set up for the upload account.

‑Key
Required

The key value.

‑Section

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

‑Update

Provide this switch parameter when updating your SSH keys.

‑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