VM-HetznerCloud
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/VM/HetznerCloud/API/Certificates.pm view on Meta::CPAN
label_selector => 'test',
name => 'test',
sort => 'test',
type => 'test',
);
=head2 create
Creates a new Certificate.
The default type **uploaded** allows for uploading your existing `certificate` and `private_key` in PEM format. You have to monitor its expiration date and handle renewal yourself.
In contrast, type **managed** requests a new Certificate from *Let's Encrypt* for the specified `domain_names`. Only domains managed by *Hetzner DNS* are supported. We handle renewal and timely alert the project owner via email if problems occur.
For type `managed` Certificates the `action` key of the response contains the Action that allows for tracking the issuance process. For type `uploaded` Certificates the `action` is always null.
$cloud->certificates->create();
=head2 delete
Deletes a Certificate.
lib/VM/HetznerCloud/Schema.pm view on Meta::CPAN
},
"description" : "The `certificates` key contains an array of Certificate objects"
}
},
"summary" : "Get all Certificates",
"tags" : [
"Certificates"
]
},
"post" : {
"description" : "Creates a new Certificate.\n\nThe default type **uploaded** allows for uploading your existing `certificate` and `private_key` in PEM format. You have to monitor its expiration date and handle renewal yourself.\n\nIn contras...
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"managed" : {
"summary" : "Creating a type `managed` Certificate",
"value" : {
"domain_names" : [
"example.com",
"webmail.example.com",
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.597 second using v1.00-cache-2.02-grep-82fe00e-cpan-f73e49a70403 )