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.1
  • 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.0b1.tar.gz (55.3 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.0b1-py3-none-any.whl (126.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ionoscloud_cert_manager-3.0.0b1.tar.gz
Algorithm Hash digest
SHA256 f50d600a8a4f512e73b8e3cc2d58a4c01f0cb4813612dca8b69ebfd113d9994e
MD5 94a764bb0cbca459a4de54f0d7abb8d8
BLAKE2b-256 fcda8b3feac619011b1a22e695c5a71deb0c95cded13b8254ae6d01b7674299d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ionoscloud_cert_manager-3.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 31658a886f634bc9990557fcf51f7a1c17f4a66dae6577fe271f3791778d4162
MD5 6423b25b9c10b1ac95f8931e57422f67
BLAKE2b-256 23914b48b769cfbff63537ccfbee10252d8e3add4c3e4b4f414fe4757ca98951

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