Add-SIASSHHostKeyFingerprint
SYNOPSIS
Add an SSH host key fingerprint to SIA
SYNTAX
Add-SIASSHHostKeyFingerprint [-target_id] <String> [-fingerprint] <String>
[-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Stores an SSH host key fingerprint for a target so that SIA can validate the host identity on connection.
EXAMPLES
Example 1
Add-SIASSHHostKeyFingerprint -target_id i-0abc123 -fingerprint SHA256:abcd...
Stores the supplied SSH host key fingerprint for the specified target.
PARAMETERS
-fingerprint
The SSH host key fingerprint value to store for the target.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-target_id
The unique identifier of the target - an AWS instance ID, Azure VM ID, GCP instance ID, FQDN, or IP_LogicalNetworkName.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.String
OUTPUTS
System.Object
NOTES
Requires the DpaAdmin role.