New PodeAuthKeyTab - mdaneri/Pode GitHub Wiki
external help file: Pode-help.xml Module Name: Pode online version: PodeType: Authentication schema: 2.0.0
A simple helper function, to help generate a new Keytab file for use with Kerberos authentication.
New-PodeAuthKeyTab [-Hostname] <String> [-DomainName] <String> [-Username] <String> [[-Password] <String>]
[[-FilePath] <String>] [[-Crypto] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
A simple helper function, to help generate a new Keytab file for use with Kerberos authentication.
New-PodeAuthKeyTab -Hostname 'pode.example.com' -DomainName 'example.com' -Username 'example\pode_user'
New-PodeAuthKeyTab -Hostname 'pode.example.com' -DomainName 'example.com' -Username 'example\pode_user' -Password 'pa$$word!'
New-PodeAuthKeyTab -Hostname 'pode.example.com' -DomainName 'example.com' -Username 'example\pode_user' -FilePath 'custom_name.keytab'
New-PodeAuthKeyTab -Hostname 'pode.example.com' -DomainName 'example.com' -Username 'example\pode_user' -Crypto 'AES256-SHA1'
The Encryption type to use for the Keytab file. (Default: All)
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: All
Accept pipeline input: False
Accept wildcard characters: False
The Domain Name to use for the Keytab file.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The File Path to save the Keytab file. (Default: pode.keytab)
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: Pode.keytab
Accept pipeline input: False
Accept wildcard characters: False
The Hostname to use for the Keytab file.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Password to use for the Keytab file. (Default: * - this will prompt for a password)
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Username to use for the Keytab file.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This function uses the ktpass command to generate the Keytab file.