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

    kavinplays

    04/22/2022, 3:49 PM
    if it isn't in there, then you didn't get access
  • h

    HardAtWork

    04/22/2022, 3:49 PM
    Hm...
  • k

    kavinplays

    04/22/2022, 3:50 PM
    did you manage to send the dm before the cutoff?
  • h

    HardAtWork

    04/22/2022, 3:50 PM
    This was something else.
  • k

    kavinplays

    04/22/2022, 3:51 PM
    like a green name thing or the meetup form?
  • j

    john.spurlock

    04/22/2022, 4:19 PM
    Trying to get the s3 endpoint to work and failing, any hints? endpoint .r2.cloudflarestorage.com access_key_id secret_access_key (also tried hex(sha256(utf8())) with no luck) getting 401 with
    Unauthorized
    body. Same token works with rest api and deployed worker bucket binding. Using a path-style call to list-bucket-v2 (
    /<bucket-name>/?list-type=2
    )
  • c

    Craiggles

    04/22/2022, 4:27 PM
    This recent thread got me all excited -_-
  • c

    Craiggles

    04/22/2022, 4:27 PM
    Crossing my fingers for May
  • v

    Vitali

    04/22/2022, 4:52 PM
    secret_access_key is definitely
    hex(sha256(api token))
  • v

    Vitali

    04/22/2022, 4:52 PM
    Maybe
    account-id
    is off?
  • v

    Vitali

    04/22/2022, 4:53 PM
    What is the issue?
  • v

    Vitali

    04/22/2022, 4:53 PM
    Oh - for now you're getting the free enterprise plan for R2
  • v

    Vitali

    04/22/2022, 4:55 PM
    I don't know what the legal implications are for accepting/denying the agreement
  • v

    Vitali

    04/22/2022, 4:57 PM
    @lmtr0 was that your question?
  • l

    lmtr0

    04/22/2022, 4:58 PM
    I can't read the text
  • l

    lmtr0

    04/22/2022, 4:58 PM
    cause it's darkmode on dark text
  • v

    Vitali

    04/22/2022, 4:58 PM
    Ok. So it's unreadable when your browser is in dark mode
  • v

    Vitali

    04/22/2022, 4:58 PM
    I'll let the UI team know
  • j

    john.spurlock

    04/22/2022, 4:59 PM
    what's the region used for signing? i'm defaulting to
    us-east-1
  • v

    Vitali

    04/22/2022, 4:59 PM
    Naw
  • v

    Vitali

    04/22/2022, 4:59 PM
    R2 doesn't have regions
  • j

    john.spurlock

    04/22/2022, 4:59 PM
    but sigv4 does : )
  • v

    Vitali

    04/22/2022, 4:59 PM
    I know. I think it's "world"? Checking
  • v

    Vitali

    04/22/2022, 5:00 PM
    @albert what did you use?
  • a

    albert

    04/22/2022, 5:01 PM
    I didn't put anything. Let me check if an arbitrary string works.
  • a

    albert

    04/22/2022, 5:01 PM
    yup, arbitrary string works
  • a

    albert

    04/22/2022, 5:04 PM
    I got 401 Unauthorized when I didn't have a valid accessKeyId. If I had valid accessKeyId but invalid secretAccessKey, I got 403 Forbidden instead.
  • j

    john.spurlock

    04/22/2022, 5:05 PM
    i'm getting a 401 no matter what, hmm, the token id is the top level "id" in the json, right? ie the same as in the url that is PUT: PUT https://dash.cloudflare.com/api/v4/user/tokens/
  • v

    Vitali

    04/22/2022, 5:06 PM
    no
  • v

    Vitali

    04/22/2022, 5:07 PM
    The access_id is from the network tab
1...444546...1050Latest