Netstorage credentials

Synopsis

Export Netstorage credentials to a file.

Syntax

Export-NetstorageCredentials [[-NSRCFile] <String>] [[-Section] <String>] [-Key] <String> [-ID] <String> [-Group] <String> [-Hostname] <String> [-CPCode] <String> [-Force] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

This function will take a given set of Netstorage credentials and write them to a .nsrc file, either in the [default] section or a custom section if provided.

Parameters

‑CPCode
Required

Content provider code from your Netstorage group.

‑Force

Overwrite an existing section in your EdgeRCFile, if it exists.

‑Group
Required

Domain prefix of your Netstorage group.

‑Hostname
Alias: ‑host
Required

The API credential's hostname.

‑ID
Required

The id element to include in the edge auth token.

‑Key
Required

HTTP API key of your Netstorage upload account.

‑NSRCFile

NSRC file to update/create.

‑Section

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

Related Links

User Guide: Overview