This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Hari. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like the error is pointing to an issue with the AWS access key ID in your S3 configuration not being recognized. This can happen for a few reasons: • The
access_key
in your egress configuration might be incorrect or have a small typo. • The AWS credentials could have been rotated or revoked recently. • There might be a mismatch between the access key and its corresponding secret key. To get this sorted, please double-check that the
access_key
and
secret
values in your S3 setup are accurate and that they have the right permissions for
PutObject
actions on your target bucket. If you need any help with this, I’m here for you! Sources: pkg/config/storage.go | s3.go | Egress API | LiveKit Docs | app/api/record/start/route.ts
Thanks so much for mentioning the third field! Could you please share a bit more about what this field is and how you’re using it in your setup? That way, I can get a clearer picture and assist you better.
n
If i provide session token extra, then it works. BUt i dont want to provide since the docs only specify the access key and the secret
t
Thanks for reaching out! I’d love to help you with the LiveKit egress and S3 uploads. It supports uploads using just an access key and secret, so a session token is usually not needed—unless you’re working with temporary credentials through AWS Security Token Service (STS) for role assumption. If adding a session token helped fix the issue, it might mean that the access key and secret you’re using are tied to temporary credentials. Could you please double-check if your credentials are temporary and require a session token? If they’re not, then it’s a good idea to make sure your access key and secret are correct and have the right permissions for uploading to S3. I’m here if you need any more guidance! Sources: livekit-protocol/src/livekit.rs | Egress output types | LiveKit Docs | pkg/config/base.go
n
Yes my credentials are STS temporary creds
t
I understand you're using STS temporary credentials, and I want to help make sure your S3 uploads go smoothly. When working with these temporary credentials from AWS Security Token Service (STS), it's really important to include the session token along with your access key and secret key for proper authentication. Please double-check that the session token is part of your configuration when using temporary credentials. If you run into any issues or have questions, feel free to reach out—I'm here to help!