# Version History

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

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](https://3955321061-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp7u3ewUbKREM72nYbdNg%2Fuploads%2FYQNFpQfiqRluOhDOP5DS%2FScreenshot%202022-03-08%20165606.png?alt=media\&token=f10ef726-9f95-434b-b3a3-2d371a45c433)

![Click on Edit and add the following fieds.The Save](https://3955321061-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp7u3ewUbKREM72nYbdNg%2Fuploads%2F8Kv9rBy1QJ5YjgwMIKmO%2FScreenshot%202022-03-08%20165717.png?alt=media\&token=2e458d52-0d80-46fc-89e7-43a130fc8d34)

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')
```

![](https://3955321061-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp7u3ewUbKREM72nYbdNg%2Fuploads%2FekRbQf933RdyMCi41Az6%2FScreenshot%202022-03-08%20165831.png?alt=media\&token=78a78bcc-ea9e-4b0e-9d47-71b9fc5095c5)
