CoreCLI (cor)
CLI interna (Project COR): autenticación Cognito (PKCE), API GraphQL y utilidades como reglas SSH en security groups.
Requisitos: Python 3.9+
Instalación
pip install corclient
Homebrew (macOS/Linux):
brew tap ProjectCORTeam/corcli https://github.com/ProjectCORTeam/corcli.git
brew install corclient
Actualizar: pip install -U corclient o brew update && brew upgrade corclient
Desarrollo: git clone … && cd corcli && pip install -e ".[dev]"
Autocompletado
cor --install-completion
(Reinicia la terminal o recarga tu ~/.zshrc / ~/.bashrc.)
Login
Opcional — endpoint GraphQL (por defecto: https://api.cor-dev.com/graphql):
export COR_GRAPHQL_URL="https://api.cor-dev.com/graphql"
cor login # navegador + PKCE; guarda tokens
cor whoami # usuario, expiración, grupos Cognito
cor refresh # refresco manual (el CLI también lo hace solo)
cor logout
Redirección custom: cor login --app-redirect "myapp://callback"
SSH: actualizar tu IP en los security groups
Abre TCP/22 en los SG etiquetados (por defecto tag CORManagedSSH=corcli) en las cuentas main, prod y staging definidas en el código.
cor ssh access-update
Por defecto usa tu IPv4 pública y como descripción de la regla el email de la sesión.
| Opción | Descripción |
|---|---|
-y / --yes |
Sin confirmación (obligatorio sin TTY) |
-t / --tag |
Tag clave=valor (default: CORManagedSSH=corcli) |
-r / --region |
Región EC2 para todas las cuentas |
--ip |
IPv4 fija (/32 opcional) — solo grupos Cognito autorizados |
-d / --description |
Texto de la regla en el SG — solo grupos autorizados |
Región por entorno (sin flag): export COR_SSH_ACCESS_EC2_REGION=us-east-2
Nota: --ip y --description están restringidos; si no tienes permiso, usa el flujo por defecto o contacta a administración.
Repo y soporte
- Código: github.com/ProjectCORTeam/corcli
- Issues: Issues
- Licencia: MIT
Project COR Team
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file corclient-1.3.1.tar.gz.
File metadata
- Download URL: corclient-1.3.1.tar.gz
- Upload date:
- Size: 42.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d37955e6ff286a10044e753c95100585305cc7e2767c4eea8780a8d7aba5363
|
|
| MD5 |
688aba773bdd712c93bef82ef71976c4
|
|
| BLAKE2b-256 |
cac5b77b35d4d1da5909221f7bb8d46cf5d57509c484f6b1a2b73ff57210209d
|
Provenance
The following attestation bundles were made for corclient-1.3.1.tar.gz:
Publisher:
pypi-release.yaml on ProjectCORTeam/corcli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
corclient-1.3.1.tar.gz -
Subject digest:
7d37955e6ff286a10044e753c95100585305cc7e2767c4eea8780a8d7aba5363 - Sigstore transparency entry: 2703037691
- Sigstore integration time:
-
Permalink:
ProjectCORTeam/corcli@6df2a5d522667e96f965cb116e372bdff20761ce -
Branch / Tag:
refs/tags/v1.3.1 - Owner: https://github.com/ProjectCORTeam
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yaml@6df2a5d522667e96f965cb116e372bdff20761ce -
Trigger Event:
release
-
Statement type:
File details
Details for the file corclient-1.3.1-py3-none-any.whl.
File metadata
- Download URL: corclient-1.3.1-py3-none-any.whl
- Upload date:
- Size: 41.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc7a641f4954e88b33763a62fe2ee2ee266ddb9ce3e414f0cfb96bceeadc1985
|
|
| MD5 |
ca690ac48099f9dd51dc629b83d607e2
|
|
| BLAKE2b-256 |
20d60464439f580588a80c28a990b676041863b71eb2104b9f3b92c830051d93
|
Provenance
The following attestation bundles were made for corclient-1.3.1-py3-none-any.whl:
Publisher:
pypi-release.yaml on ProjectCORTeam/corcli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
corclient-1.3.1-py3-none-any.whl -
Subject digest:
cc7a641f4954e88b33763a62fe2ee2ee266ddb9ce3e414f0cfb96bceeadc1985 - Sigstore transparency entry: 2703037728
- Sigstore integration time:
-
Permalink:
ProjectCORTeam/corcli@6df2a5d522667e96f965cb116e372bdff20761ce -
Branch / Tag:
refs/tags/v1.3.1 - Owner: https://github.com/ProjectCORTeam
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yaml@6df2a5d522667e96f965cb116e372bdff20761ce -
Trigger Event:
release
-
Statement type: