https://prefect.io logo
e

Eric

09/25/2020, 7:41 PM
j

Johnny

09/25/2020, 7:48 PM
Like a dictionary
let me see if i can find my notes,
{aws_access_key_id:"your stuff here", aws_Secret_acess_key: "your stuff here"}
upvote 1
cap the keys too
e

Eric

09/25/2020, 7:50 PM
upvote 1
like this?
j

Johnny

09/25/2020, 7:50 PM
trying to remember if you need the quotes around the keys
e

Eric

09/25/2020, 7:50 PM
ty man!
j

Johnny

09/25/2020, 7:50 PM
try it with it/ then without
e

Eric

09/25/2020, 7:50 PM
will do
j

Johnny

09/25/2020, 7:50 PM
i had the same question as you like 3 days ago haha
e

Eric

09/25/2020, 7:50 PM
hey so I'm not dumb then!
just not super clear on docs
j

Johnny

09/25/2020, 7:51 PM
no it's a solid question, i was confused too
n

nicholas

09/25/2020, 7:51 PM
Looks like we can clarify the docs a little here, will try to get that out asap 😄
e

Eric

09/25/2020, 7:51 PM
and then boto inherist this?
thanks @nicholas :)
n

nicholas

09/25/2020, 7:52 PM
And yes, those are used to authenticate boto3
j

Johnny

09/25/2020, 7:53 PM
surprisingly you don't even need to import secrets... you can just use aws_credentials straight in you task. i used it like this:
Copy code
S3ResultHandler(bucket='<some bucket name>', aws_credentials_secret="aws_credentials")
and prefect took care of the rest, super cool
e

Eric

09/25/2020, 7:53 PM
oh nice
this worked with quotes, thanks @Johnny :)
j

Johnny

09/25/2020, 8:28 PM
nice!