ayushkhare12

Untitled

Aug 19th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. from kombu.utils.url import quote
  2.  
  3. aws_access_key = quote("ABCDEFGHIJKLMNOPQRST")
  4. aws_secret_key = quote("ZYXK7NiynGlTogH8Nj+P9nlE73sq3")
  5.  
  6. broker_url = "sqs://{aws_access_key}:{aws_secret_key}@".format(
  7.     aws_access_key=aws_access_key, aws_secret_key=aws_secret_key,
  8. )
Add Comment
Please, Sign In to add comment