--- id: ibm-secrets-manager-sdk version: "2.1.19" license: unclear license_treatment: permissive maintenance: active --- # ibm-secrets-manager-sdk — IBM Cloud Secrets Manager Python SDK License: permissive · Maintenance: active · Downloads: 331.0K/mo ## What it is and what it does This is the official IBM Cloud Python SDK for interacting with IBM Cloud Secrets Manager, a managed service for storing and rotating sensitive data. The library wraps the Secrets Manager REST API, providing a SecretsManagerV2 client class that handles authentication via IBM Cloud's IAM system and exposes methods for creating, retrieving, updating, and managing secrets of various types. It depends on ibm-cloud-sdk-core for authentication and common SDK patterns, plus standard HTTP libraries (requests, urllib3) and python-dateutil for date handling. Developers use it to programmatically manage secrets in their IBM Cloud infrastructure—storing API keys, database credentials, certificates, or arbitrary secret data—without embedding credentials in code or configuration files. The SDK handles token-based authentication transparently, regenerating access tokens as needed, and provides a Pythonic interface to the underlying REST operations. Use it for: - Store and retrieve database credentials or API keys from application code without hardcoding them. - Automate secret rotation and lifecycle management as part of infrastructure-as-code workflows. - Integrate secret retrieval into CI/CD pipelines to inject credentials at deployment time. - Manage TLS certificates and other cryptographic material centrally in IBM Cloud. - Build multi-tenant applications that isolate secrets by environment or customer. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client library for programmatically managing secrets stored in IBM Cloud Secrets Manager, supporting creation, retrieval, and lifecycle operations through the service's REST API. Yes, if you are already using IBM Cloud Secrets Manager and need Python client access. The SDK is actively maintained, has no known vulnerabilities, installs with low friction, and is released under a permissive license. It is the official supported way to interact with the service from Python. Not relevant if you are not using IBM Cloud or prefer alternative secret management systems. ## Install pip install ibm-secrets-manager-sdk uv add ibm-secrets-manager-sdk poetry add ibm-secrets-manager-sdk ## Installing ibm-secrets-manager-sdk Before you install: Low friction install with a pure-Python wheel and four common runtime dependencies (ibm-cloud-sdk-core, python-dateutil, requests, urllib3). Actively maintained with recent releases and no known vulnerabilities. License in practice: Released under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers. Quickstart: pip install ibm-secrets-manager-sdk from ibm_cloud_sdk_core.authenticators.iam_authenticator import IAMAuthenticator from ibm_secrets_manager_sdk.secrets_manager_v2 import SecretsManagerV2 secretsManager = SecretsManagerV2( authenticator=IAMAuthenticator(apikey='') ) secretsManager.set_service_url('') response = secretsManager.get_secret(id='secret-id') Requires an IBM Cloud account, a Secrets Manager service instance, and a valid IBM Cloud API key for authentication. Verify before relying: - Whether the SDK supports all current Secrets Manager secret types and operations beyond the arbitrary secret example shown. - Performance characteristics and rate-limiting behavior when managing large numbers of secrets. - Backward compatibility guarantees across minor and patch versions. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 331.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags ibm cloud secrets manager client, python secrets management sdk, ibm cloud api python, credential storage and retrieval, secrets manager rest client, ibm cloud service sdk, secret lifecycle management, ibm-cloud, secrets-management, iam-auth [View on SkillFed](https://skillfed.io/packages/ibm-secrets-manager-sdk) · [View on PyPI](https://pypi.org/project/ibm-secrets-manager-sdk/)