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.
Cloud-Verify currently supports the following cloud providers:
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.
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)
}
}
This project is licensed under the MIT License.