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==1.1.0

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

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

Uploaded Python 3

File details

Details for the file ibm_gdsc_sdk_saas-1.1.0.tar.gz.

File metadata

  • Download URL: ibm_gdsc_sdk_saas-1.1.0.tar.gz
  • Upload date:
  • Size: 818.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for ibm_gdsc_sdk_saas-1.1.0.tar.gz
Algorithm Hash digest
SHA256 027d2afb06a3692c2d7fd587400a58be9f1d3054a72dde2e3462f57366d49ba7
MD5 f009a8b750bd1a019908096c24597b90
BLAKE2b-256 0ca82c68c9af71afa0fd01861c5388e2bfbbf8dc8fec7e79aa485f4460fddf5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ibm_gdsc_sdk_saas-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 552e5290921c247ff66d922802fc87501695d4122e508156191807d7ce584e5f
MD5 5648ce75b0b3a8f4e114baef00cee666
BLAKE2b-256 59391999add9be1adaf4cc0bf9c58adc0d823cc76cad37a6f8eac8ce1957f0cd

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