Skip to main content

B3n Sentinel CLI and MCP server - manage deployments, services, and projects

Project description

B3n Sentinel CLI

CLI and MCP server for B3n Sentinel.

Default API: https://sentinel.b3n.in

Login

Run GateKeeper device authorization:

b3n-sentinel login --url https://sentinel.b3n.in

Approve the displayed code in GateKeeper. The CLI stores refreshable credentials in ~/.b3n-sentinel/credentials.json and sends the GateKeeper access token as Authorization: Bearer.

For rollback or automation, create an admin API token in the Sentinel web UI (System -> Admin API Tokens -> Create token) and run:

b3n-sentinel login --url https://sentinel.b3n.in --admin-token

The old username/password OTP flow has been removed. Revoke CLI tokens from the web UI and revoke GateKeeper sessions from GateKeeper when they are no longer needed.

Common Commands

b3n-sentinel status
b3n-sentinel projects
b3n-sentinel services
b3n-sentinel project create my-app \
  --type fastapi \
  --domain my-app.b3n.in \
  --repo https://github.com/benaiah-ke/my-app \
  --image ghcr.io/benaiah-ke/my-app:latest
b3n-sentinel logs my-app
b3n-sentinel domain list

Set B3N_SENTINEL_URL or pass --url for non-production instances. For automation, use B3N_SENTINEL_TOKEN; generic SENTINEL_* names are left to Payd-era tooling and are intentionally not read by this package.

Repository: https://github.com/benaiah-ke/b3n-sentinel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

b3n_sentinel-0.3.1.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

b3n_sentinel-0.3.1-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file b3n_sentinel-0.3.1.tar.gz.

File metadata

  • Download URL: b3n_sentinel-0.3.1.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for b3n_sentinel-0.3.1.tar.gz
Algorithm Hash digest
SHA256 692361ec593f95e8eea4d401f56101f1be88d417ac217f9eb99953cc6cbac716
MD5 1cb4cb03c65dce81d08d654059e26866
BLAKE2b-256 2dba6e15f6fb8a925b5293fc56ba9b3c9bca75e66ada29e24383d5c4698accea

See more details on using hashes here.

Provenance

The following attestation bundles were made for b3n_sentinel-0.3.1.tar.gz:

Publisher: publish-cli.yml on benaiah-ke/b3n-sentinel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file b3n_sentinel-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: b3n_sentinel-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for b3n_sentinel-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3d12dfa61f5a4c71c70ccd7c540a61eb2697cb8cb898a6ea104c90d2a2b7017
MD5 c83fe58f3c27fc70448537c9aede08ce
BLAKE2b-256 afc71173099c3ba8d255cbb49f5186e172553ce5e609ecc6e69c064463615428

See more details on using hashes here.

Provenance

The following attestation bundles were made for b3n_sentinel-0.3.1-py3-none-any.whl:

Publisher: publish-cli.yml on benaiah-ke/b3n-sentinel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page