Configure Google database discovery Let's connect Google Database Inventory without installing an endpoint agent. We'll configure Cloud SQL first, then AlloyDB, review their identities, and follow each connection to its results. This follows the cloud key lesson. The interface is real, but Google and Workspace responses are explicitly mocked. No cloud account is contacted. Start with Cloud SQL. Give this connection a useful name, then enter the database project's ID. The identity pool's project number is a different value, and it can identify a different project. Add the pool and provider IDs, then save. These fields identify resources. They aren't passwords or downloaded service account keys. Now open the generated trust plan. Match the issuer, audience, subject mapping, and subject condition exactly. The principal identifies this connection. Have your Google administrator bind the displayed metadata permission at the database project. Cloud SQL needs the instance list permission shown here. We aren't changing Google IAM in this walkthrough, and copying this plan doesn't prove access. Test access before scanning. Open the test's resource result, then run the scan and open its separate result. Our provider responses are mocked, so this success illustrates the workflow rather than proving authorization. Cloud SQL configuration can describe storage keys and configured transport policy. It doesn't prove which cipher and application session negotiated or that every database engine exposes the same fields. Check the selected project once more, then revoke the example connection and confirm its deletion. Those are Workspace actions. They don't remove a Google IAM binding or delete a database. Keep provider side cleanup on your administrator's checklist and keep historical scan evidence separate from the connection's life cycle. Next, choose AlloyDB. It has its own connector and adds a region to the database project scope. Enter the pool's project number, pool ID, and provider ID, then save. This connection inventories clusters and instances in that selected region. If you need another region, configure it deliberately instead of assuming this scope covers it. Review AlloyDB's own generated trust plan. The exact subject belongs to this connection even if you reuse an identity pool. Its metadata role lists clusters and instances. Those permissions don't grant SQL login, application row access, secret retrieval, or permission to probe the network. Your Google administrator must establish the real binding before the live access test can succeed. Test this connection, inspect its resource result, and then start discovery. Open the scan results so you can distinguish it from the earlier access test. Cluster storage configuration and instance transport settings describe different layers. Don't turn an absent field into a successful security check. Here, the result is explicitly mocked. A real deployment still needs its own authorization and evidence review. We've configured two distinct Google database paths, reviewed their bounded trust, and followed tests and scans to their results. Revoke and remove the final example. Use hosted inventory for provider configuration and pair it with authorized database agent scans when you need engine or session evidence. The next step is to compare those evidence layers without treating either as complete by itself.