-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5963012
commit 286839b
Showing
1 changed file
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. |