Skip to content

Token stored in plain text when using "profile update" #95

@wjandrea

Description

@wjandrea

When I created a new API token and updated it in bb, I noticed that the token got stored in plain text in the config file without specifying --no-vault.

Example:

$ bb profile create --name TEST --user foo --password bar

$ yq '.profiles[] | select(.name == "TEST") .password' ~/.config/bitbucket/config-cli.yml
null

$ bb profile update TEST --user foo --password baz

$ yq '.profiles[] | select(.name == "TEST") .password' ~/.config/bitbucket/config-cli.yml
"bar"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions