Configure Loki to use Ceph

loki:
  storage:
    type: s3
    bucketNames:
      chunks: loki-chunks
      ruler: loki-ruler
      admin: loki-admin
    s3:
      endpoint: rook-ceph-rgw-righive.rook-ceph.svc.cluster.local:80
      accessKeyId: ${AWS_ACCESS_KEY_ID}
      secretAccessKey: ${AWS_SECRET_ACCESS_KEY}
      s3ForcePathStyle: true
      insecure: true

I created 3 Ceph buckets loki-admin, loki-chunks, loki-ruler. Once the objectbcketclaim creates three buckets I have three kubernetes secrets having access key and access id (each corresponding to that bucket) creates in loki namespace. Now I’m confused which of these bucket credentials needs to set as AWS_SECRET_ACCESS_KEY and AWS_SECRET_ACCESS_KEY

You could go into the ceph web dashboard and change the owner of the buckets so they all belong to the same user and then use that account for the s3 authentication. Not ideal I know, the other thing I have seen people doing is using s3 api