-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating docs to indicate correct Authorization Header for Signed URL requests #2
Conversation
Hey @kellydunn: Cloudflare API has two authentication methods: API Keys and API Tokens. You either need to specify Here's the page where some differences between tokens and keys are documented: https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys New developers on Cloudflare seem to use API Tokens rather than Keys so I think we should move all examples in the Stream docs to use Tokens. |
@ispivey @renandincer should this be closed? |
Word, yeah -- we currently enjoy segmenting access to third-party APIs in our SOA/microservice Architecture by creating Service Specific Access Tokens, not just for cloudflare, but for other services as well. I'd imagine folks would definitely want to follow similar patterns if they wanted to separate access on a service by service level. |
@adamschwartz I'll push up a change making all examples use auth tokens, rather than auth keys to avoid confusion. Please keep this open for a few days until I get to it. |
Opened #149 to make this change across the entire Stream docs |
@renandincer Should we close this then? |
Yep! Let's discuss on #149! |
Deploying cloudflare-docs with Cloudflare Pages
|
Update short-lived-certificates.md
Files with changes (up to 15)
|
* [Chore] Expand ignore list #2 * Update language
While attempting to integrate our backend with Cloudflare Stream, I was consistently receiving the following error when supplying the
"X-Auth-Key: ${API-KEY}"
header as the docs indicate:However, when supplying the same
API_KEY
as anAuthorization: Bearer ${API_KEY}
header, I'm able to get a successful request.This PR updates the docs to reflect this.