Version History

08-03-2023 : The configuration file can be now deleted.Instead of storing credentials within the configurations.py file.

It can be added as Environmental Variables. There won't be any change after the modification. And the script will work perfectly as before. In order to make this change. Do the following steps.

Navigate to Configuration -> Environmental Variables
Click on Edit and add the following fieds.The Save

Now in the lambda_function.py , replace with the following code block

import os

KITE_USERNAME = os.environ.get('KITE_USERNAME')
KITE_PASSWORD = os.environ.get('KITE_PASSWORD')
KITE_PIN = os.environ.get('KITE_PIN')
CDSL_PIN = os.environ.get('CDSL_PIN')

Last updated