Konfigurowanie Tink Go
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wszystkie biblioteki Tink Go są publikowane jako moduły Go, które można używać ze standardowymi narzędziami Go lub Bazel.
Po zainstalowaniu i skonfigurowaniu Tink przejdź do sekcji Kolejne kroki.
Tink Go
Główną biblioteką Go jest tink-go, której najnowsza wersja to 2.4.0.
Uruchom to polecenie w katalogu projektu:
go get github.com/tink-crypto/tink-go/v2@v2.4.0
Rozszerzenie AWS KMS
Rozszerzenie Tink Go AWS KMS to tink-go-awskms, a najnowsza wersja to 2.1.0.
Uruchom to polecenie w katalogu projektu:
go get github.com/tink-crypto/tink-go-awskms/v2@2.1.0
Rozszerzenie Google Cloud KMS
Rozszerzenie Tink Go Google Cloud KMS to tink-go-gcpkms, a najnowsza wersja to 2.2.0.
Uruchom to polecenie w katalogu projektu:
go get github.com/tink-crypto/tink-go-gcpkms/v2@v2.2.0
HashiCorp Vault Extension
Rozszerzenie Tink Go HashiCorp Vault to tink-go-hcvault w wersji 2.3.0.
Uruchom to polecenie w katalogu projektu:
go get github.com/tink-crypto/tink-go-hcvault/v2@v2.3.0
Dalsze kroki
Po zakończeniu konfigurowania Tink kontynuuj standardowymi czynnościami dotyczącymi korzystania z Tink:
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]