tbarbugli / cassandra_snapshotter

A tool to backup cassandra nodes using snapshots and incremental backups on S3
Other
222 stars 122 forks source link

Store credentials in a separate config file #40

Closed dizzythinks closed 8 years ago

dizzythinks commented 9 years ago

I have added the ability to use a config file for credentials as well as the command line. Essentially have done the following:

1: Remove "required" for aws-access-key-id and aws-secret-access-key 2: If neither of these are specified on the cli (or if only one is) we fall ack to the --credentials-ini value which can either be passed as an argument or has a default value of /etc/cassandra-snapshotter.ini 3: Format of ini in README

tbarbugli commented 9 years ago

going to have a look later, in the meantime please remove the print statements :)

dizzythinks commented 9 years ago

Oops! I thought I'd remove them from when I doing testing :)

tbarbugli commented 8 years ago

we'll do something similar on next version ;)