Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.3 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.3 KB

Cloud-Verify

Overview

Cloud-Verify is a Go library that provides cryptographic attestation to verify if your application is running within a cloud environment. It supports multiple cloud providers and is easy to integrate into your existing Go applications.

Supported Cloud Providers

Cloud-Verify currently supports the following cloud providers:

Prerequisites

For AWS and Azure, ensure that the openssl binary is installed and available in your system's PATH. This prerequisite is not required for GCP.

How to Use

Here is a simple example of how to use Cloud-Verify in your Go application:

package main

import (
  "fmt"
  cloudverify "github.com/kamushadenes/cloud-verify"
)

func main() {
 if v, cloud := cloudverify.RunningOnCloud(); v {
  fmt.Printf("Running on Cloud (%s)\n", cloud)
 } else {
  fmt.Printf("Not running on Cloud (%s)\n", cloud)
 }
}

License

This project is licensed under the MIT License.