|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Add-NaIscsiInitiatorAuth
NAME
Add-NaIscsiInitiatorAuth
SYNOPSIS
Add initiator to the authentication list.
SYNTAX
Add-NaIscsiInitiatorAuth [-Initiator] <String> [-None] [-Controller <NaContr
oller>] [<CommonParameters>]
Add-NaIscsiInitiatorAuth [-Initiator] <String> -Chap [-Username <String>] [-
Password <String>] [-InboundCredential <PSCredential>] [-OutboundUsername <S
tring>] [-OutboundPassword <String>] [-OutboundCredential <PSCredential>] [-
Controller <NaController>] [<CommonParameters>]
Add-NaIscsiInitiatorAuth [-Initiator] <String> -Deny [-Controller <NaControl
ler>] [<CommonParameters>]
DESCRIPTION
Add initiator to the authentication list.
PARAMETERS
-Initiator <String>
Name of initiator. i.e. iqn.1987-06.com.initvendor1:appsrv.sn.2346.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-None
Specify this switch parameter for authentication type 'none'.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Chap
Specify this switch parameter for authentication type 'CHAP'.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Username <String>
Inbound CHAP user name. For the CHAP authentication type, the -Username
and -Password or -InboundCredential parameters must be specified.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Inbound CHAP user password. For the CHAP authentication type, the -Usern
ame and -Password or -InboundCredential parameters must be specified.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-InboundCredential <PSCredential>
PSCredential object containing inbound CHAP credentials. The username a
nd password supplied in the credential object take precedence over the u
sername and password supplied by the -Username and -Password parameters.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OutboundUsername <String>
Outbound CHAP user name. Outbound authentication is optional. If Outbou
nd authentication is not specified, then the initiator can only do inbou
nd traffic.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OutboundPassword <String>
Outbound CHAP user password. Outbound authentication is optional. If Ou
tbound authentication is not specified, then the initiator can only do i
nbound traffic.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OutboundCredential <PSCredential>
PSCredential object containing outbound CHAP credentials. The username
and password supplied in the credential object take precedence over the
username and password supplied by the -OutboundUsername and -OutboundPas
sword parameters.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Deny
Specify this switch parameter for authentication type 'deny'.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.Types.Iscsi.IscsiSecurityEntryInfo
NOTES
Category: iscsi
API: iscsi-initiator-add-auth
-------------- Example 1 --------------
C:\PS>Add-NaIscsiInitiatorAuth iqn.1991-05.com.microsoft:x3550rre7.rtprre.te
stdomain -None
Set authentication type to 'none' for the specified iSCSI initiator.
AuthType Initiator OutboundUserName UserName
-------- --------- ---------------- --------
none iqn.1991-05.com....
RELATED LINKS
Remove-NaIscsiInitiatorAuth
Get-NaIscsiInitiatorAuth
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|