{"id":28528247,"url":"https://github.com/compositionalit/storage-identity","last_synced_at":"2025-07-25T14:08:57.890Z","repository":{"id":56081710,"uuid":"315749595","full_name":"CompositionalIT/storage-identity","owner":"CompositionalIT","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-13T15:32:42.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-29T00:49:26.640Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"F#","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/CompositionalIT.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}},"created_at":"2020-11-24T20:51:54.000Z","updated_at":"2025-06-13T15:32:46.000Z","dependencies_parsed_at":"2025-06-29T00:46:55.597Z","dependency_job_id":null,"html_url":"https://github.com/CompositionalIT/storage-identity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CompositionalIT/storage-identity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompositionalIT%2Fstorage-identity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompositionalIT%2Fstorage-identity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompositionalIT%2Fstorage-identity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompositionalIT%2Fstorage-identity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CompositionalIT","download_url":"https://codeload.github.com/CompositionalIT/storage-identity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompositionalIT%2Fstorage-identity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267017177,"owners_count":24021981,"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-07-25T02:00:09.625Z","response_time":70,"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":"2025-06-09T12:30:50.760Z","updated_at":"2025-07-25T14:08:57.872Z","avatar_url":"https://github.com/CompositionalIT.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Azure .NET Identity Demo\nThis repository shows how to construct a storage account with an associated web application with\na trust granted to the web application using Azure's managed identity capabilities. It also\ndemonstrates how to use Compositional IT's [Farmer](https://compositionalit.github.io/farmer/) technology\nto rapidly construct application topologies via Azure Resource Manager (ARM) templates.\n\n## Prerequisites\n* .NET 3.1 SDK or higher\n* Visual Studio 2019, Rider or Visual Studio Code with the Ionide F# extension\n* Azure CLI\n\n## Components\n* Web Application: An ASP .NET Core web application running in F# using the Saturn and Giraffe libraries.\n* Farmer Template: An F# console application that creates and configures all Azure resources and deploys the application into them in a ready-to-run state.\n\n## Instructions\n#### 1. Publish the web application to a local folder\n```cmd\ndotnet publish webapp -c Release -o publish\n```\n\n#### 2. Configure the Farmer template\nOpen the `infrastructure/Program.fs` file and update the `baseName` value to something that is unique to you. The resource group, storage account, and web app names will be generated from this value.\n\n#### 3. Run the Farmer application\n```cmd\ndotnet run -p infrastructure\n```\n\nThe Infrastructure application uses Farmer to do the following:\n\n* Provisions Storage and Web Application resources\n* Turns on the System Identity of the Web Application\n* Grants Reader permissions of the identity to the storage account\n* Deploys them to Azure\n* Uploads a set of files into the created storage account\n\nYou will be prompted to log into Azure the first time you execute the script. After a short delay,\nFarmer will generate and deploy both the ARM template and the deployed web application into the\nprovisioned App Service.\n\nFinally, the application opens a browser to show the data served back by ASP .NET.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompositionalit%2Fstorage-identity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompositionalit%2Fstorage-identity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompositionalit%2Fstorage-identity/lists"}