post
https://api.linode.com//object-storage/buckets///ssl
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 encrypted and stored at rest.
To replace an expired certificate, delete your current certificates and upload a new one.
TLS/SSL certificates are only supported with legacy endpoints (E0 and E1).
The request header sent in an Object Storage operation can't exceed eight KB in total size.
Permissions and scopes
To call this operation, you need the following:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
object_storage:read_write
- Scopes:
CLI
linode-cli object-storage ssl-upload \
us-east-1 example-bucket \
--certificate "-----BEGIN CERTIFICATE-----
CERTIFICATE_INFORMATION
-----END CERTIFICATE-----" \
--private_key "-----BEGIN PRIVATE KEY-----
PRIVATE_KEY_INFORMATION
-----END PRIVATE KEY-----"