{"id":20333737,"url":"https://github.com/nicolapps/netlify-plugin-mapkitjs-token","last_synced_at":"2026-06-01T04:32:06.425Z","repository":{"id":65597429,"uuid":"595390711","full_name":"Nicolapps/netlify-plugin-mapkitjs-token","owner":"Nicolapps","description":"Generate MapKit JS tokens during Netlify deployment","archived":false,"fork":false,"pushed_at":"2023-05-10T01:43:13.000Z","size":2309,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T10:48:27.884Z","etag":null,"topics":["mapkit-js","netlify","netlify-deployment"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nicolapps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-31T01:16:59.000Z","updated_at":"2023-10-28T14:28:02.000Z","dependencies_parsed_at":"2024-11-14T20:34:53.073Z","dependency_job_id":"079ffce5-d47d-4dc0-9a17-4586d42a430e","html_url":"https://github.com/Nicolapps/netlify-plugin-mapkitjs-token","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"810a2ee7a348d779ae5cf6ec5f107bb788b98a76"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"netlify/build-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicolapps%2Fnetlify-plugin-mapkitjs-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicolapps%2Fnetlify-plugin-mapkitjs-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicolapps%2Fnetlify-plugin-mapkitjs-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicolapps%2Fnetlify-plugin-mapkitjs-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nicolapps","download_url":"https://codeload.github.com/Nicolapps/netlify-plugin-mapkitjs-token/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241852158,"owners_count":20030969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mapkit-js","netlify","netlify-deployment"],"created_at":"2024-11-14T20:33:04.063Z","updated_at":"2026-06-01T04:32:06.393Z","avatar_url":"https://github.com/Nicolapps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netlify-plugin-mapkitjs-token\n\nThis Netlify plugin allows you to generate\n[MapKit JS](https://developer.apple.com/documentation/mapkitjs) each time you\ndeploy a website on Netlify. The token’s scope will be reduced to the URL of the\ndeployment.\n\n## Install\n\nInstall this plugin by adding this to your `netlify.toml` file:\n\n```toml\n[[plugins]]\npackage = \"netlify-plugin-mapkitjs-token\"\n```\n\n## Configuration\n\nThe following configuration parameters must be specified:\n\n| Environment variable name      | Input name         | Description                                                                        |\n| ------------------------------ | ------------------ | ---------------------------------------------------------------------------------- |\n| `MAPKIT_JS_TEAM_ID`            | `teamId`           | Apple development team ID                                                          |\n| `MAPKIT_JS_KEY_ID`             | `keyId`            | The ID of the private key.                                                         |\n| `MAPKIT_JS_AUTH_KEY`           | `authKey`          | The [Base64-encoded](https://www.base64encode.org) contents of the `.p8` key file. |\n| `MAPKIT_JS_TOKEN_ENV_VARIABLE` | `tokenEnvVariable` | The name of the environment variable used to store the token.                      |\n| `MAPKIT_JS_TTL`                | `ttl`              | The number of seconds the token should be valid.                                   |\n| `MAPKIT_JS_ORIGIN`             | `origin`           | The domain the token is restricted to. Uses the Netlify deploy domain by default.  |\n\nThe simplest way to define your parameters is to\n[set the environment variables](https://docs.netlify.com/environment-variables/get-started/#create-variables-with-the-netlify-ui-cli-or-api)\nfrom Netlify’s web UI. You can also use\n[plugin inputs](https://docs.netlify.com/integrations/build-plugins/#configure-settings)\ninstead.\n\nTo get a private key, follow\n[Apple’s instructions](https://developer.apple.com/documentation/mapkitjs/creating_a_maps_identifier_and_a_private_key).\n\n`MAPKIT_JS_TOKEN_ENV_VARIABLE` specifies the name you can use to access your\ntoken. The\n[Netlify documentation](https://docs.netlify.com/integrations/frameworks/environment-variables/#custom-variables)\ngives more information about which name you should use depending on your\nframework.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolapps%2Fnetlify-plugin-mapkitjs-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolapps%2Fnetlify-plugin-mapkitjs-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolapps%2Fnetlify-plugin-mapkitjs-token/lists"}