Register Cloud Snapshot Manager to access Azure
The following steps have been provided as an example to help you to register Cloud Snapshot Manager to access Azure:
Steps
-
Create a custom role, if it does not exist by using the following steps:
- Copy content from Azure Cloud Snapshot Manager custom role. For details about each Azure permission and how it is used by Cloud Snapshot Manager, see Azure permission usage.
- Update the AssignableScopes section in Azure custom role permissions with your Subscription ID.
- Do one of the following to create a custom role:
- Use the Azure portal to create a new custom role with the edited JSON content from the previous steps. For more information, see custom role.
- In Azure PowerShell, enter
New-AzureRmRoleDefinition -InputFile "Role file path"
- In Azure command-line interface(CLI), enter
az role definition create --role-definition "Role file path"
where "Role file path" is the path for the Role file.
- Log in to your Azure Account through the Azure portal and select Azure Active Directory.
- Select Azure Active Directory > App registrations > New registration to add an application.
-
Under
Register an application, complete the following:
- Enter the name of the application.
- Under Supported account types, select the required option.
- (Optional) Enter the Redirect URI as https://console.dell.com for the Cloud Snapshot Manager application.
-
Click
Register to register the application.
After registering the application, the Azure portal displays the Application ID and the Directory ID. Make a note of the Application ID and the Directory ID. The Application ID is later entered in the Application ID field and the Directory ID in the Active Directory ID field when you create an Azure cloud account in Cloud Snapshot Manager.
- Under Manage, select Certificates & secrets and click New client secret to create a new client secret key for use by Cloud Snapshot Manager.
-
Specify the client secret key description and expiration time, and then click
Add.
Make a note of the client secret key value as it is used as the authentication key during Cloud Snapshot Manager registration.
-
To access the resources in the subscription, assign the custom role that you created to the application by using the following steps:
-
In the Azure portal, search for
Subscriptions in
All services and select the option.
Make a note of the Subscription ID. The ID is later entered in the Subscription ID field where you create an Azure cloud account in Cloud Snapshot Manager.
- Select the subscription, and then select Access Control(IAM).
- Click Add > Add role assignment, and select the role CSM contributor.
- Select Azure AD user, group, or application from the Assign access to list.
- Select the application, and then click Save.
-
In the Azure portal, search for
Subscriptions in
All services and select the option.