Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

connect-sdk-go

> 编程语言
Open source

Go SDK for 1Password Connect

189 stars0 likes0 views
WebsiteGitHub

About

Go SDK for 1Password Connect


The 1Password Connect Go SDK provides access to the 1Password Connect API, to facilitate communication with the Connect server hosted on your infrastructure and 1Password. The library is intended to be used by your applications, pipelines, and other automations to simplify accessing items stored in your 1Password vaults.

This project is licensed under MIT. Use of the 1Password APIs and services accessed through these tools is governed by the 1Password API Terms of Service.

✨ Quickstart

  1. Download and install the 1Password Connect Go SDK:

    bash
    go get github.com/1Password/connect-sdk-go
  2. Export the OP_CONNECT_HOST and OP_CONNECT_TOKEN environment variables:

    bash
    export OP_CONNECT_HOST= && \
        export OP_CONNECT_TOKEN=
  3. Use it in your code

    • Read a secret:

      go
      import "github.com/1Password/connect-sdk-go/connect"
      
      func main () {
          client := connect.NewClientFromEnvironment()
          item, err := client.GetItem("", "")
          if err != nil {
              log.Fatal(err)
          }
      }
    • Write a secret:

…

For more examples, check out USAGE.md.

Community & Support

  • File an issue for bugs and feature requests.
  • Join the Developer Slack workspace.
  • Subscribe to the Developer Newsletter.

Security

1Password requests you practice responsible disclosure if you discover a vulnerability.

Please file requests by sending an email to [email protected].

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go1password1password-connectconnect-sdkgo

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言