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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for