{"id":20188398,"url":"https://github.com/lishisangzi/egg-keystone","last_synced_at":"2026-06-04T18:31:43.424Z","repository":{"id":57220551,"uuid":"94829090","full_name":"LiShiSangZi/egg-keystone","owner":"LiShiSangZi","description":"Egg plugin OpenStack Keystone Token Service","archived":false,"fork":false,"pushed_at":"2017-06-20T00:50:56.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T18:32:25.100Z","etag":null,"topics":["egg-plugin","eggjs","openstack","openstack-keystone"],"latest_commit_sha":null,"homepage":null,"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/LiShiSangZi.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}},"created_at":"2017-06-19T23:22:40.000Z","updated_at":"2017-08-08T12:44:37.000Z","dependencies_parsed_at":"2022-08-29T04:01:29.684Z","dependency_job_id":null,"html_url":"https://github.com/LiShiSangZi/egg-keystone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiShiSangZi%2Fegg-keystone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiShiSangZi%2Fegg-keystone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiShiSangZi%2Fegg-keystone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiShiSangZi%2Fegg-keystone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiShiSangZi","download_url":"https://codeload.github.com/LiShiSangZi/egg-keystone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241622613,"owners_count":19992504,"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":["egg-plugin","eggjs","openstack","openstack-keystone"],"created_at":"2024-11-14T03:28:56.296Z","updated_at":"2025-03-03T07:13:32.510Z","avatar_url":"https://github.com/LiShiSangZi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# egg-keystone\n\nThis is a egg plugin for fetching keystone token according to the default user/password/project/domain according to the configuration.\n\nTo use this configuration, you need to make sure you also have a memcached to save the keystone token temporality. Because we don't want to generate a token everytime you need it.\n\n## Install\nPlease make sure node 7.9.0 or above is install before you start.\n\n```\n$ npm i egg-keystone --save\n```\n\n## Usage\n```javascript\n// {app_root}/config/plugin.js\nexports.keystone = {\n  enable: true,\n  package: 'egg-keystone'\n};\nexports.memcached = {\n  enable: true,\n  package: 'egg-memcached'\n};\n```\n\n## Configuration\n```javascript\n// {app_root}/config/config.default.js \nexports.memcached = {\n  \"client\": {\n    \"hosts\": ['10.0.1.1:11211'],  // The memcached cluster list.\n  }\n};\n\nexports.keystone = {\n  \"url\": \"http://10.0.1.1:35357/v3\",  // Keystone endpoint.\n  \"username\": \"admin\",                // Keystone admin user.\n  \"userId\": \"732407c2ee4f4f99ac6639b386c299c0\", // Keystone admin user id.\n  \"password\": \"password\",       // Keystone admin password\n  \"projectName\": \"admin\",       // Keystone admin user's project name.\n  \"projectId\": \"cd5f1e02d9ad439abed7760afe0bd70e\",  // Keystone admin user's project id.\n  \"cachedKey\": \"temp_token\",    // The cached key saved in memcached.\n};\n```\n\nThis plugin will not require any new token unless the current one is expired.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flishisangzi%2Fegg-keystone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flishisangzi%2Fegg-keystone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flishisangzi%2Fegg-keystone/lists"}