Google Maps Platform assets are provisioned and managed by way of the Google Maps Platform interface on the Google Cloud Console. There are a number of actions and capabilities that may be applied by way of this interface, and their quantity and stage of sophistication are growing over time. This performance usually can have a number of penalties for any group by way of productiveness, interactivity, and prices – and due to this fact there’s usually a necessity for an strategy that can allow efficient governance by offering fit-for-purpose entry permissions to the varied capabilities and actions.
Examples embody the enablement of Maps-related APIs or SDKs, the creation of Maps API keys and credentials, the creation and enhancing of personalized Maps visualization kinds, and the importing and administration of personalized Geospatial datasets.
This text examines utilizing predefined Google Cloud IAM roles devoted to Google Maps utilization, which might improve the governance of those actions extra successfully in line with a consumer group’s permissions protocol.
As well as, the default Google Cloud IAM Mission Proprietor and Mission Editor roles present the consumer with entry to all the opposite non-Maps-related belongings within the Google Cloud Mission, which can not swimsuit the shopper’s consumer permission protocol.
These roles are assigned by way of the IAM & Admin menu web page within the GCP Console:
Google Cloud has two main predefined IAM roles related to the Google Maps Platform, which offer the next permissions:
- Maps API Admin: grants learn and write entry to all of the Maps API assets.
- Maps API Viewer: grants read-only entry to all of the Maps API assets.
The detailed listing of permissions for every of those roles is proven under:
Notice how restricted the Maps API Viewer’s entry to the wide range of performance accessible on the Maps Platform Console interface is. Primarily a Maps API Viewer is ready to solely view and make use of current Map IDs and Maps Kinds of the related Maps-related GCP Mission – with out the chance to make any additions, adjustments or deletions. These restrictions would, for instance, completely swimsuit the function of a junior programmer entrusted with creating code that features predefined basemaps with customized cartographic styling that the programmer wants to make use of with out altering the styling in any means. For instance:
Naturally this restriction extends to different capabilities accessible by way of the Maps Platform Console interface, equivalent to entry to the API Key interface, or enabling extra APIs. The message under is acquired when a Maps API Viewer tries to entry these restricted menu objects:
If you want to see what roles are related to every particular permission, these will be considered by way of the IAM permissions reference (seek for mapsadmin). For instance:
Along with the Maps API Admin and Viewer roles described above, two new devoted predefined roles have been launched with the latest launch of the brand new Maps Datasets API:
- Maps Platform Datasets Admin: grants learn and write entry to all of the Maps Platform Datasets API assets.
- Maps Platform Datasets Viewer: grants read-only entry to all of the Maps Platform Datasets API assets.
These two very particular roles present the power to successfully handle and management entry to the group’s proprietary Geospatial datasets, in addition to reap the benefits of the brand new Information-driven Styling (DDS) capabilities to cartographically model these datasets.
The detailed listing of permissions for every of the predefined Datasets roles is proven under:
Lastly, there are two extra Maps-related predefined IAM roles which can appear slightly obscure, however which might have a robust affect on the safe administration of Maps API keys. The Maps Platform interface on the Google Cloud Console gives up-to-date insights and proposals per GCP mission about proscribing API keys with a purpose to forestall unauthorized utilization. See instance under:
IAM Roles particularly related to the viewing and software of those insights and proposals are:
-
Google Maps Platform Insights/Suggestions Admin – admin of all Google Maps Platform insights and proposals.
-
Google Maps Platform Insights/Suggestions Viewer – viewer of all Google Maps Platform insights and proposals.
The entire predefined Maps IAM roles described above are very highly effective and helpful – however customized IAM roles may allow even finer management over permissions granted to customers. If you’re curious about studying about personalized and extremely granular IAM roles for the efficient administration of your group’s Google Maps Platform actions, please contact me by way of [email protected]