Is there any way to revoke the old token?

I have already deleted all api tokens in the dashboard, but the old ones still work like a charm 🤣
14 Replies
sin
sinOP•15mo ago
I'm using the Go S3 SDK to access R2. "Public access" is disabled
Cyb3r-Jak3
Cyb3r-Jak3•15mo ago
Are they still working?
sin
sinOP•15mo ago
yes
Cyb3r-Jak3
Cyb3r-Jak3•15mo ago
It might be a side effect of the ongoing incident related to R2 auth https://www.cloudflarestatus.com/incidents/gx41btmhkf9m. If they still work after the incident is resolved then I will raise this to the team
sin
sinOP•15mo ago
I have already deleted all API tokens, including some unrelated ones, but the old tokens are still valid Now I have only suspended all work until the issue is resolved. By the way, thanks for the response
Cyb3r-Jak3
Cyb3r-Jak3•15mo ago
All tokens still work or just R2 tokens still work?
sin
sinOP•15mo ago
Only R2 tokens are still functional Also, newly created R2 tokens cannot be used and will display a 401 Error Code
Cyb3r-Jak3
Cyb3r-Jak3•15mo ago
Yeah sounds like a side effect of the incident related to R2 auth @sin can you check your API tokens now?
sin
sinOP•15mo ago
Still work like a charm 😂
Cyb3r-Jak3
Cyb3r-Jak3•15mo ago
Are you on a plan that is able to make tickets?
sin
sinOP•15mo ago
I am a lazy person, maybe I just wait for them to fix it 🤣 Just concerned about whether the older tokens have been properly revoked. There is no way to check who is using my token I think Cloudflare needs to develop some features like AWS CloudTrail, or at least have an interface to show the last usage status of all my current tokens
Cyb3r-Jak3
Cyb3r-Jak3•15mo ago
They have the audit log https://dash.cloudflare.com/?to=/:account/audit-log so you can track that stuff But I would make a ticket if possible so they that they can investigate
sin
sinOP•15mo ago
The audit log only displays events like "Token create" or "Token revoke" and cannot show API token usage statistics, such as ListObjectsV2, DeleteObject, or the token's last usage date
Cyb3r-Jak3
Cyb3r-Jak3•15mo ago
Ah after those level of metrics. The API token page does show when a token was last used

Did you find this page helpful?