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

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.

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

Simply execute the following command which will prompt you to enter your client_id, client_secret, username, and password:

proxygen credentials set

If you need to update any credentials in the future, use the following command:

proxygen credentials set <KEY> <VALUE>

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

Uploaded Source

Built Distribution

proxygen_cli-2.1.3-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proxygen_cli-2.1.3.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.8.18 Linux/6.5.0-1016-azure

File hashes

Hashes for proxygen_cli-2.1.3.tar.gz
Algorithm Hash digest
SHA256 2fc5aa765299cc8614fd3ae434da2e22778881087059b7c29f40654dcdbdaebe
MD5 888ae05c71f53f0befa82c2d67898710
BLAKE2b-256 b759e44c60ae8b86ec81dd43c6f9d53b7db8139929b142ebcdea54247ee0bc37

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: proxygen_cli-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 35.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.8.18 Linux/6.5.0-1016-azure

File hashes

Hashes for proxygen_cli-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 59ba7db9a9b786a0f9823c5342e1ff760625ca8be4f169eafaa84eed96f16247
MD5 47f16f4adbffc4f6b3e93ae2f3d43be9
BLAKE2b-256 667fc49c8b65f11c785317f23c361f80a75680a184038982c20ae483430bfb87

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