fugue / credstash

A little utility for managing credentials in the cloud
Apache License 2.0
2.06k stars 214 forks source link

-v flag not working #217

Open opichon opened 6 years ago

opichon commented 6 years ago
credstash -r ap-southeast-1 --table xxxx -p profile put -v 0000000000000000002 key value

gives the following output: pkey version 0000000000000000002 is already in the credential store. Use the -v flag to specify a new version

I've also tried this with thesame result:

credstash -r ap-southeast-1 --table xxxx -p profile put key value -v 0000000000000000002

Note that the docs are very confusing as to the position of options. credstash is very forgiving about the position of some options, but not for the position of the v option.

the -a option does not work at all.

DevOpsJon commented 6 years ago

Related: It seems like 1.13 versions starting at 0 and 1.15 starts at 1. Need to override this to be version 0 in 1.15 and can't.