Skip to content

Set-SecretStorePassword unintuitive for inputs #33

@rjmholt

Description

@rjmholt

I wanted to use Set-SecretStorePassword and tried first with a positional parameter:

> Set-SecretStorePassword banana
Set-SecretStorePassword: A positional parameter cannot be found that accepts argument 'banana'.

So then I looked for the right parameter. Maybe it wants a SecureString?

> Set-SecretStorePassword -<tab>
Verbose              WarningAction        WarningVariable      OutBuffer
Debug                InformationAction    InformationVariable  PipelineVariable
ErrorAction          ErrorVariable        OutVariable

Hmmm, ok maybe it'll prompt me for the right parameter if I just execute it with no arguments?

> Set-SecretStorePassword
Old password
Enter password:

Oh! Hmmm, what is this? Oh it's literally prompting me the old fashioned way!

How do I automate this or get it to interact with other PowerShell stuff?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions