ionoscloud-cert-manager
Using the Certificate Manager Service, you can conveniently provision and manage SSL certificates with IONOS services and your internal connected resources.
For the Application Load Balancer, you usually need a certificate to encrypt your HTTPS traffic. The service provides the basic functions of uploading and deleting your certificates for this purpose.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 2.0
- Package version: 3.0.0
- Generator version: 7.13.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/ionos-cloud/sdk-python.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/ionos-cloud/sdk-python.git)
Then import the package:
import ionoscloud_cert_manager
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import ionoscloud_cert_manager
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import ionoscloud_cert_manager
from ionoscloud_cert_manager.rest import ApiException
from pprint import pprint
import os
# Defining the host is optional and defaults to https://certificate-manager.de-fra.ionos.com
# See configuration.py for a list of all supported configuration parameters.
configuration = ionoscloud_cert_manager.Configuration(
host = "https://certificate-manager.de-fra.ionos.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): tokenAuth
configuration = ionoscloud_cert_manager.Configuration(
token = os.environ["IONOS_TOKEN"]
)
# Enter a context with an instance of the API client
with ionoscloud_cert_manager.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ionoscloud_cert_manager.AutoCertificateApi(api_client)
auto_certificate_id = 'f88467f8-a2d6-5871-83b9-e10f23d0a48a' # str | The ID (UUID) of the AutoCertificate.
try:
# Delete AutoCertificate
api_instance.auto_certificates_delete(auto_certificate_id)
except ApiException as e:
print("Exception when calling AutoCertificateApi->auto_certificates_delete: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://certificate-manager.de-fra.ionos.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AutoCertificateApi | auto_certificates_delete | DELETE /auto-certificates/{autoCertificateId} | Delete AutoCertificate |
| AutoCertificateApi | auto_certificates_find_by_id | GET /auto-certificates/{autoCertificateId} | Retrieve AutoCertificate |
| AutoCertificateApi | auto_certificates_get | GET /auto-certificates | Retrieve all AutoCertificate |
| AutoCertificateApi | auto_certificates_patch | PATCH /auto-certificates/{autoCertificateId} | Updates AutoCertificate |
| AutoCertificateApi | auto_certificates_post | POST /auto-certificates | Create AutoCertificate |
| CertificateApi | certificates_delete | DELETE /certificates/{certificateId} | Delete Certificate |
| CertificateApi | certificates_find_by_id | GET /certificates/{certificateId} | Retrieve Certificate |
| CertificateApi | certificates_get | GET /certificates | Retrieve all Certificate |
| CertificateApi | certificates_patch | PATCH /certificates/{certificateId} | Updates Certificate |
| CertificateApi | certificates_post | POST /certificates | Create Certificate |
| ProviderApi | providers_delete | DELETE /providers/{providerId} | Delete Provider |
| ProviderApi | providers_find_by_id | GET /providers/{providerId} | Retrieve Provider |
| ProviderApi | providers_get | GET /providers | Retrieve all Provider |
| ProviderApi | providers_patch | PATCH /providers/{providerId} | Updates Provider |
| ProviderApi | providers_post | POST /providers | Create Provider |
Documentation For Models
- AutoCertificate
- AutoCertificateCreate
- AutoCertificatePatch
- AutoCertificateRead
- AutoCertificateReadList
- Certificate
- CertificateCreate
- CertificatePatch
- CertificateRead
- CertificateReadList
- Connection
- DayOfTheWeek
- Error
- ErrorMessagesInner
- Links
- MaintenanceWindow
- Metadata
- MetadataWithAutoCertificateInformation
- MetadataWithCertificateInformation
- MetadataWithStatus
- Pagination
- PatchName
- Provider
- ProviderCreate
- ProviderExternalAccountBinding
- ProviderPatch
- ProviderRead
- ProviderReadList
Documentation For Authorization
Authentication schemes defined for the API:
tokenAuth
- Type: Bearer authentication (JWT)
Author
Metadata
Release files for ionoscloud-cert-manager 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ionoscloud_cert_manager-3.0.0.tar.gz | 40.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ionoscloud_cert_manager-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 127.8 kB
Release files / ionoscloud_cert_manager-3.0.0.tar.gz
| Download URL | ionoscloud_cert_manager-3.0.0.tar.gz |
|---|---|
| Size | 40.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15e175dd8eb078ee60cee42b7308449f5097e3a73231594b30469241abd00238
|
|
BLAKE2b-256 checksum How to use checksums |
13ce59903015cfc9bedc63ac5f47bf0ec916bb46e21f5baee7ce2b78fbf22292
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / ionoscloud_cert_manager-3.0.0-py3-none-any.whl
| Download URL | ionoscloud_cert_manager-3.0.0-py3-none-any.whl |
|---|---|
| Size | 87.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d81700fddc332ae69e39291ca2f8cfba114aa7f3f13222f08108f0b260546cf7
|
|
BLAKE2b-256 checksum How to use checksums |
10aeede84ee3a8a319cc5fd89e3c8e3585c497f11e249e8001a963dd20d8037e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|