Skip to main content

Apigee Management API command-line interface with multi-factor authentication

Project description

Upload Python Package badge Python package badge Code style: black PyPI License

DISCLAIMER:
  • This package is highly experimental and conventions will probably break down across modules

  • This is not an officially supported Google product

This package provides a command-line interface for the Apigee Management API with multi-factor authentication.

Documentation: The Apigee Management API command-line interface documentation

usage: apigee [-h] [-V]
          {apiproducts,apiprods,prods,products,apis,apps,authorization,auth,backup,caches,configure,debug,trace,debugsessions,deployments,deps,developers,devs,keyvaluemaps,kvms,maskconfigs,masks,permissions,perms,restore,sharedflows,sf,stats,targetservers,ts,userroles,roles}
          ...
positional arguments:
apiproducts (apiprods, prods, products)

API products enable you to bundle and distribute your APIs to multiple developer groups simultaneously, without having to modify code.

apis

The proxy APIs let you perform operations on API proxies, such as create, delete, update, and deploy.

apps

Management APIs available for working with developer apps.

authorization (auth)

Custom authorization commands. More information on the use cases for these commands are yet to be documented.

backup

Downloads Apigee Edge configuration files for API proxies, key value maps, target servers, caches, developers, API products, developer apps, and user roles (including permissions and associated users).

caches

A lightweight persistence store that can be used by policies or code executing on the Apigee Edge. To support data segregation, cache resources are scoped to environments.

configure

Configure Apigee Edge credentials.

debug (trace, debugsessions)

Manage sessions configured in Apigee Edge to record specified messages and associated pipeline processing metadata for debugging purposes

deployments (deps)

API proxies that are actively deployed in environments on Apigee Edge.

developers (devs)

Developers implement client/consumer apps and must be registered with an organization on Apigee Edge.

keyvaluemaps (kvms)

Key/value maps at the environment scope can be accessed by any API proxy in the environment (such as test or prod). In the management UI (APIs > Environment Configuration), key/value maps are at the environment scope.

maskconfigs (masks)

Specify data that will be filtered out of trace sessions.

permissions (perms)

Permissions for roles in an organization on Apigee Edge.

restore

Restore specific resources from backups generated by the backup command.

sharedflows (sf)

APIs to manage shared flows and flow hooks.

stats

A source of metrics collected by Apigee Edge that measure API consumption and performance, used to build Analytics reports.

targetservers (ts)

TargetServers are used to decouple TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.

userroles (roles)

Roles for users in an organization on Apigee Edge. User roles form the basis of role-based access in Apigee Edge. Users are associated with one or more userroles. Each userrole defines a set of permissions (GET, PUT, DELETE) on RBAC resources (defined by URI paths).

optional arguments:
-h, --help

show this help message and exit

-V, --version

show program’s version number and exit

The apigee-cli package works on Python versions:

  • 3.6.x and greater

  • 3.7.x and greater

  • 3.8.x and greater

Installation

The easiest way to install apigee-cli is to use pip in a virtualenv:

$ pip install apigeecli

or, if you are not installing in a virtualenv, to install globally:

$ sudo pip install apigeecli

or for your user:

$ pip install --user apigeecli

If you have the apigee-cli installed and want to upgrade to the latest version you can run:

$ pip install --upgrade apigeecli

Getting Help

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

apigeecli-0.37.3.tar.gz (64.9 kB view hashes)

Uploaded Source

Built Distribution

apigeecli-0.37.3-py3-none-any.whl (100.3 kB view hashes)

Uploaded Python 3

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