fugue / credstash

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

Add comment option to the put all operation #216

Closed chengchengmu closed 5 years ago

chengchengmu commented 6 years ago

Currently running the put all operation leads to this error:

"credstash.py”, line 386, in putSecretAction
   context=args.context, digest=args.digest, comment=args.comment,
AttributeError: ‘Namespace’ object has no attribute ‘comment’

This is because the comment is not an argument for the putall operation but put is expecting comment. Adding the comment to the putall operation solves the problem and it also makes sense to add a comment in the bulk put operation.