Using AWS Secrets Manager with Python and boto3 for uploading objects to s3 bucket
For development, you will only need boto3, python 3.7 and pip, (if you are tesing on local pc then you need to configure aws cli) installed in your environement.
-
Just go on official Python website and download the installer. Also, be sure to have
pip
available in your PATH
If the installation was successful, you should be able to run the following command.
$ python --version
Python 3.7.9
$ pip --version
pip 20.1.1
After installing python, this project will need boto3 too, so just run the following command.
$ pip install boto3
$ git clone https://github.com/AkshayRatheesh/Using-...
$ cd push-objects-to-s3-boto3
$ pip install boto3
Open index.py
then edit it with your credentials. You will need:
- s3_BUCKET_NAME;
$ python index.py