{"id":27361222,"url":"https://github.com/kamushadenes/cloud-verify","last_synced_at":"2025-08-30T09:33:06.927Z","repository":{"id":182470739,"uuid":"668529250","full_name":"kamushadenes/cloud-verify","owner":"kamushadenes","description":"Cryptographic attestation to verify if your application is running within a cloud environment.","archived":false,"fork":false,"pushed_at":"2025-05-06T03:57:09.000Z","size":156,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T04:32:56.472Z","etag":null,"topics":["cloud","cryptography","verification"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kamushadenes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-20T03:06:34.000Z","updated_at":"2025-05-06T03:56:45.000Z","dependencies_parsed_at":"2023-07-20T06:00:41.742Z","dependency_job_id":"5be0ae30-79af-4a42-b0d2-d91a7addfe10","html_url":"https://github.com/kamushadenes/cloud-verify","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.375,"last_synced_commit":"8a960f2226e3ea43b813ad9347b2b63f1fa3ce38"},"previous_names":["kamushadenes/cloud-verify"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/kamushadenes/cloud-verify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamushadenes%2Fcloud-verify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamushadenes%2Fcloud-verify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamushadenes%2Fcloud-verify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamushadenes%2Fcloud-verify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kamushadenes","download_url":"https://codeload.github.com/kamushadenes/cloud-verify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamushadenes%2Fcloud-verify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272833285,"owners_count":25000870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","cryptography","verification"],"created_at":"2025-04-13T01:30:49.126Z","updated_at":"2025-08-30T09:33:06.875Z","avatar_url":"https://github.com/kamushadenes.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud-Verify\n\n## Overview\n\nCloud-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.\n\n## Supported Cloud Providers\n\nCloud-Verify currently supports the following cloud providers:\n\n- [Amazon Web Services (AWS)](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/verify-pkcs7.html)\n- [Microsoft Azure](https://learn.microsoft.com/en-us/azure/virtual-machines/instance-metadata-service?tabs=linux#sample-1-validate-that-the-vm-is-running-in-azure)\n- [Google Cloud Platform (GCP)](https://cloud.google.com/compute/docs/instances/verifying-instance-identity)\n\n## Prerequisites\n\nFor AWS and Azure, ensure that the `openssl` binary is installed and available in your system's `PATH`. This prerequisite is not required for GCP.\n\n## How to Use\n\nHere is a simple example of how to use Cloud-Verify in your Go application:\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n  cloudverify \"github.com/kamushadenes/cloud-verify\"\n)\n\nfunc main() {\n if v, cloud := cloudverify.RunningOnCloud(); v {\n  fmt.Printf(\"Running on Cloud (%s)\\n\", cloud)\n } else {\n  fmt.Printf(\"Not running on Cloud (%s)\\n\", cloud)\n }\n}\n```\n\n### Updating AWS Certificates\n\nCloud-Verify uses the certificates present at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/regions-certs.html to validate AWS metadata.\n\nIn case those need to be updated and I haven't done so yet, you can update them manually by running the following command:\n\n```bash\ngo run cmd/update-certs/main.go\n```\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamushadenes%2Fcloud-verify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamushadenes%2Fcloud-verify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamushadenes%2Fcloud-verify/lists"}