{"id":18375829,"url":"https://github.com/apideck-libraries/vue-vault","last_synced_at":"2025-07-29T16:44:05.096Z","repository":{"id":64860645,"uuid":"578949035","full_name":"apideck-libraries/vue-vault","owner":"apideck-libraries","description":"Apideck Vault Modal component for Vue","archived":false,"fork":false,"pushed_at":"2023-10-17T18:00:43.000Z","size":172,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-14T04:42:20.119Z","etag":null,"topics":["apideck","integrations","vault","vue"],"latest_commit_sha":null,"homepage":"https://www.apideck.com/products/vault","language":"Vue","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/apideck-libraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-16T09:24:23.000Z","updated_at":"2023-01-16T14:39:03.000Z","dependencies_parsed_at":"2023-02-18T19:30:53.461Z","dependency_job_id":"1a960462-6a0d-45ee-9221-c6767219331d","html_url":"https://github.com/apideck-libraries/vue-vault","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/apideck-libraries/vue-vault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvue-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvue-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvue-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvue-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apideck-libraries","download_url":"https://codeload.github.com/apideck-libraries/vue-vault/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvue-vault/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267718977,"owners_count":24133466,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["apideck","integrations","vault","vue"],"created_at":"2024-11-06T00:20:36.915Z","updated_at":"2025-07-29T16:44:05.023Z","avatar_url":"https://github.com/apideck-libraries.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Vault\n\nA Vue component to embed [Apideck Vault](https://www.apideck.com/products/vault) in any Vue application.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/8850410/208065819-716c6e02-98c9-4df5-b687-e5acd1e3c4e5.png\" width=\"100%\" /\u003e\n\n**Vue Vault** | [React Vault](https://github.com/apideck-libraries/vault-react) | [Vault JS](https://github.com/apideck-libraries/vault-js)\n\n## Installation\n\n### Package\n\n```sh\nnpm install @apideck/vue-vault\n```\n\n## Prerequisites\n\nBefore opening the Vault modal with `@apideck/vue-vault`, you need to create a Vault session from your backend using the Vault API or one of our [SDKs](https://docs.apideck.com/sdks). Find out more in the [docs](https://docs.apideck.com/apis/vault/reference#operation/sessionsCreate).\n\n## Usage\n\nPass the JWT you got from the Vault session to `@apideck/vue-vault`, call the slot prop `open` to open the Vault modal.\n\n```vue\n\u003cscript setup lang=\"ts\"\u003e\nimport { VueVault } from \"@apideck/vue-vault\";\n\nconst sessionJwt = \"REPLACE_WITH_SESSION_TOKEN\";\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cmain\u003e\n    \u003cVueVault :token=\"sessionJwt\" v-slot=\"vaultProps\"\u003e\n      \u003cbutton @click=\"vaultProps.open()\"\u003eOpen\u003c/button\u003e\n    \u003c/VueVault\u003e\n  \u003c/main\u003e\n\u003c/template\u003e\n```\n\nIf you want to only show integrations for a single Unified API, you can do that by passing the `unified-api` prop. If you want to open Vault for only a single integration, you can provide the `service-id` prop.\n\n```vue\n\u003cscript setup lang=\"ts\"\u003e\nimport { VueVault } from \"@apideck/vue-vault\";\n\nconst sessionJwt = \"REPLACE_WITH_SESSION_TOKEN\";\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cmain\u003e\n    \u003cVueVault :token=\"sessionJwt\" unified-api=\"accounting\" service-id=\"quickbooks\" v-slot=\"vaultProps\"\u003e\n      \u003cbutton @click=\"vaultProps.open()\"\u003eOpen\u003c/button\u003e\n    \u003c/VueVault\u003e\n  \u003c/main\u003e\n\u003c/template\u003e\n```\n\nIf you want to get notified when the modal opens and closes, you can provide the `onReady` and `onClose` options.\n\n```vue\n\u003cscript setup lang=\"ts\"\u003e\nimport { VueVault } from \"@apideck/vue-vault\";\n\nconst sessionJwt = \"REPLACE_WITH_SESSION_TOKEN\";\n\nfunction onClose() {\n  console.log(\"closed!\");\n}\n\nfunction onReady() {\n  console.log(\"ready!\");\n}\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cmain\u003e\n    \u003cVueVault :token=\"sessionJwt\" :on-close=\"onClose\" :on-ready=\"onReady\" v-slot=\"vaultProps\"\u003e\n      \u003cbutton @click=\"vaultProps.open()\"\u003eOpen\u003c/button\u003e\n    \u003c/VueVault\u003e\n  \u003c/main\u003e\n\u003c/template\u003e\n```\n\n### Props\n\n| Property             | Type                             | Required | Default | Description                                                                                                                                      |\n| -------------------- | -------------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |\n| token                | string                           | true     | -       | The JSON Web Token returned from the [Create Session API](https://docs.apideck.com/apis/vault/reference#operation/sessionsCreate)                |\n| show-attribution     | boolean                          | false    | true    | Show \"Powered by Apideck\" in the backdrop of the modal backdrop                                                                                  |\n| on-close             | () =\u003e void                       | false    | -       | Function that gets called when the modal is closed                                                                                               |\n| on-ready             | () =\u003e void                       | false    | -       | Function that gets called when the modal is opened                                                                                               |\n| on-connection-change | (connection: Connection) =\u003e void | false    | -       | Function that gets called when the user updates a connection. This can be linking their account, filling out settings or adding a new connection |\n| on-connection-delete | (connection: Connection) =\u003e void | false    | -       | Function that gets called when the user deletes a connection                                                                                     |\n| unified-api          | string                           | false    | -       | When unified-api is provided it will only show integrations from that API.                                                                       |\n| service-id           | string                           | false    | -       | When unified-api and service-id are provided Vault opens a single integration                                                                    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapideck-libraries%2Fvue-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapideck-libraries%2Fvue-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapideck-libraries%2Fvue-vault/lists"}