{"id":15826279,"url":"https://github.com/diberry/py-e2e-azure-function-passwordless-storage","last_synced_at":"2025-08-27T02:08:11.880Z","repository":{"id":98814732,"uuid":"561444635","full_name":"diberry/py-e2e-azure-function-passwordless-storage","owner":"diberry","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-03T18:02:23.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T20:15:57.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diberry.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":"2022-11-03T17:49:33.000Z","updated_at":"2022-11-03T18:02:28.000Z","dependencies_parsed_at":"2023-05-02T07:25:04.899Z","dependency_job_id":null,"html_url":"https://github.com/diberry/py-e2e-azure-function-passwordless-storage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diberry/py-e2e-azure-function-passwordless-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fpy-e2e-azure-function-passwordless-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fpy-e2e-azure-function-passwordless-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fpy-e2e-azure-function-passwordless-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fpy-e2e-azure-function-passwordless-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diberry","download_url":"https://codeload.github.com/diberry/py-e2e-azure-function-passwordless-storage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fpy-e2e-azure-function-passwordless-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272279551,"owners_count":24905926,"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-27T02:00:09.397Z","response_time":76,"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-10-05T09:44:01.893Z","updated_at":"2025-08-27T02:08:11.821Z","avatar_url":"https://github.com/diberry.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 1. Create service principal\r\n\r\n```\r\naz ad sp create-for-rbac --name myServicePrincipalName\r\n```\r\n\r\nSave result JSON, use in `local.settings.json`.\r\n\r\n# 2. Configure local Azure function\r\n\r\n* AZURE_CLIENT_ID: The app (client) id\r\n* AZURE_CLIENT_SECRET: The app password\r\n* AZURE_TENANT_ID: The tenant the AAD app was created in\r\n* AZURE_STORAGE_RESOURCE_NAME: The Azure storage account name\r\n* AZURE_STORAGE_CONTAINER_NAME: Existing container name in storage account - should have at least 1 blob uploaded\r\n\r\n# 3. Configure Azure Blob Storage IAM\r\n\r\n1. In Azure portal, add service principal as IAM identity with **Storage Blob Data Contributor role**. \r\n\r\n# 4. Run function in local debug\r\n\r\n1. Use Postman or cURL for 'http://localhost:7071/api/list\r\n2. Returns JSON as list of blobs in container\r\n\r\n    ```json\r\n    [\"README.md\"]\r\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiberry%2Fpy-e2e-azure-function-passwordless-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiberry%2Fpy-e2e-azure-function-passwordless-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiberry%2Fpy-e2e-azure-function-passwordless-storage/lists"}