{"id":14063488,"url":"https://github.com/PalmEmanuel/AzAuth","last_synced_at":"2025-07-29T15:33:35.876Z","repository":{"id":109452008,"uuid":"465222161","full_name":"PalmEmanuel/AzAuth","owner":"PalmEmanuel","description":"A PowerShell module to handle authentication for Azure.","archived":false,"fork":false,"pushed_at":"2024-11-19T20:56:06.000Z","size":224,"stargazers_count":30,"open_issues_count":15,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-29T18:05:40.720Z","etag":null,"topics":["azure","csharp","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/PalmEmanuel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2022-03-02T08:38:44.000Z","updated_at":"2024-11-19T20:56:08.000Z","dependencies_parsed_at":"2023-12-07T17:37:16.361Z","dependency_job_id":"1a74717c-b6d5-47b7-831a-e88b842d9a25","html_url":"https://github.com/PalmEmanuel/AzAuth","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalmEmanuel%2FAzAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalmEmanuel%2FAzAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalmEmanuel%2FAzAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PalmEmanuel%2FAzAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PalmEmanuel","download_url":"https://codeload.github.com/PalmEmanuel/AzAuth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228028452,"owners_count":17858337,"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","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":["azure","csharp","powershell"],"created_at":"2024-08-13T07:03:21.863Z","updated_at":"2024-12-04T01:30:54.137Z","avatar_url":"https://github.com/PalmEmanuel.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"# AzAuth\n\n[![AzAuth]][AzAuthGallery] [![AzAuthDownloads]][AzAuthGallery]\n\nAzAuth is a lightweight PowerShell module to handle Azure authentication, using the Azure.Identity MSAL library.\n\n## Installation\n\nAzAuth is published to [PowerShell Gallery](https://www.powershellgallery.com/packages/AzAuth/) and can be installed with a simple command.\n\n```powershell\nInstall-Module -Name AzAuth\n```\n\n## Using AzAuth\n\nAzAuth supports multiple ways of getting an access token for a user or identity.\n\nThe simplest way is to just run the command, which will look for available tokens among shared tools or sources on the machine.\n\n```PowerShell\n# Find a token from already authenticated sources like Azure PowerShell or CLI\n# Unless otherwise specified, the command uses \".default\" as scope, and \"https://graph.microsoft.com\" as the resource\nGet-AzToken\n```\n\nAzAuth implements MSAL and also allows for interactive browser logins, and even persistent credential caches!\n\n```PowerShell\nGet-AzToken -Interactive -TokenCache 'AzAuthCache'\n```\n\nAzAuth also caches authentications made for the duration of the session even without specifying a cache, so once you've logged in you can get new access tokens without logging in again. No passwords or credentials are stored, only the refresh token as part of the [authenticated credential](https://learn.microsoft.com/en-us/dotnet/api/azure.identity.interactivebrowsercredential) object.\n\n```PowerShell\nGet-AzToken -Resource 'https://management.azure.com'\n```\n\nFor more information, see the help documentation!\n\n```PowerShell\nGet-Help Get-AzToken -Full\n```\n\n## Bug report and feature requests\n\nIf you find a bug or have an idea for a new feature, please create an issue in the repo! Before submitting, have a look and see if there are any similar issues already open, in which case you can add to the discussion.\n\n## Contribution\n\nIf you like AzAuth and want to contribute, you are very welcome to do so! Please read the [Contribution Guide](CONTRIBUTING.md) to get started!\n\n---\n\n\u003c!-- References --\u003e\n[AzAuthDownloads]: https://img.shields.io/powershellgallery/dt/AzAuth\n[AzAuthGallery]: https://www.powershellgallery.com/packages/AzAuth/\n[AzAuth]: https://img.shields.io/powershellgallery/v/AzAuth?label=AzAuth\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPalmEmanuel%2FAzAuth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPalmEmanuel%2FAzAuth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPalmEmanuel%2FAzAuth/lists"}