{"id":22290854,"url":"https://github.com/voltan/openshift-php","last_synced_at":"2025-09-11T01:33:19.369Z","repository":{"id":149822744,"uuid":"166400942","full_name":"voltan/openshift-php","owner":"voltan","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-18T12:23:00.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T02:16:43.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voltan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-01-18T12:22:13.000Z","updated_at":"2019-01-18T12:23:02.000Z","dependencies_parsed_at":"2023-05-04T05:33:47.807Z","dependency_job_id":null,"html_url":"https://github.com/voltan/openshift-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/voltan/openshift-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voltan%2Fopenshift-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voltan%2Fopenshift-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voltan%2Fopenshift-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voltan%2Fopenshift-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voltan","download_url":"https://codeload.github.com/voltan/openshift-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voltan%2Fopenshift-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273278498,"owners_count":25077244,"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-09-02T02:00:09.530Z","response_time":77,"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":[],"created_at":"2024-12-03T17:14:23.332Z","updated_at":"2025-09-02T11:33:08.645Z","avatar_url":"https://github.com/voltan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openshift-php\n\n**How to use this script**\n\n*  Open `exec` function on php\n*  Call index.php url by set values as GET format\n*  Used commands is (test username is voltan) :\n   *  `oc create user voltan` - Create user\n   *  `oc create identity ldap_provider:voltan` - Create identity\n   *  `oc create useridentitymapping ldap_provider:voltan voltan` - Add user to identity\n   *  `oc create serviceaccount voltan` - Create service account\n   *  `oc policy add-role-to-user admin system:serviceaccounts:test:voltan` - Add role to service account\n   *  `oc serviceaccounts get-token voltan` - Get service account token\n   \n   \n===\n\nWebservice urls : \n\n*  `index.php?action=create\u0026username=\u003cUSERNAME\u003e` - Create user and identity and set user to identity\n*  `index.php?action=serviceaccount\u0026username=\u003cUSERNAME\u003e` - Create service account\n*  `index.php?action=role\u0026username=\u003cUSERNAME\u003e\u0026role=\u003cROLE\u003e\u0026service=\u003cSERVICE\u003e` - Add role to service account\n*  `index.php?action=token\u0026username=\u003cUSERNAME\u003e` - Get service account token\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoltan%2Fopenshift-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoltan%2Fopenshift-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoltan%2Fopenshift-php/lists"}