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

Support basic auth in REST API endpoints #121

Closed
hsanjuan opened this issue Jul 13, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@hsanjuan
Copy link
Collaborator

commented Jul 13, 2017

Password-protecting these might be useful. Must include integration from ipfs-cluster-ctl.

@hsanjuan

This comment has been minimized.

Copy link
Collaborator Author

commented Aug 1, 2017

Nice to have:

  • Cluster should support an array of { username: , password: } which are used by the API component to grant or deny access a map { "username": "pw" } works too.
  • Probably a boolean to activate it (disabled by default)
  • ipfs-cluster-ctl takes a -u flag for the username:password. (also allow to take from some env variable)
  • Introduce a .ipfs-cluster/ctl.json configuration file used by ipfs-cluster-ctl which allows to permanently configure:
    • Basic authorization user and password
    • ipfs-cluster host
    • https (and ignore)
    • Output format

@hsanjuan hsanjuan added in progress and removed ready labels Aug 1, 2017

@dgrisham dgrisham removed the help wanted label Sep 11, 2017

@hsanjuan

This comment has been minimized.

Copy link
Collaborator Author

commented Oct 10, 2017

Implementation in #147

@hsanjuan hsanjuan added this to the All open issues with difficulty:medium or lower are fixed [Q4O1] milestone Oct 10, 2017

@hsanjuan hsanjuan referenced this issue Oct 11, 2017

Merged

Issue #121: BasicAuth REST API #147

9 of 9 tasks complete

hsanjuan added a commit that referenced this issue Oct 16, 2017

@dgrisham dgrisham closed this Oct 16, 2017

@ghost ghost removed the in progress label Oct 16, 2017

@hsanjuan hsanjuan referenced this issue Oct 17, 2017

Closed

Release v0.2.0 #180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.