contract-go

module
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2025 License: Apache-2.0

README

Contract Go

contract-go CI Latest Release Go Report Card Go Reference

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

  1. Decrypt encrypted attestation records.
  2. Download encryption certificates from IBM Cloud docs.
  3. Get specific encryption certificate from encryption certificates JSON downloaded.
  4. Generate Base64 of a string.
  5. Validate schema of unencrypted contract.
  6. Generate IBM Hyper Protect encrypted string.
  7. Generate IBM Hyper Protect signed and encrypted contract (With and without contract expiry).
  8. Generate Base64 tar of docker-compose.yaml or pods.yaml.
  9. 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

Contributors

Contributors

Directories

Path Synopsis
common

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL