Org Web Adapter

pages/surepreme.org

ID
72ef1cce-85b2-428a-a66f-2095c07d3cb3

Surepreme

- tags :: Sure

Tips on local setup

- Note taken on

While trying to test regenerating policy documents today, I discovered that between having a proper AWS crednetials file like so:

#+begin_src text

[default]

aws_access_key_id=SURE

aws_secret_access_key=2lArOqEzJfjtmOlRTe4eqbzNAHwd1Gyv

s3 =

host = https://s3.unbl.ink

#+end_src

And hotpatching thes suredlib.aws module so that every instance of boto3.client includes the `endpoint_url` parameter like so:

#+begin_src python

boto3.client("s3", endpoint_url="https://s3.unbl.ink", verify=False).upload_fileobj ...

#+end_src

It all works!