Skip to content

token with newline causes issues in creds file #269

@cprice404

Description

@cprice404

If you run momento configure --quick and paste bad token in w/ a newline at end. Then no matter what you do you cant overwrite the credential that was set in file. I ran into this earlier when had some bash command in clipboard instead of token so pasted the bash commands in for my token value on accident and then got stuck and had to rm my ~/.momento/credentials file to get unstuck. Even if you paste a valid token in then after there is no error so seems like it worked but then old bad value is still in the cred file?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions