IBM Cloud Secrets Manager Python SDK
Maintained. Last release 8 months ago, commits in 17 of the last 26 weeks. Weaker on contributor spread.
pip install ibm-secrets-manager-sdkIBM Cloud Secrets Manager Python SDK
A Python client library to interact with the IBM Cloud® Secrets Manager APIs.
Table of Contents
Overview
The IBM Cloud Secrets Manager Python SDK allows developers to programmatically interact with the following IBM Cloud services:
| Service name | Imported class name |
|---|---|
| Secrets Manager | SecretsManagerV2 |
Prerequisites
- An IBM Cloud account.
- A Secrets Manager service instance.
- An IBM Cloud API key that allows the SDK to access your account.
- Python 3.9 or above.
Installation
To install, use pip or easy_install:
pip install --upgrade "ibm-secrets-manager-sdk"
or
easy_install --upgrade "ibm-secrets-manager-sdk"
Authentication
Secrets Manager uses token-based Identity and Access Management (IAM) authentication.
With IAM authentication, you supply an API key that is used to generate an access token. Then, the access token is included in each API request to Secrets Manager. Access tokens are valid for a limited amount of time and must be regenerated. Authentication for this SDK is accomplished by using . Import authenticators from .