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.20250221

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

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.20250221.tar.gz (768.8 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.20250221-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ibm-gdsc-sdk-saas-3.0.20250221.tar.gz
  • Upload date:
  • Size: 768.8 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.20250221.tar.gz
Algorithm Hash digest
SHA256 1b20ca7144c69299c60aa792b6b5207a9dee9e3eecfc93878f1b1e409e7afc37
MD5 f3a338b151e2778dbe1f1910ed301e07
BLAKE2b-256 f77bae5983bbc856acffb293037a8383a13d8ab19d08df47eca5f2ca16164cef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ibm_gdsc_sdk_saas-3.0.20250221-py3-none-any.whl
Algorithm Hash digest
SHA256 f4f14b5a493027f5465f91b556c98b8b495343e45ddd66208ca8a0a3c5c45886
MD5 84250f193bcfe33982abcdd6aed57dd9
BLAKE2b-256 b9dc392dbd49421d7ea0f10007f32d2f086aa9d8bc6142c5159f18056a5d79d8

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