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-saas==3.0.20250227

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

Then import the package:

import ibm_gdsc_sdk_saas

Getting Started

Please follow the installation procedure and then run the following:

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



# Configure HTTP basic authorization: BasicAuth
configuration = ibm_gdsc_sdk_saas.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_saas.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = ibm_gdsc_sdk_saas.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-saas-3.0.20250227.tar.gz (768.6 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_saas-3.0.20250227-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file ibm-gdsc-sdk-saas-3.0.20250227.tar.gz.

File metadata

  • Download URL: ibm-gdsc-sdk-saas-3.0.20250227.tar.gz
  • Upload date:
  • Size: 768.6 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-saas-3.0.20250227.tar.gz
Algorithm Hash digest
SHA256 a1d5d92e02f376633ce25111465917fbe44c667edc792bcb5e7f6cef53691607
MD5 0815b0f214dde96e10cc3669cafceb69
BLAKE2b-256 cf4d405bc1d3f7a74d14cdbcf3346cabd3d5e3fac283e94b1e9a60023d1eae84

See more details on using hashes here.

File details

Details for the file ibm_gdsc_sdk_saas-3.0.20250227-py3-none-any.whl.

File metadata

File hashes

Hashes for ibm_gdsc_sdk_saas-3.0.20250227-py3-none-any.whl
Algorithm Hash digest
SHA256 0912fcafd7894f65ddc95af9667a7fab251403862662ba1aeaf1b6d71e227834
MD5 d28e6fd1fd053b81fca88e36cd216360
BLAKE2b-256 2ff0bcde71088b8502f9688532e3878b103751b6721fdebba0a5c485d83f81d6

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