Skip to content
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

Add credential using a base64 encoded API key #238

Merged
merged 2 commits into from
Aug 26, 2024
Merged

Conversation

swallez
Copy link
Member

@swallez swallez commented Aug 26, 2024

Add a new Credentials::EncodedApiKey variant using a single string containing the base64 encoded API key and secret.

Also sets the Authorization header as sensitive, so that its value is redacted in debug output.

Fixes #235

@swallez swallez added the enhancement New feature or request label Aug 26, 2024
@swallez swallez merged commit 756eec2 into main Aug 26, 2024
2 of 3 checks passed
@swallez swallez deleted the single-string-api-key branch August 26, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DOCS] Api key format doesn't match current UI
1 participant