Miasma Azure
Azure API plugin for the miasma cloud library
Setup
Storage Credentials
Storage makes use of the Azure Blob Storage Service:
azure_blob_account_name
- Name of blob storage service accountazure_blob_secret_key
- Secret key for blob storage access
Orchestration Credentials
Orchestration makes use of two services:
- Azure Storage Services - Blob
- Azure Resource Manager
Credentials for the blob service are defined above.
Credentials for the Azure Resource Manager require some setup within Azure due to the OAuth2 requirement. To setup an OAuth2 application allowing miasma to function properly, perform the following steps:
Start at the Azure portal:
- Click
Browse
to open available service list - Click
Active Directory
to open AD service - Choose desired directory and click
APPLICATIONS
- At the bottom of the page click
ADD
- Click
Add an application my organization is developing
- Enter a name for the application
- Click the
WEB APPLICATION AND/OR WEB API
radio button - Click the next arrow
->
- Enter
http://localhost
for theSIGN-ON URL
- Enter
https://management.azure.com/
for theAPP ID URL
- Click the check icon to complete the application setup
- Click
CONFIGURE
- Locate the section named
keys
- Select
1 year
or2 years
from the drop down - Click
SAVE
at the bottom of the screen - The key value will now be visible. Copy the key value (This is the
azure_client_secret
) - Go back to the Azure Portal
- Click
Subscriptions
- Click desired subscription
- Click
Settings
- Click
Users
- Click
Add
Select a role
-> ClickOwner
Add users
-> In the search box enter application name used above- Click the application entry and click
Select
- Click
OK
Orchestration Credential Items
The following credential information is provided from Active Directory. After clicking on the desired directory, the ID can be found within the URL (UUID value)
azure_tenant_id
- Active Directory ID
The following credential information is provided from the Active Directory application
entry created above. Under the CONFIGURE
section:
azure_client_id
- FieldCLIENT ID
azure_client_secret
- Fieldkeys
(can only be viewed when initially saved)
The following credential information is provided from the Azure portal. Click Subscriptions
.
azure_subscription_id
- Azure subscription IDazure_region
- Deployment region (westus
,eastus
, etc.)
Current support matrix
Model | Create | Read | Update | Delete |
---|---|---|---|---|
AutoScale | ||||
BlockStorage | ||||
Compute | ||||
DNS | ||||
LoadBalancer | ||||
Network | ||||
Orchestration | X | X | X | X |
Queues | ||||
Storage | X | X | X | X |
Info
- Repository: https://github.com/miasma-rb/miasma-azure