Scope and verify cloud key connections
Scope and verify cloud key connections
Simulated service: Mocked cloud/workspace API responses; actual local product interface. No provider requests or inventory publication.
Loading video…
What you will accomplish
Follow the hosted cloud-key workflow for AWS KMS, Azure Key Vault and Google Cloud KMS: save a narrow scope, inspect the generated provider trust instructions, test access, run a separate scan, inspect resource outcomes, and revoke/delete the unused connection.
Mock disclosure: the recording uses the current product interface on a local server. All cloud/workspace API results are mocked and labeled on screen and in the narration. No provider request, real trust change, key read or inventory publication occurs. The generated trust-plan structure comes from the actual product's planner, but its tenant, connection and resource identifiers are examples. Do not copy those example identities into production. This lesson demonstrates the workflow; it does not qualify a real cloud account.
Before you begin
Use an administrator authorized to configure the workspace and a separately authorized cloud administrator for provider-side trust. Decide the exact metadata scope in advance. Hosted cloud connections do not require an endpoint agent; running a collector on an approved host is a separate deployment choice. A cloud provider does not determine that host's operating system.
The key workflows below do not demonstrate the separate RDS/Aurora, Cloud SQL/AlloyDB or Azure database connectors. Database configuration and evidence need their own capability-specific instructions; key metadata alone does not establish database session encryption.
AWS KMS
- Open Cloud connections and choose Configure connection under AWS KMS.
- Enter a recognizable name and the IAM role ARN for the approved account.
- Choose exact key scope and enter the key ARNs, one per line. Do not enter access keys, passwords or secrets.
- Save and inspect the connection detail. Saving configuration alone grants no cloud access.
- Open Show trust configuration. Review the workspace-bound identity and exact role trust policy generated for this connection.
- Review the key metadata permission policy. For exact-key access, keep permissions scoped to the selected resources. Apply the approved trust and metadata permission configuration in AWS; this external action is not performed in the video.
- Select Test access and inspect the operation and per-resource result. Testing does not publish inventory.
- After a successful test of the current configuration, explicitly select Run scan.
- Inspect operation status and resource results. In a live workspace, follow published findings into inventory and review their evidence and limitations.
For regional key discovery instead of exact keys, select that scope deliberately and review its additional list permissions. A discovered inventory is not a reason to grant cryptographic decrypt or signing permissions.
Azure Key Vault
- Choose Azure Key Vault and enter the directory ID and application/client ID belonging to the intended Entra application.
- Enter exact versioned key URLs, or deliberately select the supported discovery scope. A key URL is not an Azure management-plane resource ID.
- Save, then inspect the generated federation instructions. Preserve the exact issuer, subject and audience associated with this workspace connection.
- Have an authorized Azure administrator apply the required application/service-principal and federated-credential configuration and the documented key-read permissions at the intended scope.
- Test access, review each resource outcome, then explicitly run the scan and inspect its result.
- Do not treat application IDs as credentials or paste a client secret into these identifier fields.
Use the Azure hosted setup guide for the actual provider commands and permission boundaries. Example IDs in a tutorial are not reusable trust identities.
Google Cloud KMS
- Choose Google Cloud KMS and enter the project number, workload identity pool ID and provider ID requested by the form.
- Enter the exact crypto-key-version resource names. Distinguish the numeric project number used in federation identifiers from a project ID used in a resource path.
- Save and inspect the generated trust plan, principal and metadata-role instructions.
- Apply the approved workload federation conditions and resource-scoped metadata permissions in Google Cloud. Avoid substituting a broadly privileged account for the scoped identity.
- Test access before running the scan. Review the returned operation and per-resource outcomes, then inspect the live evidence when using a real connection.
Revoke and clean up
- Open the connection detail and select Revoke connection, then confirm.
- Verify it is revoked and cannot start new work. Already issued provider credentials can remain valid until their expiry.
- If the configuration is no longer needed, choose Delete connection, review what is retained, then confirm deletion.
- Verify the connection disappears from the active configuration list.
- Remove provider-side trust separately using your cloud administration process. Workspace deletion does not delete an IAM role, Entra application or Google workload identity provider.
- Retained findings and operation history are historical records; deleting a connection is not evidence that an observed asset was remediated.
Recover from common problems
- Run scan disabled: test the current saved revision. Configuration edits clear verification.
- Trust rejected: compare issuer, audience and workspace/connection subject exactly with the current generated plan.
- Access denied: review the specific metadata action and resource scope. Do not grant broad administrator or key-use permissions as a shortcut.
- Wrong resource/version: copy the provider's exact identifier and confirm the key version still exists and is accessible.
- Partial or failed operation: inspect per-resource diagnostics. Missing evidence is not zero risk and a successful test is not a completed scan.
- Uncertain submission: use the offered submission-recovery action; do not create a second operation merely because a response was interrupted.
- State appears stale: refresh status and inspect the operation history before repeating work.
- Deleted connection still has findings: historical evidence is intentionally retained. Use evidence timestamps and configuration revisions when interpreting it.
Narration transcript
Let's connect cloud key metadata without installing an endpoint agent. We'll configure narrow scope, inspect trust, test access, run a scan, and clean up. This walkthrough uses the real interface with clearly labeled mocked provider and API responses. For AWS, choose KMS and name the connection. Enter the role ARN and the exact key ARN you intend to inspect. These are example identifiers. No access key or secret belongs in these fields. Save the configuration, then open its trust instructions. A saved connection isn't permission to your AWS account. Review the workspace bound trust policy and metadata permissions before an authorized administrator applies them in AWS. Test access first. This mocked result verifies the workflow, not a real AWS role. An access test reads metadata without adding inventory. Review its resource result before starting a separate scan. Now run the scan and inspect its operation history and resource result. In a live connection, follow published evidence into inventory. Here, all returned cloud data is mocked, so no real key assessment is being claimed. Revoke the connection when it is no longer needed, then delete its settings if appropriate. Existing findings and history remain. Remove provider side trust separately. Deleting a workspace connection doesn't remove an AWS role. For Azure Key Vault, supply the directory and application identifiers, then an exact versioned key URL. We're using examples again. These identify an Entra application and resource. They are not a client secret. Review Azure's generated federation and key read instructions. Keep the workspace bound subject and audience exact, and limit access to the intended vault or keys. Applying that trust happens in Azure. This recording mocks the provider responses. Test the configured access, inspect the returned resource result, then start the scan. Check the operation outcome rather than assuming a clicked button finished the work. We'll revoke and remove this mocked connection afterward. For Google Cloud KMS, enter the project number, workload identity pool, and provider IDs. Select the exact key version. A project number and a project ID serve different purposes, so copy the identifier each field asks for. Open the Google trust plan and review the federation conditions and scoped metadata role. Don't substitute a broadly privileged service account. An authorized administrator applies the provider side configuration. This local walkthrough does not do that. Run the access test before the scan, then inspect the resource results. Partial or failed reads need investigation. They aren't evidence of zero risk. We'll revoke and delete this example connection while retaining its mocked operation history. You've followed the cloud workflow for AWS, Azure, and Google. Scope, trust, test, scan, inspect, and revoke. The provider responses were mocked. Repeat the access and evidence checks against your approved cloud account before relying on its inventory.