{"id":18369240,"url":"https://github.com/envkey/envkey-dotnet","last_synced_at":"2025-08-12T02:40:52.281Z","repository":{"id":65414084,"uuid":"129954355","full_name":"envkey/envkey-dotnet","owner":"envkey","description":"EnvKey's Nuget .NET library. Protect API keys and credentials. Keep configuration in sync.","archived":false,"fork":false,"pushed_at":"2023-10-26T19:10:45.000Z","size":5286,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-27T09:49:12.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/envkey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-04-17T19:23:28.000Z","updated_at":"2024-03-01T01:10:32.000Z","dependencies_parsed_at":"2024-11-05T23:41:01.550Z","dependency_job_id":null,"html_url":"https://github.com/envkey/envkey-dotnet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/envkey/envkey-dotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envkey%2Fenvkey-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envkey%2Fenvkey-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envkey%2Fenvkey-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envkey%2Fenvkey-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/envkey","download_url":"https://codeload.github.com/envkey/envkey-dotnet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envkey%2Fenvkey-dotnet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269991263,"owners_count":24509004,"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-12T02:00:09.011Z","response_time":80,"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":[],"created_at":"2024-11-05T23:28:51.226Z","updated_at":"2025-08-12T02:40:52.242Z","avatar_url":"https://github.com/envkey.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EnvKey for .net Framework\n\n* EnvKey [![NuGet version](https://badge.fury.io/nu/EnvKey.svg)](https://badge.fury.io/nu/EnvKey)\n* EnvKey.Sdk [![NuGet version](https://badge.fury.io/nu/EnvKey.Sdk.svg)](https://badge.fury.io/nu/EnvKey.Sdk)\n* EnvKey.Platform.Windows64 [![NuGet version](https://badge.fury.io/nu/EnvKey.Platform.Windows64.svg)](https://badge.fury.io/nu/EnvKey.Platform.Windows64)\n* EnvKey.Platform.Linux64 [![NuGet version](https://badge.fury.io/nu/EnvKey.Platform.Linux64.svg)](https://badge.fury.io/nu/EnvKey.Platform.Linux64)\n* EnvKey.Platform.Osx64 [![NuGet version](https://badge.fury.io/nu/EnvKey.Platform.Osx64.svg)](https://badge.fury.io/nu/EnvKey.Platform.Osx64)\n\n[EnvKey Releases](https://github.com/envkey/envkey/releases?q=envkeysource)\n\nThe current envkey nuget package supports only windows on x64.\nIf you wish to use it on linux or mac please [open an issue](https://github.com/envkey/envkey-dotnet/issues) to show your demand.\n\n# Usage\n\n```cs\nvar envKey = new EnvKeyConfig();\nvar success = envKey.Load();\n\nStripe.ApiKey = Environment.GetEnvironmentVariable(\"STRIPE_SECRET_KEY\");\n```\n\n## Building\n\n### Preface\n\nVersions of envkey should go hand in hand with the nuget package version to keep things tidy.  \nThat means that a envkey version 2.0.7 should be downlaoded (via `download_envkey.bat`) and a package should be generated with version 2.0.7 (via `build.bat` and `pack.bat`).  \nTo release library changes that refer to a certain version of envkey, the package should get a build-version extension, eg. 2.0.7.**3**.\n\n### Requirements\n\nTo keep things simple you need to install Visual Studio 2017.\n\nRun `NuGet\\download_envkey.bat`. This will download the envkey executable. You'll asked for a version number of envkey.\n\n### Build\n\nRun `NuGet\\build.bat`. This will restore all packages and creates a clean release build.\n\n### Run Tests\n\nRun `NuGet\\runtests.bat \"YOUR_KEY\"`. This will execute all the test console applications in various .net configurations.  \nBe aware that the tests use the nuget packages to be sure that they're working.\n\nTo ease the process of testing, the NuGet folder is marked as nuget source folder so you can create a nuget package (via `pack.bat`) and update the packages via VisualStudio using the `Local EnvKey Nuget Folder` source.\n\n### Nuget Publish\n\nrun `NuGet\\pack.bat` to create a package. You'll be asked to provide a version number.  \n\"1.0.2\" will create a package with the version 1.0.2  \n\"2.0.7-??\" where \"??\" can be everything from a name to other version numers to mark the package as prerelease.\n\nRun `NuGet\\push.bat` to upload the package to nuget. You'll be asked to provide an api key to identify yourself als owner of the package.  \nPlease refere to [the documentation](https://www.nuget.org/account/apikeys) how to obtain an api key.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvkey%2Fenvkey-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenvkey%2Fenvkey-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvkey%2Fenvkey-dotnet/lists"}