Certificate Manager Service API
Project description
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-beta.2
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ionoscloud_cert_manager-3.0.0b2.tar.gz.
File metadata
- Download URL: ionoscloud_cert_manager-3.0.0b2.tar.gz
- Upload date:
- Size: 40.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59def4f44e785267de53b2eb40da22952b45e2c9b17d2ed2d7c3b858b335a1ff
|
|
| MD5 |
4d332438c4e64c4132fea81e630aa1eb
|
|
| BLAKE2b-256 |
1c5ffeb9789b962114a4f2e71d614ca124ceb264a0fa329a31dec1df9465bad2
|
File details
Details for the file ionoscloud_cert_manager-3.0.0b2-py3-none-any.whl.
File metadata
- Download URL: ionoscloud_cert_manager-3.0.0b2-py3-none-any.whl
- Upload date:
- Size: 87.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98e02e64d2b88d090ac350d2bc4f9c40777e4526838bd8bc01db2b9c3be0e858
|
|
| MD5 |
0e0127a432f976a5ee1ec6e9610bac34
|
|
| BLAKE2b-256 |
c62d67d6b5bac73487db5d51d35fcac17014e18ed044be9c1e2970b59f38a2a1
|