Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
supernova-eng authored Oct 16, 2019
1 parent 5963012 commit 286839b
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,34 @@ urlFragment: compute-java-manage-resources-from-vm-with-msi-in-aad-group

# Getting Started with Compute - Manage Resource From MSI Enabled Virtual Machine Belongs To AAD Group - in Java #

Azure Compute sample for managing virtual machines.

- Create a AAD security group
- Assign AAD security group Contributor role at a resource group
- Create a virtual machine with MSI enabled
- Add virtual machine MSI service principal to the AAD 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 MSI credentials.

Azure Compute sample for managing virtual machines -
- Create a AAD security group
- Assign AAD security group Contributor role at a resource group
- Create a virtual machine with MSI enabled
- Add virtual machine MSI service principal to the AAD 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 MSI credentials.


## Running this Sample ##
## 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](https://github.com/Azure/azure-libraries-for-java/blob/master/AUTH.md).

git clone https://github.com/Azure-Samples/compute-java-manage-resources-from-vm-with-msi-in-aad-group.git
```bash
git clone https://github.com/Azure-Samples/compute-java-manage-resources-from-vm-with-msi-in-aad-group.git
cd compute-java-manage-resources-from-vm-with-msi-in-aad-group
mvn clean compile exec:java
```

cd compute-java-manage-resources-from-vm-with-msi-in-aad-group

mvn clean compile exec:java

## More information ##
## More information

[http://azure.com/java](http://azure.com/java)

If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)

---
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

0 comments on commit 286839b

Please sign in to comment.