New-AzNetworkCloudKeySetUserObject

Create an in-memory object for KeySetUser.

Syntax

New-AzNetworkCloudKeySetUserObject
   -AzureUserName <String>
   -SshPublicKeyData <String>
   [-Description <String>]
   [<CommonParameters>]

Description

Create an in-memory object for KeySetUser.

Examples

Example 1: Create an in-memory object for KeySetUser.

New-AzNetworkCloudKeySetUserObject -AzureUserName azureUserName -SshPublicKeyData "ssh-rsa-key" -Description "userDescription"

AzureUserName Description
------------- -----------
azureUserName userDescription

Create an in-memory object for KeySetUser.

Parameters

-AzureUserName

The user name that will be used for access.

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

-Description

The free-form description for this user.

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

-SshPublicKeyData

The SSH public key data.

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

Outputs

KeySetUser