Skip to content

Username and password flags not working correctly when using --endpoint #19

@merlijn-sebrechts

Description

@merlijn-sebrechts

When using --endpoint, the --username and --password flags stop working.

So while this works

wsman --endpoint "https://$USERNAME:$PASSWORD@$IP:16993" --noverifypeer --noverifyhost --optimize --encoding utf-8 enumerate "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_AssociatedPowerManagementService" -d 6

This does not work

wsman --endpoint "https://$IP:16993" -u "$USERNAME" -p "$PASSWORD" --auth=digest --noverifypeer --noverifyhost --optimize --encoding utf-8 enumerate "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_AssociatedPowerManagementService"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions