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

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.0b2.tar.gz (40.4 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.0b2-py3-none-any.whl (87.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ionoscloud_cert_manager-3.0.0b2.tar.gz
Algorithm Hash digest
SHA256 59def4f44e785267de53b2eb40da22952b45e2c9b17d2ed2d7c3b858b335a1ff
MD5 4d332438c4e64c4132fea81e630aa1eb
BLAKE2b-256 1c5ffeb9789b962114a4f2e71d614ca124ceb264a0fa329a31dec1df9465bad2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ionoscloud_cert_manager-3.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 98e02e64d2b88d090ac350d2bc4f9c40777e4526838bd8bc01db2b9c3be0e858
MD5 0e0127a432f976a5ee1ec6e9610bac34
BLAKE2b-256 c62d67d6b5bac73487db5d51d35fcac17014e18ed044be9c1e2970b59f38a2a1

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