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 authentication and multi-tenancy to w3s driver #383

Closed
leszko opened this issue Jan 27, 2023 · 0 comments · Fixed by livepeer/go-tools#17
Closed

Add authentication and multi-tenancy to w3s driver #383

leszko opened this issue Jan 27, 2023 · 0 comments · Fixed by livepeer/go-tools#17
Assignees

Comments

@leszko
Copy link
Collaborator

leszko commented Jan 27, 2023

Use the provided key and proof for the web3.storage authentication.

In the w3s driver implementation PR, the w3 CLI is used with its stored credentials. We need to change it, so that the credentials passed while creating the driver (key and proof) are used.

Ideas how to solve it:

  1. Use a separate NodeJS script (as presented in the PoC PR)
    • We would need to implement the functions: w3 can store add and w3 can upload add (no need for w3 up)
    • The advantage is that the credentials can be stored in memory only
    • The drawback is that we'll need to have a separate NodeJS script in the catalyst-api repo
  2. Feed w3 CLI with key and proof (use profiles for multi-tenency)
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 a pull request may close this issue.

2 participants