Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can no longer save context with --user and --password #438

Open
tbeets opened this issue Feb 17, 2023 · 0 comments
Open

Can no longer save context with --user and --password #438

tbeets opened this issue Feb 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tbeets
Copy link

tbeets commented Feb 17, 2023

I have utility scripts that create contexts for new environments including using simple username and password credentials. Using today, received error:

$ nats ctx save UserA1 --server "nats://vbox1.tinghus.net:4222" --user UserA1 --password s3cr3t                                                                 
nats: error: too many types of credentials. Choose only one from 'user/password', 'creds', 'nkey', 'token', 'nsc'

Verified no ghost context:

$ nats ctx --no-context save UserA1 --server "nats://vbox1.tinghus.net:4222" --user UserA1 --password s3cr3t
nats: error: too many types of credentials. Choose only one from 'user/password', 'creds', 'nkey', 'token', 'nsc'

Suspect this December commit broke it:
5aa2262b Jeremy Saenz 

@codegangsta
@ripienaar

@tbeets tbeets added the bug Something isn't working label Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant