{"id":23535064,"url":"https://github.com/ripta/dexctl","last_synced_at":"2025-11-01T00:30:28.237Z","repository":{"id":35145876,"uuid":"124741626","full_name":"ripta/dexctl","owner":"ripta","description":"Quick-n-dirty CLI for coreos/dex","archived":false,"fork":false,"pushed_at":"2022-05-03T12:29:16.000Z","size":2051,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T09:43:03.516Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ripta.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}},"created_at":"2018-03-11T09:28:40.000Z","updated_at":"2023-03-13T07:24:12.000Z","dependencies_parsed_at":"2022-08-08T06:15:25.247Z","dependency_job_id":null,"html_url":"https://github.com/ripta/dexctl","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/ripta%2Fdexctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Fdexctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Fdexctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Fdexctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripta","download_url":"https://codeload.github.com/ripta/dexctl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239242112,"owners_count":19605954,"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":[],"created_at":"2024-12-26T01:14:39.322Z","updated_at":"2025-11-01T00:30:28.189Z","avatar_url":"https://github.com/ripta.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"dexctl\n======\n\ndexctl is an unofficial command line tool for\n[dex](https://github.com/coreos/dex/), because there is no official one for dex\nv2. This tool is made available as-is: no guarantees of compatibility.\n\n\nQuickstart\n----------\n\n1. Generate certificates using `bin/cert-gen`.\n\n2. Create secret in same namespace as `dex` with the server.crt, server.key,\n   and ca.crt.\n\n3. Mount the secret into `/var/dex/certs`.\n\n4. Enable gRPC on dex:\n\n  ```\n    grpc:\n      addr: 0.0.0.0:5557\n      tlsCert: /var/dex/certs/server.crt\n      tlsKey: /var/dex/certs/server.key\n      tlsClientCA: /var/dex/certs/ca.crt\n  ```\n\n5. Restart the pods if necessary.\n\n6. Use kubectl to port-forward into one of the pods at port 5557.\n\n7. Run dexctl like:\n\n  ```\n    ./dexctl -ca-cert certs/ca.crt -client-cert certs/client.crt -client-key certs/client.key\n  ```\n\n8. You can give dexctl a path to a YAML file. The YAML file looks like:\n\n  ```\n    id: \"kubectl\"\n    name: \"Kubernetes CLI (kubectl)\"\n    secret: \"XXX-REDACTED-XXX\"\n    public: true\n  ```\n\nRefer to `type Client` in `vendor/github.com/coreos/dex/api/api.pb.go` to see\nthe full structure. The struct does not (as of March 2018) come with YAML tags;\nthe YAML keys should be lowercased in such a case (e.g., `redirecturis`).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripta%2Fdexctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripta%2Fdexctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripta%2Fdexctl/lists"}