-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
RHODS_1.5.0_GA
-
None
-
1
-
False
-
False
-
devel-ack, doc-ack
-
No
-
-
-
-
-
-
No
-
No
-
N/A
-
None
-
Description of problem:
Chapter-2 of Integrating data from Amazon S3, under procedure section. Observed that " " are missing for environment variable and also of s3 which present under iii point
1.Define your credentials.
key_id = os.environ.get(AWS_ACCESS_KEY_ID)
secret_key = os.environ.get(AWS_SECRET_ACCESS_KEY)
2. Define the client connection.
s3_client = boto3.client(s3, aws_access_key_id=key_id, aws_secret_access_key=secret_key)
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- <steps>
Actual results:
Expected results:
it should be as mentioned below:
1.Define your credentials.
key_id = os.environ.get("AWS_ACCESS_KEY_ID")
secret_key = os.environ.get("AWS_SECRET_ACCESS_KEY")
2. Define the client connection.
s3_client = boto3.client("s3", aws_access_key_id=key_id, aws_secret_access_key=secret_key)
Reproducibility (Always/Intermittent/Only Once):