https://github.com/jongio/local-managed-identity
https://github.com/jongio/local-managed-identity
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jongio/local-managed-identity
- Owner: jongio
- Created: 2024-06-03T22:05:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-05T20:36:44.000Z (about 1 year ago)
- Last Synced: 2025-02-06T08:25:37.339Z (4 months ago)
- Language: C#
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Local Managed Identity
This is a repo to test out the POC `azd auth serve`
## Setup
1. Set AZURE_SUBSCRIPTION_ID environment variable to the subscription id of the Azure subscription you want to use.
1. Open .env file and set AZURE_SUBSCRIPTION_ID to the subscription id of the Azure subscription you want to use.## Start the server
1. Open a terminal and install the Azure Developer CLI.
https://github.com/Azure/azure-dev/pull/3979#issuecomment-2148992687
1. Login to Azure.
```powershell
azd login
```
1. Start the local Managed Identity service.
```powershell
azd auth serve
```
## Run on local machine1. Open 'local-managed-identity' and hit F5 to run the project.
## Run in container
1. Open a terminal, cd to local-managed-identity, and run `docker compose up --build`
2. See the results in the console window.