Skip to main content

CLI for interacting with NHSD APIM's proxygen service

Project description

proxygen-cli

Installation

Should be as simple as

pip install proxygen-cli

The python package includes an execuatable proxygen. Type proxygen to see a list of available commands.

Configuration

Credentials

All users should have individual credentials. proxygen-cli needs to know about them.

proxygen credentials set username <USERNAME>
proxygen credentials set password <PASSWORD>

The CLI has its own client credentials, which need to be input. Contact deathstar squad or the platforms-api-producer-support slack channel to find out what they are.

proxgen credentials set client_id <CLIENT_ID>
proxgen credentials set client_secret <CLIENT_SECRET>

Settings

proxygen-cli needs to know what API you are developing.

proxygen settings set api <API-NAME>

Your user must have permissions to manipulate instances/secrets/specs for the API you set here. If you do not have sufficient permissions commands will fail. If you believe your permissions are incorrect, contact the platforms-api-producer-support channel.

Commands

Commands are documented inside the CLI itself. Type proxygen to see a list of available commands.

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

proxygen_cli-2.0.13.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

proxygen_cli-2.0.13-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file proxygen_cli-2.0.13.tar.gz.

File metadata

  • Download URL: proxygen_cli-2.0.13.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1039-azure

File hashes

Hashes for proxygen_cli-2.0.13.tar.gz
Algorithm Hash digest
SHA256 2915e14bba43d829d9880b1ddec30284ea1abe9a323c0000137c18728b5624dd
MD5 4aca101ace5f977bdf065066695ad6aa
BLAKE2b-256 401c1dcf8e67e2e13605ed3e5e7a9fca74486f1a42a847b0008d56dee5937377

See more details on using hashes here.

Provenance

File details

Details for the file proxygen_cli-2.0.13-py3-none-any.whl.

File metadata

  • Download URL: proxygen_cli-2.0.13-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1039-azure

File hashes

Hashes for proxygen_cli-2.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 8295e345ca1b93a43fd9a8823b71771e440069928ed4adfbd4377bcab77c1873
MD5 447ec9d3aa48bc5f6961991c84c7b24c
BLAKE2b-256 245dda0d6d00b18a59c00b5789e9f314eee717178171bf8aadc0bf818a916838

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