From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

WebService::Fastly::TlsCsrsApi

Load the API package

[!NOTE] All URIs are relative to https://api.fastly.com

Method | HTTP request | Description ------ | ------------ | ----------- create_csr | POST /tls/certificate_signing_requests | Create CSR

create_csr

TlsCsrResponse create_csr(tls_csr => $tls_csr)

Create CSR

Creates a certificate signing request (CSR).

Example

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";
}

Parameters

Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- tls_csr | TlsCsr| | [optional]

Return type

TlsCsrResponse

Authorization

token

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]