Multi-Cloud Setup Guide

This guide walks you through creating credentials for both Azure and AWS with the minimal permissions needed to manage resource tags using TagFixer. Following these steps ensures you follow the principle of least privilege.

Azure App Registration Setup

Prerequisites

  • Access to the Azure Portal with permissions to create App Registrations and assign roles at the subscription level.
  • An active Azure subscription where you want to manage tags.

Step 1: Create the App Registration

  1. Navigate to Azure Active Directory in the Azure Portal.
  2. Create a New Registration:
    • Go to App registrations and click + New registration.
    • Name: Give it a name like TagFixer-Application.
    • Supported account types: Select "Accounts in this organizational directory only".
    • Leave Redirect URI blank and click Register.
  3. Copy Credentials: From the app's overview page, copy and save the Application (client) ID and the Directory (tenant) ID.

Step 2: Create Client Secret

  1. Generate Secret: In your app registration, go to Certificates & secrets and click + New client secret.
  2. Copy Secret Value: ⚠️ IMPORTANT: After adding the secret, immediately copy the Value and store it securely. It will not be shown again.

Step 3: Assign Subscription Permissions

  1. Navigate to your Subscription in the Azure Portal and go to Access control (IAM).
  2. Add Role Assignment: Click + AddAdd role assignment.
  3. Select Role: On the Role tab, search for and select the "Tag Contributor" role. This role provides the minimum permissions required to read and write tags without being able to modify resources.
  4. Select Members: On the Members tab, find and select the App Registration you created (e.g., TagFixer-Application).
  5. Review and Assign: Review the details and confirm the assignment.

Azure Summary

You now have the three required credentials to use TagFixer with Azure:

  • Client ID (Application ID)
  • Client Secret (Secret Value)
  • Tenant ID (Directory ID)