Support Biometric Login for Go/Node/Python SDKs

I am writing some command line utilities written in Go that help automate some tasks that our developers have to do every sprint. They are executed on the developers' local machines and so the utilities need to pull secrets from 1pw in order to authenticate with the different systems they talk to.

In order to do this, I shell out from the Go code and make a call to op using the os/exec Go package like so:

    cmd := exec.Command("op", "read", "op://...")
    stdout, err := cmd.Output()

    if err != nil {
        fmt.Println(err.Error())
        return
    }

This is a much simpler way of integration with applications than with the Connect SDK, especially if the developers have Biometric Login enabled in their 1pw app on their machine. Not only does this mean I don't have to go through the trouble of setting up a Connect server, but I don't have to go through the process of creating connect API tokens for everyone.

The only downside is I have to call op by using the shell. It would be nice if there was an SDK that I could integrate with directly, that would just use the authentication from the local 1pw desktop app.


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file