README ¶ Contract Go Introduction The library has been developed to automate the process of provisioning HPVS on both IBM Cloud and On Prem. For more details on Hyper Protect Virtual Servers for VPC and Hyper Protect Container Runtime, refer Confidential computing with LinuxONE and IBM Hyper Protect Virtual Servers. Features Decrypt encrypted attestation records. Download encryption certificates from IBM Cloud docs. Get specific encryption certificate from encryption certificates JSON downloaded. Generate Base64 of a string. Validate schema of unencrypted contract. Generate IBM Hyper Protect encrypted string. Generate IBM Hyper Protect signed and encrypted contract (With and without contract expiry). Generate Base64 tar of docker-compose.yaml or pods.yaml. Get latest HPCR Image from IBM Cloud Image JSON data. Usage Refer Docs for more details on how to leverage this library for your usecases. References contract-cli - CLI tool for generating Hyper Protect contracts (leverages contract-go) terraform-provider-hpcr - Terraform Provider for generating Hyper Protect contracts k8s-operator-hpcr - Kubernetes operator for generating Hyper Protect contracts Contributors Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis attestation certificate common decrypt encrypt general contract encryption image schema Click to show internal directories. Click to hide internal directories.