Skip to content

Support -Target in Get-Credential #10

@brianmccarty

Description

@brianmccarty

In Set-Credential you can specify the -target attribute, it would be nice to support -target in Get-Credential as well.

This would allow setting the target as some short name, and allow easy get requests of the short target name vs username. Mainly for use from CLI.

For example I may want to request the credentials for a client Office 365 login with a username of
domainuser@somecompanyname.onmicrosoft.com but would set the target to compa and be able to easy recall it with get-credential -target compa

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