Skip to main content

IBM Guardium Data Security Center

Project description

IBM Guardium Data Security Center Python client

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install ibm-gdsc-sdk-software==3.6.1

(you may need to run pip with root permission: sudo pip install ibm-gdsc-sdk-software==3.6.1)

Then import the package:

import ibm_gdsc_sdk_software

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import ibm_gdsc_sdk_software

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import os
import ibm_gdsc_sdk_software
from ibm_gdsc_sdk_software.models.tenantuserv3_get_users_response import Tenantuserv3GetUsersResponse
from ibm_gdsc_sdk_software.rest import ApiException
from pprint import pprint



# Configure HTTP basic authorization: BasicAuth
configuration = ibm_gdsc_sdk_software.Configuration(
    host = os.environ['URL'],
    username = os.environ['API_USERNAME'],
    password = os.environ['API_PASSWORD']
)

# Configure API key authorization: ApiKeyAuth
#configuration.api_key['ApiKeyAuth'] = os.environ['API_KEY']
configuration.verify_ssl = False
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#configuration.api_key_prefix['ApiKeyAuth'] = "Basic"
# Enter a context with an instance of the API client

with ibm_gdsc_sdk_software.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = ibm_gdsc_sdk_software.JumpboxServiceApi(api_client)
    uid = '' # str | Email. (optional)

    try:
        # Summary: Get users Description: Get all users base on a tenantID.
        api_response = api_instance.jumpbox_service_get_users(uid=uid)
        print("The response of JumpboxServiceApi->jumpbox_service_get_users:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling JumpboxServiceApi->jumpbox_service_get_users: %s\n" % e)

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

ibm-gdsc-sdk-software-3.6.1.tar.gz (703.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ibm_gdsc_sdk_software-3.6.1-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file ibm-gdsc-sdk-software-3.6.1.tar.gz.

File metadata

  • Download URL: ibm-gdsc-sdk-software-3.6.1.tar.gz
  • Upload date:
  • Size: 703.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for ibm-gdsc-sdk-software-3.6.1.tar.gz
Algorithm Hash digest
SHA256 c9735bd72bd2888d52ac6e95cc49e85edede3af388ce1852e68212a7eb824633
MD5 5300874a32181e17a35a33eb9e78294d
BLAKE2b-256 3faf9a0992a75ea1fe3f2cda443c10cdffc57bb939e372c7055bee692d0a9206

See more details on using hashes here.

File details

Details for the file ibm_gdsc_sdk_software-3.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ibm_gdsc_sdk_software-3.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 94e03ea20a92335b5bd10e98fde7e167aa4aaef05751b6af08d06bdda38daa26
MD5 af2f0e57b05213c10b8b337f285a2428
BLAKE2b-256 a7259d76ba345984b895ee1f5c638cf8b5f7e143a3a45c2ae7ff968d7213b82b

See more details on using hashes here.

Supported by

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