migrate to secret_cred.py from config.json