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
Closed

Support basic auth in REST API endpoints #121

hsanjuan opened this issue Jul 13, 2017 · 2 comments
Assignees
Labels
exp/novice Someone with a little familiarity can pick up kind/enhancement A net-new feature or improvement to an existing feature

Comments

@hsanjuan
Copy link
Collaborator

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

@hsanjuan hsanjuan added exp/novice Someone with a little familiarity can pick up kind/enhancement A net-new feature or improvement to an existing feature help wanted Seeking public contribution on this issue status/ready Ready to be worked labels Jul 13, 2017
@hsanjuan
Copy link
Collaborator Author

hsanjuan 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 status/in-progress In progress and removed status/ready Ready to be worked labels Aug 1, 2017
@dgrisham dgrisham removed the help wanted Seeking public contribution on this issue label Sep 11, 2017
@hsanjuan
Copy link
Collaborator Author

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 added a commit that referenced this issue Oct 16, 2017
@ghost ghost removed the status/in-progress In progress label Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/novice Someone with a little familiarity can pick up kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants