https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • l

    lmtr0

    04/30/2022, 1:14 AM
    wait, I got confused>,
    https://{account_id}.r2.cloudflarestorage.com
  • l

    lmtr0

    04/30/2022, 1:15 AM
    I used the api id and sha256 in aws confugure
  • l

    lmtr0

    04/30/2022, 1:15 AM
    do I use the api id as account id?
  • v

    Vitali

    04/30/2022, 1:16 AM
    The value in the screenshot you sent never appears anywhere in sigv4
  • v

    Vitali

    04/30/2022, 1:16 AM
    Oh
  • v

    Vitali

    04/30/2022, 1:16 AM
    Yes - it's part of the URL
  • l

    lmtr0

    04/30/2022, 1:17 AM
    so the url is right ?
  • v

    Vitali

    04/30/2022, 1:17 AM
    yup
  • l

    lmtr0

    04/30/2022, 1:17 AM
    ok
  • l

    lmtr0

    04/30/2022, 1:17 AM
    so then
  • l

    lmtr0

    04/30/2022, 1:18 AM
    the problem is with....
  • v

    Vitali

    04/30/2022, 1:18 AM
    Does
    aws s3api list-objects-v2 --bucket higenku-suite --endpoint-url https://$CF_ACCOUNT_ID.r2.cloudflarestorage.com
    just by itself work?
  • l

    lmtr0

    04/30/2022, 1:19 AM
    returns
    Copy code
    An error occurred (SignatureDoesNotMatch) when calling the ListObjectsV2 operation: The request signature we calculated does not match the signature you provided. Check your secret access key and signing method.
  • l

    lmtr0

    04/30/2022, 1:19 AM
  • v

    Vitali

    04/30/2022, 1:19 AM
    try one more time
  • v

    Vitali

    04/30/2022, 1:19 AM
    I was monitoring the wrong logs
  • i

    Isaac McFadyen | YYZ01

    04/30/2022, 1:20 AM
    Is that $CF_ACCOUNT_ID replaced with your actual account ID?
  • l

    lmtr0

    04/30/2022, 1:20 AM
    ye
  • l

    lmtr0

    04/30/2022, 1:20 AM
    I tried with the id too
  • i

    Isaac McFadyen | YYZ01

    04/30/2022, 1:20 AM
    Don't know if BASH does substitution just in strings, thought it had to be in $()
  • l

    lmtr0

    04/30/2022, 1:20 AM
    it's zsh
  • l

    lmtr0

    04/30/2022, 1:20 AM
    but ok
  • i

    Isaac McFadyen | YYZ01

    04/30/2022, 1:20 AM
    Oh yeah, ZSH does.
  • i

    Isaac McFadyen | YYZ01

    04/30/2022, 1:20 AM
    Cool, didn't know that.
  • l

    lmtr0

    04/30/2022, 1:20 AM
    o
  • l

    lmtr0

    04/30/2022, 1:21 AM
    ok
  • i

    Isaac McFadyen | YYZ01

    04/30/2022, 1:21 AM
  • l

    lmtr0

    04/30/2022, 1:21 AM
    oh
  • l

    lmtr0

    04/30/2022, 1:21 AM
    welll
  • l

    lmtr0

    04/30/2022, 1:21 AM
    still doesn't work
1...838485...1050Latest