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

    lmtr0

    04/22/2022, 2:18 PM
    but nothing stops me from storing metadata in one and then the blob on another
  • l

    lmtr0

    04/22/2022, 2:18 PM
    and then using
    meta:<id>
    and
    file:<id>
  • k

    kian

    04/22/2022, 2:19 PM
  • v

    Vitali

    04/22/2022, 2:19 PM
    sigv4
  • k

    kian

    04/22/2022, 2:19 PM
    Gotta update this to be R2 when it's GA :^)
  • a

    albert

    04/22/2022, 2:19 PM
    Yeah, but what are the access/secret keys?
  • l

    lmtr0

    04/22/2022, 2:20 PM
    btw, the pool that Greg make a few days ago, how is the access going?
  • v

    Vitali

    04/22/2022, 2:21 PM
    That's from Digital Ocean though...?
  • i

    itsmatteomanf

    04/22/2022, 2:21 PM
    Not a clue... waiting for my access 😛
  • k

    kian

    04/22/2022, 2:21 PM
    It's under the S3 compatible one
  • k

    kian

    04/22/2022, 2:21 PM
    Guess R2 might end up having it's own
  • v

    Vitali

    04/22/2022, 2:21 PM
    I need to ping Greg.
  • l

    lmtr0

    04/22/2022, 2:21 PM
    me too :) (If I got in)
  • a

    albert

    04/22/2022, 2:22 PM
    I'm guessing the secretAccessKey is an API token, but what do I use as accessKeyId?
  • v

    Vitali

    04/22/2022, 2:22 PM
    Can you try your account ID?
  • a

    albert

    04/22/2022, 2:27 PM
    This no workey in rclone :/ access_key_id
    e5f0f929bb59b9d5e1bc9b35e9e3bf00
    secret_access_key
    <API token with "R2 Storage -> Edit" permission>
    endpoint
    e5f0f929bb59b9d5e1bc9b35e9e3bf00.r2.cloudflarestorage.com
  • v

    Vitali

    04/22/2022, 2:27 PM
    Sorry about that. Let me ask internally. I'm not super familiar with sigv4 yet
  • v

    Vitali

    04/22/2022, 2:29 PM
    Oof. So this is ugly. I'm sure we're going to fix this
  • v

    Vitali

    04/22/2022, 2:35 PM
    Ok. So here's what we've got right now: 1. Click on the 3 dots beside the token name. Hit "Edit" 2. Go to the bottom. Hit "Continue to summary" 3. Open the browser's developer tab & go to network 4. Click "Update token" 5. Look at the response body JSON. It has an "id" field. That's what you use
  • a

    albert

    04/22/2022, 2:38 PM
    That's better. At least now I get a Signature Mismatch rather than 401 Unauthorized 🙂 Do I have to specify a specific region?
  • v

    Vitali

    04/22/2022, 2:40 PM
    You have to use the sha256 of your token secret
  • v

    Vitali

    04/22/2022, 2:40 PM
    As the secretAccessKey
  • v

    Vitali

    04/22/2022, 2:41 PM
    And use path-based addressing style
  • a

    albert

    04/22/2022, 2:43 PM
    Alright, that works!
  • a

    albert

    04/22/2022, 2:43 PM
    Thanks a lot 😄
  • a

    albert

    04/22/2022, 2:47 PM
    Should I expect these credentials to become invalid at some point? Or will you keep using the same process but with an easy "create token" button in the R2 tab?
  • c

    Chaika

    04/22/2022, 2:48 PM
    I didn't realize, but I guess if you dm'd your account ID to Greg last monday or so, we already have API Access but not dashboard access? I don't see R2 in my dashboard, but I was able to create a bucket and setup cherryjimbo's sharex (

    â–¾

    ). I saw R2 in my Subscriptions in the dash, and that's what prompted me to try lol.
  • l

    lmtr0

    04/22/2022, 2:48 PM
    let me test
  • v

    Vitali

    04/22/2022, 2:48 PM
    The latter
  • v

    Vitali

    04/22/2022, 2:48 PM
    Creds should remain valid
1...394041...1050Latest