Netstorage Credentials

Get-NetstorageCredentials

Synopsis

Gets NetStorage credentials.

Syntax

Get-NetstorageCredentials [[-AuthFile] <String>] [[-Section] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Get-NetstorageCredentials cmdlet gets NetStorage authentication credentials from environment variables or an authentication file.

Examples


Get-NetstorageCredentials

Get-NetstorageCredentials -AuthFile "/path/to/auth" -Section "MySection"

Parameters

‑AuthFile

Your NetStorage auth file (NSRC) to read credentials from.

‑Section

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

Related Links