use WebService::Fastly::Object::TlsCsrsApi;
Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_csr | POST /tls/certificate_signing_requests | Create CSR |
TlsCsrResponse create_csr(tls_csr => $tls_csr)
Create CSR
Creates a certificate signing request (CSR).
use Data::Dumper;
use WebService::Fastly::TlsCsrsApi;
my $api_instance = WebService::Fastly::TlsCsrsApi->new(
# Configure API key authorization: token
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
);
my $tls_csr = WebService::Fastly::Object::TlsCsr->new(); # TlsCsr |
eval {
my $result = $api_instance->create_csr(tls_csr => $tls_csr);
print Dumper($result);
};
if ($@) {
warn "Exception when calling TlsCsrsApi->create_csr: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
tls_csr | TlsCsr | [optional] |
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]