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

(you may need to run pip with root permission: sudo pip install ibm-gdsc-sdk-saas==1.0.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.0.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.0.0-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ibm_gdsc_sdk_saas-1.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 d8ab79605a511a19634c31bdf2b023aa6e031b3a7609ee19723332ee97dc75f7
MD5 583e5b5997a428c2da4c416a1b90dc8b
BLAKE2b-256 787e796ddc1f0645a02780d9779a46166d469b597cb70fecfc7ae6081c769d3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ibm_gdsc_sdk_saas-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c9d25a4caa4e8037725582164e2bc28934fa3b2aaad1a04f391f02b6b9afc00
MD5 d42df77c17d9136814a31c664d47939a
BLAKE2b-256 4d9c8a4d979c28c2ef52e4ee50acaf46d3486aa5fb92bcf6c097621e59fbd9da

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