Skip to content

Authenticated request to Kubo RPC #89

@NatoBoram

Description

@NatoBoram

The goal is to be able to publish from a GitHub Workflow to Kubo using ipfs add --api --api-auth and register the URL as a Deployment URL.

Both Caddy and Kubo support basic auth, so I'm not sure where to configure it. It should also be possible to configure it using Authentik, but then I'd have to configure access so only admins can access it or something. I'd rather have the simplest solution available, so it's probably going to be configured in Caddy.


A GitHub Action can deploy with --api --api-auth and output the CID. It can even reply with a link to the deployment (example), but I'm not sure if that's a good idea. That CID can then be set as the deployment URL.

One issue with using the action is that I'll still need to connect my node to the public gateway's swarm to make the content quickly available.

Stuff I can deploy is pretty minimal at the moment. There's Leanish, which I haven't maintained in a while, and some typedocs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions