Returns a project safe to publish, export, or hand to someone else: layer request headers and signed URLs, basemap style keys, geocoding keys, stored environment variables, and third-party plugin settings are all removed. The first-party map controls (legend, colorbar, swipe) are kept, since a project needs them to render as it was built.
Details
save_project() applies this by default.
Examples
map <- geolibre() |> add_marker(-77, 39)
safe <- redact_credentials(map)
safe$name
#> [1] "Untitled Project"