Skip to content

kamushadenes/cloud-verify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Cryptographic attestation to verify if your application is running within a cloud environment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages