Skip to main content

CLI for the ServiceX Data Server

Project description

ServiceX Command Line Tool

This is a tool for setting up the ServiceX cluster.

Currently, its only function is to automatically create a Kubernetes Secret to securely store your grid certs and passphrase, and to clear this Secret.

Installation

The tool is available on pypi:

pip install servicex-cli

Usage

To list the version of the servicex cli installed:

servicex version

Initialization

The ServiceX CLI can be used to initialize ServiceX as follows:

servicex [--namespace <namespace>] init [certs|all] [--cert-dir <cert dir>]

Run servicex init to set up everything, or specify one or more components for partial setup (e.g. servicex init certs). Certs are the only component currently supported.

Grid Certs

By default, the CLI will find certs in .globus in your home directory. You can override this by providing a --cert-dir command line option.

By default the secret will be created in the default namespace. You can override this by providing a --namespace command line option (this must precede the init command).

You will be prompted for your grid cert passphrase. This will not be echoed to the screen, but will be stored in the Kubernetes Secret.

Removal

If you want to remove the installed Secrets from the cluster then you can use:

servicex [--namespace <namespace>] clear [certs|all]

Run servicex clear to clear all Secrets, or specify one or more components (e.g. servicex clear certs). Specify a --namespace argument which precedes the clear command to remove the Secrets from that namespace.

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

servicex-cli-1.0.0rc2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

servicex_cli-1.0.0rc2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file servicex-cli-1.0.0rc2.tar.gz.

File metadata

  • Download URL: servicex-cli-1.0.0rc2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.4

File hashes

Hashes for servicex-cli-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 7b1162edbb61361400636c1a9f892825d93585361cd73183001d9d4cb66888d8
MD5 08c076cfe31f8d1f185b487a69715ab2
BLAKE2b-256 dcbfce561ab7d3fc1c72416a5bf77ae2e09272d6244c50b1434ef985738b2e2c

See more details on using hashes here.

Provenance

File details

Details for the file servicex_cli-1.0.0rc2-py3-none-any.whl.

File metadata

  • Download URL: servicex_cli-1.0.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.4

File hashes

Hashes for servicex_cli-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 2620ae186665975df367c0c9be6cd602751d805939245de72baf092391130c29
MD5 fd88072cbc76fb489618e7274517f854
BLAKE2b-256 718a1bd4f500def6257013bc5e1975a193b18ec7a8cf37f727e74fc60f31dc90

See more details on using hashes here.

Provenance

Supported by

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