{"id":28533860,"url":"https://github.com/epam/hub-dexctl","last_synced_at":"2026-07-18T16:36:36.402Z","repository":{"id":51567253,"uuid":"520494988","full_name":"epam/hub-dexctl","owner":"epam","description":"Command line tool to communicate with Dex API","archived":false,"fork":false,"pushed_at":"2022-12-12T17:10:35.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-07-18T16:36:22.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epam.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":"2022-08-02T12:45:56.000Z","updated_at":"2025-12-16T01:18:02.000Z","dependencies_parsed_at":"2023-01-27T22:30:26.645Z","dependency_job_id":null,"html_url":"https://github.com/epam/hub-dexctl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epam/hub-dexctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fhub-dexctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fhub-dexctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fhub-dexctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fhub-dexctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epam","download_url":"https://codeload.github.com/epam/hub-dexctl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fhub-dexctl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35624316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"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":"2025-06-09T17:09:01.663Z","updated_at":"2026-07-18T16:36:36.397Z","avatar_url":"https://github.com/epam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dexctl\n\n## Description\n\nA command line tool which communicate with [The Dex API](https://dexidp.io/docs/api/). With help of this tool you could `create`, `update` and `delete` such dex entity like static password of static oauth2 clients.\n\n### Usage\n\nValues for global flags `host`, `port`, `ca-cert`, `client-cert` and `client-key` could be also read from env variables with prefix `DEX_API`\n\n```bash\nDEX_API_HOST=\"api.mydex.com\" dexctl create password --email my@email.com --password verystrongpassword\n```\n\n## Development\n\n### Prepare\n\n```bash\ngo mod download\n```\n\n### Build\n\n```bash\ngo build -o bin/$(go env GOOS)/dexctl \\\n    -ldflags=\"-s -w \\\n    -X 'github.com/epam/hub-dexctl/cmd.ref=$(git rev-parse --abbrev-ref HEAD)' \\\n    -X 'github.com/epam/hub-dexctl/cmd.commit=$(git rev-parse --short HEAD)' \\\n    -X 'github.com/epam/hub-dexctl/cmd.buildAt=$(date +\"%Y.%m.%d %H:%M %Z\")'\"\n```\n\n### Run\n\n```bash\n./bin/$(go env GOOS)/dexctl\n```\n\n### Docker image\n\nDocker image is based on distoless image [static-debian11](https://github.com/GoogleContainerTools/distroless/blob/main/base/README.md)\n\n```bash\nIMAGE_NAME=\"ghcr.io/epam/dexctl\";\nIMAGE_TAG=\"$(git rev-parse --short HEAD)\";\ndocker buildx build --tag \"${IMAGE_NAME}:${IMAGE_TAG}\" --tag \"${IMAGE_NAME}:latest\" . ;\n```\n\n### Contribute\n\nBefore commit and submit pull request run next commands\n\n```bash\ngo fmt github.com/epam/hub-dexctl/...\ngo vet github.com/epam/hub-dexctl/...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepam%2Fhub-dexctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepam%2Fhub-dexctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepam%2Fhub-dexctl/lists"}