Skip to main content

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
  • 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

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth

  • Type: Bearer authentication (JWT)

Author

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

ionoscloud_cert_manager-3.0.0.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ionoscloud_cert_manager-3.0.0-py3-none-any.whl (87.2 kB view details)

Uploaded Python 3

File details

Details for the file ionoscloud_cert_manager-3.0.0.tar.gz.

File metadata

  • Download URL: ionoscloud_cert_manager-3.0.0.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for ionoscloud_cert_manager-3.0.0.tar.gz
Algorithm Hash digest
SHA256 15e175dd8eb078ee60cee42b7308449f5097e3a73231594b30469241abd00238
MD5 b85143777183a4d6a885f7d149748356
BLAKE2b-256 13ce59903015cfc9bedc63ac5f47bf0ec916bb46e21f5baee7ce2b78fbf22292

See more details on using hashes here.

File details

Details for the file ionoscloud_cert_manager-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ionoscloud_cert_manager-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d81700fddc332ae69e39291ca2f8cfba114aa7f3f13222f08108f0b260546cf7
MD5 be22a56851b3aa649fda6cd05ef11148
BLAKE2b-256 10aeede84ee3a8a319cc5fd89e3c8e3585c497f11e249e8001a963dd20d8037e

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