You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Google Cloud APIs use the x-goog-api-key header to pass API keys. Currently, only the Authorization header is automatically redacted by req_headers(), as implemented in the internal function headers_redact(). x-goog-api-key is therefore not redacted:
I recently added support for YouTube Data API key authentication in gojiplus/tuber#126, and it would be great to be able to redact the x-goog-api-key header used here for use in continuous integration. More broadly, a .redact = TRUE argument to req_headers() would permit users to redact any header. The desired behavior would look like the code block below:
The Google Cloud APIs use the
x-goog-api-key
header to pass API keys. Currently, only theAuthorization
header is automatically redacted byreq_headers()
, as implemented in the internal function headers_redact().x-goog-api-key
is therefore not redacted:Created on 2023-06-29 with reprex v2.0.2
I recently added support for YouTube Data API key authentication in gojiplus/tuber#126, and it would be great to be able to redact the
x-goog-api-key
header used here for use in continuous integration. More broadly, a.redact = TRUE
argument toreq_headers()
would permit users to redact any header. The desired behavior would look like the code block below:The text was updated successfully, but these errors were encountered: