Registry / cloud / ibm-keyprotect-go-client

ibm-keyprotect-go-client

JSON →
library0.15.1gogounverified

A Go client library for interacting with the IBM KeyProtect service to manage encryption keys.

go get github.com/IBM/keyprotect-go-client
INSTALL
IMPORT
SIG · IBM-KEYPROTECT-GO-
I
ibm-keyprotect-go-client
cloudgov0.15.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

kp
github.com/IBM/keyprotect-go-client

Creates a KeyProtect client and lists all keys in the instance.

package main import ( "fmt" "github.com/IBM/keyprotect-go-client" ) func main() { c, err := kp.New(kp.Config{ BaseURL: "https://us-south.kms.cloud.ibm.com", APIKey: "your-api-key", InstanceID: "your-instance-id", }) if err != nil { panic(err) } keys, err := c.GetKeys(nil) if err != nil { panic(err) } fmt.Printf("Found %d keys\n", len(keys)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.15.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
ibm-keyprotect-go-client — go get ibm-keyprotect-go-client · libregistry