Script to stage store delivery spec to secret manager.
===============



### Installation

```
cd stange-store-specs
pyvenv-3.6 venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
export DD_MYSQL_USER = {}
export DD_MYSQL_PASSWORD = {}
export DD_MYSQL_HOST = {}
export Environment = 'qa'

```
### Place private keys in local directory
Before running the script, please store private keys on `private_keys` directory.

Example :

Store specific `private_keys/{STORE_ID}/id_rsa`
or in absence of store_id folder the script will lookup in private_keys directory. 
`private_keys/id_rsa`
### Running the script 
```
python stage.py --dms_id=1223,1
#this will pull all stores from dms_delivery_spec table and stage creds to secret manager.
python stage.py
```

