{"id":15288916,"url":"https://github.com/dimak98/ocp-cluster-login","last_synced_at":"2026-03-04T21:02:58.801Z","repository":{"id":213854028,"uuid":"735101520","full_name":"dimak98/ocp-cluster-login","owner":"dimak98","description":"OpenShift Interactive Login CLI Tool","archived":false,"fork":false,"pushed_at":"2023-12-23T20:39:00.000Z","size":2497,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T02:03:43.294Z","etag":null,"topics":["cli","interactive","openshift","openshift-cluster","opensource","python","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","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/dimak98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2023-12-23T17:05:37.000Z","updated_at":"2023-12-24T05:33:28.000Z","dependencies_parsed_at":"2024-01-12T09:46:02.773Z","dependency_job_id":null,"html_url":"https://github.com/dimak98/ocp-cluster-login","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"5af2a7a7977b68ea7ab94771113054db9a128a03"},"previous_names":["dimak98/ocp-cluster-login"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimak98%2Focp-cluster-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimak98%2Focp-cluster-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimak98%2Focp-cluster-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimak98%2Focp-cluster-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimak98","download_url":"https://codeload.github.com/dimak98/ocp-cluster-login/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681491,"owners_count":21144700,"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":["cli","interactive","openshift","openshift-cluster","opensource","python","selenium"],"created_at":"2024-09-30T15:54:39.663Z","updated_at":"2026-03-04T21:02:58.764Z","avatar_url":"https://github.com/dimak98.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](assets/logo.png)\n\n# OCP Cluster Login\n\n`ocp-cluster-login` is a Python tool designed to facilitate the login process to OpenShift clusters. It automates the web login flow using Selenium, making it easier to handle authentication for OpenShift clusters.\n\n## Features\n\n- Automates OpenShift web login process.\n- Supports Chrome and Firefox web drivers.\n- Checks if a user is already logged in before attempting to log in again.\n- Handles timeouts and browser driver errors.\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n- Python 3.6 or higher.\n- Selenium installed.\n- Selenium WebDriver for Chrome or Firefox.\n\n## Installation\n```bash\npip install ocp-cluster-login\n```\n\n## Usage\n```bash\nocp-cluster-login [-h] [-s SERVER] [-k] [-t TIMEOUT] [-d {chrome,firefox}]\n```\nThe tool supports several command line arguments to customize its behavior:\n- `-s`, `--server`: Specify the API server URL. Defaults to `https://api.ocp.domain.com:6443`.\n- `-k`, `--insecure-skip-tls-verify`: Skip TLS verification if necessary.\n- `-t`, `--timeout`: Set the timeout for waiting for login in seconds. Default is 60 seconds.\n- `-d`, `--driver`: Choose the web driver. Supported drivers are `chrome` and `firefox`. Default is `chrome`.\n\n# Contributing\n\nWe welcome contributions to the OpenShift Interactive Login CLI Tool! If you'd like to contribute, please follow the guidelines outlined in our [CONTRIBUTING.md](CONTRIBUTING.md) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimak98%2Focp-cluster-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimak98%2Focp-cluster-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimak98%2Focp-cluster-login/lists"}