Tink Go einrichten
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Alle Tink-Go-Bibliotheken werden als Go-Module veröffentlicht, die mit standardmäßigen Go-Tools oder Bazel verwendet werden können.
Fahren Sie nach der Installation und Einrichtung von Tink mit Nächste Schritte fort.
Tink Go
Die Go-Kernbibliothek ist tink-go mit 2.4.0 als aktueller Release.
Führen Sie den folgenden Befehl in Ihrem Projektverzeichnis aus:
go get github.com/tink-crypto/tink-go/v2@v2.4.0
AWS KMS-Erweiterung
Die Tink Go-Erweiterung für AWS KMS lautet tink-go-awskms und die neueste Version ist 2.1.0.
Führen Sie den folgenden Befehl in Ihrem Projektverzeichnis aus:
go get github.com/tink-crypto/tink-go-awskms/v2@2.1.0
Google Cloud KMS-Erweiterung
Die Tink Go-Erweiterung für Google Cloud KMS ist tink-go-gcpkms mit 2.2.0 als aktueller Release.
Führen Sie den folgenden Befehl in Ihrem Projektverzeichnis aus:
go get github.com/tink-crypto/tink-go-gcpkms/v2@v2.2.0
HashiCorp Vault-Erweiterung
Die Tink Go-Erweiterung für HashiCorp Vault ist tink-go-hcvault mit 2.3.0 als aktueller Release.
Führen Sie den folgenden Befehl in Ihrem Projektverzeichnis aus:
go get github.com/tink-crypto/tink-go-hcvault/v2@v2.3.0
Nächste Schritte
Nachdem Sie die Einrichtung von Tink abgeschlossen haben, fahren Sie mit den Standardschritten zur Verwendung von Tink fort:
- Primitive auswählen: Entscheiden Sie anhand Ihres Anwendungsfalls, welche Primitive Sie verwenden möchten.
- Schlüssel verwalten: Schützen Sie Ihre Schlüssel mit Ihrem externen KMS, generieren Sie Schlüsselsätze und rotieren Sie Ihre Schlüssel.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],[],null,["# Set up Tink Go\n\nAll Tink Go libraries are published as Go modules that are usable with [standard\nGo tooling](https://pkg.go.dev/cmd/go) or [Bazel](http://bazel.build).\n\nAfter installing and setting up Tink, continue with [Next Steps](#next_steps). \n\n### Tink Go\n\nThe core Go library is [tink-go](https://github.com/tink-crypto/tink-go) with\n[2.4.0](https://github.com/tink-crypto/tink-go/releases/tag/v2.4.0) as the latest release.\n\nGo tooling\n----------\n\nRun the following command from your project directory: \n\n go get github.com/tink-crypto/tink-go/v2@v2.4.0\n\n### AWS KMS Extension\n\nThe Tink Go [AWS KMS](https://aws.amazon.com/kms/) extension is\n[tink-go-awskms](https://github.com/tink-crypto/tink-go-awskms) with\n[2.1.0](https://github.com/tink-crypto/tink-go-awskms/releases/tag/v2.1.0) as the latest\nrelease.\n\nGo tooling\n----------\n\nRun the following command from your project directory: \n\n go get github.com/tink-crypto/tink-go-awskms/v2@2.1.0\n\n### Google Cloud KMS Extension\n\nThe Tink Go [Google Cloud KMS](https://cloud.google.com/kms/) extension is\n[tink-go-gcpkms](https://github.com/tink-crypto/tink-go-gcpkms) with\n[2.2.0](https://github.com/tink-crypto/tink-go-gcpkms/releases/tag/v2.2.0) as the latest\nrelease.\n\nGo tooling\n----------\n\nRun the following command from your project directory: \n\n go get github.com/tink-crypto/tink-go-gcpkms/v2@v2.2.0\n\n### HashiCorp Vault Extension\n\nThe Tink Go [HashiCorp Vault](https://www.vaultproject.io/) extension is\n[tink-go-hcvault](https://github.com/tink-crypto/tink-go-hcvault) with\n[2.3.0](https://github.com/tink-crypto/tink-go-hcvault/releases/tag/v2.3.0) as the latest\nrelease.\n\nGo tooling\n----------\n\nRun the following command from your project directory: \n\n go get github.com/tink-crypto/tink-go-hcvault/v2@v2.3.0\n\nNext steps\n----------\n\nOnce you've finished setting up Tink, continue with the standard Tink usage\nsteps:\n\n- [Choose a primitive](/tink/choose-primitive) -- Decide which primitive to use based on your use case\n- [Manage keys](/tink/key-management-overview) -- Protect your keys with your external KMS, generate keysets, and rotate your keys"]]