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 API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 2.0
- Package version: 1.3.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional
Put the package under your project folder and add the following in import:
import "./ionoscloud"
All available server URLs are:
- https://certificate-manager.de-fra.ionos.com - Frankfurt
By default, https://certificate-manager.de-fra.ionos.com is used, however this can be overriden at authentication, either
by setting the IONOS_API_URL
environment variable or by specifying the hostUrl
parameter when
initializing the sdk client.
The username and password or the authentication token can be manually specified when initializing the sdk client:
client := ionoscloud.NewAPIClient(ionoscloud.NewConfiguration(username, password, token, hostUrl))
Environment variables can also be used. The sdk uses the following variables:
- IONOS_TOKEN - login via token. This is the recommended way to authenticate.
- IONOS_USERNAME - to specify the username used to login
- IONOS_PASSWORD - to specify the password
- IONOS_API_URL - to specify the API server URL
In this case, the client configuration needs to be initialized using NewConfigurationFromEnv()
.
client := ionoscloud.NewAPIClient(ionoscloud.NewConfigurationFromEnv())
All URIs are relative to https://certificate-manager.de-fra.ionos.com
API Endpoints table
Class | Method | HTTP request | Description |
---|---|---|---|
AutoCertificateApi | AutoCertificatesDelete | Delete /auto-certificates/{autoCertificateId} | Delete AutoCertificate |
AutoCertificateApi | AutoCertificatesFindById | Get /auto-certificates/{autoCertificateId} | Retrieve AutoCertificate |
AutoCertificateApi | AutoCertificatesGet | Get /auto-certificates | Retrieve all AutoCertificate |
AutoCertificateApi | AutoCertificatesPatch | Patch /auto-certificates/{autoCertificateId} | Updates AutoCertificate |
AutoCertificateApi | AutoCertificatesPost | Post /auto-certificates | Create AutoCertificate |
CertificateApi | CertificatesDelete | Delete /certificates/{certificateId} | Delete Certificate |
CertificateApi | CertificatesFindById | Get /certificates/{certificateId} | Retrieve Certificate |
CertificateApi | CertificatesGet | Get /certificates | Retrieve all Certificate |
CertificateApi | CertificatesPatch | Patch /certificates/{certificateId} | Updates Certificate |
CertificateApi | CertificatesPost | Post /certificates | Create Certificate |
ProviderApi | ProvidersDelete | Delete /providers/{providerId} | Delete Provider |
ProviderApi | ProvidersFindById | Get /providers/{providerId} | Retrieve Provider |
ProviderApi | ProvidersGet | Get /providers | Retrieve all Provider |
ProviderApi | ProvidersPatch | Patch /providers/{providerId} | Updates Provider |
ProviderApi | ProvidersPost | Post /providers | Create Provider |
All URIs are relative to https://certificate-manager.de-fra.ionos.com
API models list
- AutoCertificate
- AutoCertificateCreate
- AutoCertificatePatch
- AutoCertificateRead
- AutoCertificateReadList
- AutoCertificateReadListAllOf
- Certificate
- CertificateCreate
- CertificatePatch
- CertificateRead
- CertificateReadList
- CertificateReadListAllOf
- Connection
- DayOfTheWeek
- Error
- ErrorMessages
- Links
- MaintenanceWindow
- Metadata
- MetadataWithAutoCertificateInformation
- MetadataWithAutoCertificateInformationAllOf
- MetadataWithCertificateInformation
- MetadataWithCertificateInformationAllOf
- MetadataWithStatus
- MetadataWithStatusAllOf
- Pagination
- PatchName
- Provider
- ProviderCreate
- ProviderExternalAccountBinding
- ProviderPatch
- ProviderRead
- ProviderReadList
- ProviderReadListAllOf