Tink Go सेट अप करना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Tink की सभी Go लाइब्रेरी, Go मॉड्यूल के तौर पर पब्लिश की जाती हैं. इन्हें स्टैंडर्ड Go टूल या Bazel के साथ इस्तेमाल किया जा सकता है.
Tink को इंस्टॉल और सेट अप करने के बाद, अगले चरण पर जाएं.
Tink Go
Go की मुख्य लाइब्रेरी tink-go है. इसका सबसे नया वर्शन 2.4.0 है.
अपनी प्रोजेक्ट डायरेक्ट्री से यह कमांड चलाएं:
go get github.com/tink-crypto/tink-go/v2@v2.4.0
AWS KMS एक्सटेंशन
Tink Go AWS KMS एक्सटेंशन का नाम tink-go-awskms है. इसका सबसे नया रिलीज़ वर्शन 2.1.0 है.
अपनी प्रोजेक्ट डायरेक्ट्री से यह कमांड चलाएं:
go get github.com/tink-crypto/tink-go-awskms/v2@2.1.0
Google Cloud केएमएस (KMS) एक्सटेंशन
Tink Go Google Cloud KMS एक्सटेंशन का नाम tink-go-gcpkms है. इसका सबसे नया रिलीज़ वर्शन 2.2.0 है.
अपनी प्रोजेक्ट डायरेक्ट्री से यह कमांड चलाएं:
go get github.com/tink-crypto/tink-go-gcpkms/v2@v2.2.0
HashiCorp Vault एक्सटेंशन
Tink Go HashiCorp Vault एक्सटेंशन का नाम tink-go-hcvault है. इसकी सबसे नई रिलीज़ 2.3.0 है.
अपनी प्रोजेक्ट डायरेक्ट्री से यह कमांड चलाएं:
go get github.com/tink-crypto/tink-go-hcvault/v2@v2.3.0
अगले चरण
Tink को सेट अप करने के बाद, Tink के इस्तेमाल के लिए स्टैंडर्ड तरीका अपनाएं:
- प्राइमिटिव चुनना – इस्तेमाल के उदाहरण के आधार पर तय करें कि आपको कौनसा प्राइमिटिव इस्तेमाल करना है
- कुंजियां मैनेज करना – बाहरी केएमएस की मदद से अपनी कुंजियों को सुरक्षित रखना, कुंजी सेट जनरेट करना, और अपनी कुंजियों को रोटेट करना
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]