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

Api security #67

Merged
merged 9 commits into from
Jul 16, 2019
Merged

Conversation

nrempel
Copy link
Contributor

@nrempel nrempel commented Jul 12, 2019

Adds 2 new cli parameters:

--admin-insecure-mode
--admin-api-key

Exactly one of these two parameters are required if --admin is passed.

If an API key is provided, then requests must pass the key in the HTTP header X-API-Key otherwise the request will fail with a 401 response.

Signed-off-by: Nicholas Rempel <nbrempel@gmail.com>
Signed-off-by: Nicholas Rempel <nbrempel@gmail.com>
Signed-off-by: Nicholas Rempel <nbrempel@gmail.com>
@codecov-io
Copy link

Codecov Report

Merging #67 into master will decrease coverage by 0.09%.
The diff coverage is 48.14%.

@@            Coverage Diff            @@
##           master      #67     +/-   ##
=========================================
- Coverage   70.67%   70.58%   -0.1%     
=========================================
  Files         176      177      +1     
  Lines        7400     7424     +24     
=========================================
+ Hits         5230     5240     +10     
- Misses       2170     2184     +14

@andrewwhitehead andrewwhitehead merged commit 2156499 into openwallet-foundation:master Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants