File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -11803,15 +11803,15 @@ paths:
11803
11803
curl -H "Content-Type: application/json" \
11804
11804
-H "Authorization: Bearer $TOKEN" \
11805
11805
-X POST -d ‘{
11806
- "certificate": "-----BEGIN CERTIFICATE-----MIIDbDCCAlQCCQCl-----END CERTIFICATE-----",
11806
+ "certificate": """ -----BEGIN CERTIFICATE-----MIIDbDCCAlQCCQCl-----END CERTIFICATE-----"" ",
11807
11807
"private_key": "RwtqMlXveYH531g770BBNluAk9s"
11808
11808
}’ \
11809
11809
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/ssl
11810
11810
- lang: CLI
11811
11811
source: >
11812
11812
linode-cli object-storage ssl-upload \
11813
11813
us-east-1 example-bucket \
11814
- --certificate "-----BEGIN CERTIFICATE-----MIIDbDCCAlQCCQCl-----END CERTIFICATE-----" \
11814
+ --certificate """ -----BEGIN CERTIFICATE-----MIIDbDCCAlQCCQCl-----END CERTIFICATE-----"" " \
11815
11815
--private_key "RwtqMlXveYH531g770BBNluAk9s"
11816
11816
delete:
11817
11817
operationId: getObjectStorageSSL
@@ -18978,12 +18978,13 @@ components:
18978
18978
certificate:
18979
18979
type: string
18980
18980
description: >
18981
- Your Base64 encoded and PEM formatted SSL certificate.
18981
+ Your Base64 encoded and PEM formatted SSL certificate. Upload your
18982
+ certificate as a JSON string or as a `.crt` file.
18982
18983
example: >
18983
- "-----BEGIN CERTIFICATE-----
18984
+ """ -----BEGIN CERTIFICATE-----
18984
18985
MIIFTTCCAzWgAwIBAgIURwtqMlXveYH531g770BBNluAk9swDQYJKoZIhvcNAQEL
18985
18986
D79A2svTqSsN+bDIVWoUd14=
18986
- -----END CERTIFICATE-----"
18987
+ -----END CERTIFICATE-----"""
18987
18988
private_key:
18988
18989
type: string
18989
18990
description: >
You can’t perform that action at this time.
0 commit comments