'private_api_key' renamed to 'secret_api_key'. Typo fixed in tests