{"id":38480092,"url":"https://github.com/olohmann/az-rest","last_synced_at":"2026-01-17T05:26:01.803Z","repository":{"id":64304477,"uuid":"114994924","full_name":"olohmann/az-rest","owner":"olohmann","description":"A simple Azure Resource Manager REST client.","archived":false,"fork":false,"pushed_at":"2017-12-22T20:13:32.000Z","size":878,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T15:51:21.351Z","etag":null,"topics":["az","azure","azure-cli"],"latest_commit_sha":null,"homepage":null,"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/olohmann.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}},"created_at":"2017-12-21T10:44:25.000Z","updated_at":"2019-02-11T09:38:21.000Z","dependencies_parsed_at":"2023-01-15T10:15:50.929Z","dependency_job_id":null,"html_url":"https://github.com/olohmann/az-rest","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/olohmann/az-rest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olohmann%2Faz-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olohmann%2Faz-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olohmann%2Faz-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olohmann%2Faz-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olohmann","download_url":"https://codeload.github.com/olohmann/az-rest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olohmann%2Faz-rest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28499311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["az","azure","azure-cli"],"created_at":"2026-01-17T05:26:01.736Z","updated_at":"2026-01-17T05:26:01.793Z","avatar_url":"https://github.com/olohmann.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# az-rest [![Build Status](https://travis-ci.org/olohmann/az-rest.png?branch=master)](https://travis-ci.org/olohmann/az-rest)\n\n`az-rest` is a simple extension to the Azure CLI 2.0 client that allows the execution of [Azure Resource Manager REST API](https://docs.microsoft.com/en-us/rest/api/resources/) calls.\n\nThe client re-uses the existing az CLI authentication and authorization scheme via `az account get-access-token`.\n\nIt supports JMESPath expressions to filter and project the results from REST calls.\n\n## Installation\n### Prerequisites\n\nInstall Azure CLI 2.0. Follow the [official installation guide](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest).\n\n### Installation on Linux, MacOS X, and Windows\n\n`az-rest` is distributed as a single binary file. The [latest release](https://github.com/olohmann/az-rest/releases/latest) can be found in the releases section. \nJust download, unzip and put it in a directory that is registered in your system's `PATH` environment.\n\n## Usage\n\n```bash\nUsage: az-rest [-v] COMMAND [arg...]\n\nA simple Azure Resource Manager REST client.\n\nOptions:\n  -v, --verbose   Verbose output mode\n\nCommands:\n  GET             Issue a GET request\n  POST            Issue a POST request\n  version         Print version information\n\nRun 'az-rest COMMAND --help' for more information on a command.\n```\n\n## Example\n\n```bash\n# Login to Azure via az - az-rest will re-use the session.\naz login\n# ... follow the instructions to finish the log-in\n\n# query the ARM REST API for specific information such as the primary key for AzureSearch\naz-rest POST --api-version \"2015-08-19\" --query \"primaryKey\" /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo-resource-group/providers/Microsoft.Search/searchServices/my-search-service/listAdminKeys\n\n# Response: \"00000D607C080850082B30000110DF02\"\n```\n\n## Acknowledgements\n\nThe build process from [terraform](https://github.com/hashicorp/terraform) was a great inspiration for `az-rest`'s build process.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folohmann%2Faz-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folohmann%2Faz-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folohmann%2Faz-rest/lists"}