Giter VIP home page Giter VIP logo

uraaga / az-204-aad-dotnet-manage-resources-from-vm-with-msi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/aad-dotnet-manage-resources-from-vm-with-msi

0.0 0.0 0.0 27.54 MB

Getting started on managing Azure resources from a virtual machine with managed service identity (MSI) using C#

Home Page: https://docs.microsoft.com/en-us/dotnet/azure

License: MIT License

Shell 0.38% JavaScript 8.47% C# 79.13% PowerShell 7.64% CSS 0.21% HTML 4.13% ASP.NET 0.04%

az-204-aad-dotnet-manage-resources-from-vm-with-msi's Introduction

page_type languages products extensions
sample
csharp
azure
services platforms
Compute
dotnet

Getting started on managing Azure resources from a virtual machine with managed service identity (MSI) using C#

Azure Compute sample for managing virtual machines -

  • Create a virtual machine with Managed Service Identity enabled with access to resource group
  • Set custom script in the virtual machine that
    • install az cli in the virtual machine
    • uses az cli MSI credentials to create a storage account
  • Get storage account created through Managed Service Identity (MSI) credentials.

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/aad-dotnet-manage-resources-from-vm-with-msi.git

cd aad-dotnet-manage-resources-from-vm-with-msi

dotnet build

bin\Debug\net452\ManageStorageFromMSIEnabledVirtualMachine.exe

More information

Azure Management Libraries for C# Azure .Net Developer Center If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

az-204-aad-dotnet-manage-resources-from-vm-with-msi's People

Contributors

microsoftopensource avatar anuchandy avatar yaohaizh avatar azure-fluent avatar supernova-eng avatar msftgits avatar lenala avatar xseeseesee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.