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.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: servicex-cli-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for servicex-cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5c285a4fc18031266c511ce35a80644490da0c2afa74ecf731d09e042848646b
MD5 60c07b540add53c3e8c6a08bad18dbca
BLAKE2b-256 e109522de9049e1a941bb40db2360296a0ede2324a65da45a4d230544a175bcd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: servicex_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for servicex_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a40d88b190e228741d800932660ce3fe27a20354875134a5a9f4720552af89e7
MD5 1dc1176b04edc05f526c7f115e1f15c6
BLAKE2b-256 ab6fd0efe6c98db6a00a3704216caf616538098977531a2ee5142de1f462739e

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