Connect a Provider#
A connection links one cloud account to Reply CMP. It unlocks Discovery, FinOps, Provisioning, Automation and Monitoring for that account.
Reply CMP uses a dedicated service principal (Azure), IAM user (AWS) or service account (GCP). It reads provider data and changes nothing unless you grant write permissions for Automation or Provisioning.
Note
The Permission level you choose in Reply CMP (ReadOnly / ReadWrite) does not grant cloud permissions. Assign the matching roles in the provider, as described below.
How to connect#
Open Tenant → Connections → Add Connection and choose the provider.
Create the credentials in the provider (see the tabs below) and fill in the form.
Optionally set an Expiration date and time. Expired connections stop running operations.
Select Validate, then Create Connection.
Validation runs a live test and the connection is saved only if it passes. It checks authentication and access, not that cost data is already available.
Provider setup#
You need
Permission to register an app and create a client secret in the subscription’s Microsoft Entra tenant.
Permission to assign roles at subscription scope (for example Owner or User Access Administrator), or an administrator who can do it.
The Subscription ID of an Enabled subscription.
Steps
In the Azure portal, open Microsoft Entra ID → App registrations → New registration. Name it (for example
reply-cmp-readonly), choose This directory only, no redirect URI.Copy the Application (client) ID and Directory (tenant) ID.
Open Certificates & secrets → New client secret and copy its Value (shown once; not the Secret ID).
Open Subscriptions → your subscription → Access control (IAM) → Add role assignment and assign the app, at subscription scope:
Reader for read-only;
Contributor for read-write (Automation, Provisioning).
Make sure costs are visible to the subscription:
EA: the enterprise administrator enables Account owners can view charges.
CSP / Azure Plan: the partner enables customer cost visibility.
See Cost Management access and CSP cost visibility. No billing export is needed.
Fields
Field |
Value |
|---|---|
Connection name |
Your choice |
Azure instance |
|
App ID |
Application (client) ID |
Subscription ID |
From the Subscriptions blade |
Tenant ID |
Directory (tenant) ID |
Client Secret |
Secret Value |
Permission level |
ReadOnly / ReadWrite |
For China, create the app and roles in portal.azure.cn: Global credentials cannot access China subscriptions, and service availability differs (details).
Note
Reader covers all Monitoring queries. For a Log Analytics workspace that requires workspace permissions, also assign Log Analytics Reader on that workspace.
You need
Console access to create an IAM user, attach policies and create access keys.
Your 12-digit Account ID.
Access to the payer/management account (or its administrator) to configure Cost Explorer.
Important
Use a long-term IAM user access key (starts with AKIA). SSO or temporary credentials (ASIA…, session tokens) are not supported. Do not use root-user keys.
Steps
In the AWS console, open IAM → Users → Create user (for example
reply-cmp-readonly; console access not needed).Attach policies:
read-only:
ReadOnlyAccess+AWSResourceExplorer2FullAccess;read-write:
PowerUserAccess+AWSResourceExplorer2FullAccess.
Open the user → Security credentials → Create access key → Application running outside AWS (or Other). Save the Access Key ID and Secret Access Key (shown once).
Enable AWS Resource Explorer and set a default view in the region you will select in Reply CMP (how).
From the payer/management account, open Billing and Cost Management → Cost Management preferences and enable Resource-level data at daily granularity for the services you want. Allow up to 48 hours before validating (how).
Fields
Field |
Value |
|---|---|
Connection name |
Your choice |
Account ID |
|
Access Key ID |
IAM user key ( |
Secret Access Key |
Matching secret |
Default Region |
For example |
Permission level |
ReadOnly / ReadWrite |
Note
ReadOnlyAccess covers all Monitoring queries (CloudWatch Metrics, Alarms and Logs Insights).
You need
A GCP project with billing enabled, and permission to create a service account and key, grant roles and enable APIs.
Access to the Cloud Billing account to configure the Detailed usage cost export to BigQuery (permissions).
Steps
Open IAM & Admin → Service Accounts → Create service account (for example
reply-cmp-viewer).Grant roles:
on the project to discover:
roles/viewerandroles/cloudasset.viewer;on the billing export dataset:
roles/bigquery.dataViewer;on the project that hosts the dataset:
roles/bigquery.jobUser(Reply CMP runs its queries there).
In the project to discover, enable these APIs:
API
Service ID
BigQuery
bigquery.googleapis.comCloud Asset
cloudasset.googleapis.comCloud Resource Manager
cloudresourcemanager.googleapis.comService Usage
serviceusage.googleapis.comRecommender
recommender.googleapis.comCompute Engine
compute.googleapis.comKubernetes Engine
container.googleapis.comCloud SQL Admin
sqladmin.googleapis.comAll eight are required. For Monitoring, also enable
monitoring.googleapis.com. If the billing dataset is in another project, enable BigQuery there too.In Billing → Billing export → BigQuery export, enable Detailed usage cost and wait for the table
gcp_billing_export_resource_v1_<BILLING_ACCOUNT_ID>. The standard, pricing and FOCUS exports are not supported.Open the service account → Keys → Add key → JSON and download the key file.
Fields
Field |
Value |
|---|---|
Connection name |
Your choice |
Project ID |
Project to discover (ID, not number) |
Billing dataset name |
Dataset only, for example |
Billing table name |
Full detailed export table name, with its suffix |
Billing project ID |
Project hosting the dataset; leave empty if it is the Project ID |
Service account key file |
The JSON key |
Permission level |
ReadOnly / ReadWrite |
The first export can take several hours, and the historical backfill up to five days.
Note
roles/viewer covers all Monitoring queries.
After connecting#
An initial discovery starts automatically and takes 1–10 minutes.
Costs appear after the first cost refresh, subject to provider billing delays.
Secrets are stored encrypted in Azure Key Vault and cannot be read back. To rotate them, update the connection.
Manage connections in Tenant → Connections: see Manage Connections. If validation or cost retrieval fails, see Troubleshooting.