Skip to main content

ssl_certificates

Creates, updates, deletes, gets or lists a ssl_certificates resource.

Overview

Namessl_certificates
TypeResource
Idlinode.object_storage.ssl_certificates

Fields

The following fields are returned by SELECT queries:

Returns a boolean value indicating if this bucket has a corresponding TLS/SSL certificate that was uploaded by an Account user.

NameDatatypeDescription
sslbooleanRead-only A boolean indicating if this Bucket has a corresponding TLS/SSL certificate that was uploaded by an Account user.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_object_storage_sslselectReturns a boolean value indicating if this bucket has a corresponding TLS/SSL certificate that was uploaded by an Account user.

Learn more...

Learn more...
post_object_storage_sslinsertdata__certificate, data__private_keyUpload a TLS/SSL certificate and private key to be served when you visit your Object Storage bucket via HTTPS. Your TLS/SSL certificate and private key are stored encrypted at rest.

To replace an expired certificate, delete your current certificates and upload a new one.

Learn more...

Learn more...
delete_object_storage_ssldeleteDeletes this Object Storage bucket's user uploaded TLS/SSL certificate and private key.

Learn more...

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Returns a boolean value indicating if this bucket has a corresponding TLS/SSL certificate that was uploaded by an Account user.

Learn more...

Learn more...

SELECT
ssl
FROM linode.object_storage.ssl_certificates;

INSERT examples

Upload a TLS/SSL certificate and private key to be served when you visit your Object Storage bucket via HTTPS. Your TLS/SSL certificate and private key are stored encrypted at rest.

To replace an expired certificate, delete your current certificates and upload a new one.

Learn more...

Learn more...

INSERT INTO linode.object_storage.ssl_certificates (
data__certificate,
data__private_key
)
SELECT
'{{ certificate }}' --required,
'{{ private_key }}' --required
RETURNING
ssl
;

DELETE examples

Deletes this Object Storage bucket's user uploaded TLS/SSL certificate and private key.

Learn more...

Learn more...

DELETE FROM linode.object_storage.ssl_certificates;