Table of Contents

Get-PnPStoredCredential

SYNOPSIS

Get a credential

SYNTAX

Get-PnPStoredCredential -Name <String> 

DESCRIPTION

Returns a stored credential from the Windows Credential Manager or Mac OS Key Chain Entry.

EXAMPLES

EXAMPLE 1

Get-PnPStoredCredential -Name O365

Returns the credential associated with the specified identifier

PARAMETERS

-Name

The credential to retrieve.

Type: String
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices