Commit f348392
authored
feat: Integrate dynamic API key injection (#1551)
* chore: inject GOOGLE_MAPS_API_KEY secret into deployment workflow and clean up legacy env variables
* feat: Updates workflows to use hidden API key values.
* feat: Updates workflows to use hidden API key values.
* feat: Updates workflows to use hidden API key values.
* feat: migrate all samples to dynamically injected API keys
* chore: lock down API key scope in test workflow
* fix: apply API key injection to JS/TS files in Vite
* chore: remove redundant project-level vite configs
* fix: explicitly pass root vite config path in sample package.json scripts
* fixes incorrect init statement
* fix: Enable e2e tests and rename prod api key
* chore: Rename development API key secret to JS_MAPS_DEV_KEY
* fix: replace hardcoded api key with placeholder in map-drawing-terradraw
* chore: enforce GOOGLE_MAPS_API_KEY placeholder in build-single.sh
* chore: require exact GOOGLE_MAPS_API_KEY placeholder
* chore: add 39-character regex check for raw API keys
* fix: refine 39-character regex to avoid base64 SVGs1 parent 5aa1825 commit f348392
298 files changed
Lines changed: 629 additions & 979 deletions
File tree
- .github/workflows
- dist/samples
- map-drawing-terradraw
- app
- docs
- jsfiddle
- routes-compute-routes
- app
- docs
- jsfiddle
- e2e
- samples
- 3d-accessibility-features
- 3d-camera-boundary
- 3d-camera-center
- 3d-camera-position
- 3d-camera-to-around
- 3d-clamp-mode
- 3d-coverage-map
- 3d-hero-showcase
- 3d-label-toggle
- 3d-localization
- 3d-map-45-degree-locked
- 3d-map-45-degree
- 3d-map-events
- 3d-map-roadmap
- 3d-map-styling
- 3d-marker-click-event
- 3d-marker-collision-behavior
- 3d-marker-customization
- 3d-marker-graphics
- 3d-marker-html
- 3d-marker-interactive
- 3d-mesh-flatten
- 3d-model-interactive
- 3d-model
- 3d-places-autocomplete
- 3d-places
- 3d-polygon-click-event
- 3d-polygon-extruded-hole
- 3d-polygon
- 3d-polyline-click-event
- 3d-polyline-extruded
- 3d-polyline
- 3d-popover-location
- 3d-popover-marker
- 3d-simple-map-declarative
- 3d-simple-map
- 3d-simple-marker
- add-map
- address-validation
- advanced-markers-accessibility
- advanced-markers-altitude
- advanced-markers-animation
- advanced-markers-basic-style
- advanced-markers-collision
- advanced-markers-draggable
- advanced-markers-graphics
- advanced-markers-html-simple
- advanced-markers-html
- advanced-markers-simple
- advanced-markers-zoom
- ai-powered-summaries-basic
- ai-powered-summaries
- boundaries-choropleth
- boundaries-click
- boundaries-simple
- boundaries-text-search
- circle-simple
- control-bounds-restriction
- control-custom-state
- control-disableUI
- control-options
- control-positioning-labels
- control-positioning
- control-replacement
- control-simple
- dds-datasets-point
- dds-datasets-polygon-click
- dds-datasets-polygon-colors
- dds-datasets-polygon
- dds-datasets-polyline
- dds-region-viewer
- deckgl-arclayer
- deckgl-heatmap
- deckgl-kml-updated
- deckgl-kml
- deckgl-points
- deckgl-polygon
- deckgl-tripslayer
- event-arguments
- event-click-latlng
- event-closure
- event-poi
- event-properties
- event-simple
- geocoding-component-restriction
- geocoding-place-id
- geocoding-region-es
- geocoding-region-us
- geocoding-reverse
- geocoding-simple
- hiding-features
- infowindow-simple
- js-api-loader-map
- layer-data-event
- layer-data-quakes-red
- layer-data-quakes-simple
- layer-data-simple
- layer-data-style
- map-drawing-terradraw
- map-events
- map-projection-simple
- map-simple-js
- map-simple
- place-autocomplete-basic-map
- place-autocomplete-data-session
- place-autocomplete-data-simple
- place-autocomplete-element
- place-autocomplete-map
- place-class
- place-nearby-search
- place-photos
- place-reviews
- place-text-search
- places-autocomplete-addressform
- places-placeid-finder
- polyline-complex
- polyline-remove
- polyline-simple
- react-ui-kit-place-details-compact
- src
- react-ui-kit-place-details-latlng-compact
- src
- react-ui-kit-place-details-latlng
- src
- react-ui-kit-place-details
- src
- react-ui-kit-search-nearby
- src
- react-ui-kit-search-text
- src
- rectangle-event
- routes-compute-routes
- routes-get-alternatives
- routes-get-directions-panel
- routes-get-directions
- routes-markers
- routes-route-matrix
- streetview-overlays
- test-example
- ui-kit-place-details-compact
- ui-kit-place-details
- ui-kit-place-search-nearby
- ui-kit-place-search-text
- weather-api-current-compact
- web-components-events
- web-components-map
- web-components-markers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| 168 | + | |
166 | 169 | | |
167 | 170 | | |
168 | 171 | | |
| |||
215 | 218 | | |
216 | 219 | | |
217 | 220 | | |
| 221 | + | |
| 222 | + | |
218 | 223 | | |
219 | 224 | | |
220 | 225 | | |
| |||
228 | 233 | | |
229 | 234 | | |
230 | 235 | | |
| 236 | + | |
231 | 237 | | |
232 | 238 | | |
233 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
13 | 10 | | |
14 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments