You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: storage/object/api-cli/bucket-website-api.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: Configure bucket websites using the API in Scaleway Object Storage.
8
8
tags: object storage object-storage bucket static-website api
9
9
dates:
10
-
validation: 2024-07-03
10
+
validation: 2025-01-15
11
11
posted: 2021-02-17
12
12
categories:
13
13
- storage
@@ -142,7 +142,9 @@ After setting up the basic bucket website configuration with `put-bucket-website
142
142
143
143
You can also upload the rest of the static web page files that make up your website.
144
144
145
-
>**Note:** If this is your first time uploading objects into a bucket, you can follow the step-by-step on [this documentation page](/storage/object/how-to/upload-files-into-a-bucket/).
145
+
<Messagetype="note">
146
+
If this is your first time uploading objects into a bucket, you can follow the step-by-step on [this documentation page](/storage/object/how-to/upload-files-into-a-bucket/).
147
+
</Message>
146
148
147
149
### Configuring access
148
150
@@ -179,12 +181,10 @@ If you want your website to be accessible, you need to set up a bucket policy.
179
181
180
182
### Configuring your URL
181
183
182
-
You can access your website using the website endpoint of your bucket, generated by Amazon S3 under the default format:
184
+
You can access your website using the website endpoint of your bucket, generated by Scaleway Object Storage under the default format:
Replace `<bucket_name>` and `<bucket_region>` accordingly.
187
189
188
190
Alternatively, you can [configure a CNAME Record](/tutorials/s3-customize-url-cname/) for your bucket URL, to be able to access the website through a domain name of your choice.
Copy file name to clipboardExpand all lines: storage/object/api-cli/installing-minio-client.mdx
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: Install and configure the MinIO client for Scaleway Object Storage.
8
8
tags: object-storage object storage minio mc minio-client
9
9
dates:
10
-
validation: 2024-07-04
10
+
validation: 2025-01-15
11
11
posted: 2021-08-25
12
12
categories:
13
13
- storage
@@ -18,10 +18,9 @@ The [MinIO Client](https://min.io/docs/minio/linux/reference/minio-mc.html) (`mc
18
18
19
19
<Macroid="requirements" />
20
20
21
-
-[Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
21
+
-[Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization.
22
22
23
-
24
-
1. Follow the instructions given in the [official MinIO documentation](https://min.io/docs/minio/linux/reference/minio-mc.html#id3) to install the MinIO client (`mc`) for your OS.
23
+
1. Follow the instructions given in the [official MinIO documentation](hhttps://min.io/docs/minio/linux/reference/minio-mc.html#install-mc) to install the MinIO client (`mc`) for your OS.
25
24
<Messagetype="note">
26
25
Make sure that you download the binary somewhere that is in your `$PATH`.
27
26
</Message>
@@ -30,7 +29,7 @@ The [MinIO Client](https://min.io/docs/minio/linux/reference/minio-mc.html) (`mc
30
29
```
31
30
mc alias set <ALIAS> <YOUR-S3-ENDPOINT> <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> --api <API-SIGNATURE>
32
31
```
33
-
For example, if your Scaleway Object Storage endpoint is in the `nl-ams` region, you can use the following command (replace the two fields in pointy brackets with your access key and secret key):
32
+
For example, if your Scaleway Object Storage endpoint is in the `nl-ams` region, you can use the following command (replace the two placeholders with your access key and secret key):
34
33
```
35
34
mc alias set s3 https://s3.nl-ams.scw.cloud <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> --api S3v4
36
35
```
@@ -57,4 +56,3 @@ The [MinIO Client](https://min.io/docs/minio/linux/reference/minio-mc.html) (`mc
Copy file name to clipboardExpand all lines: storage/object/api-cli/manage-bucket-permissions-ip.mdx
+3-44Lines changed: 3 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: Manage bucket permissions based on IP addresses in Scaleway Object Storage.
8
8
tags: object storage bucket ip permission
9
9
dates:
10
-
validation: 2024-07-03
10
+
validation: 2025-01-15
11
11
posted: 2021-05-18
12
12
categories:
13
13
- storage
@@ -56,49 +56,8 @@ In the example below, we allow the `192.0.2.0/24` IP range to perform the `s3:Li
56
56
]
57
57
}
58
58
```
59
-
You can have the same result if you `Deny` actions for IP addresses specified under the `NotIpAddress` condition:
60
-
```json
61
-
{
62
-
"Version": "2023-04-17",
63
-
"Id": "MyBucketPolicy",
64
-
"Statement": [
65
-
{
66
-
"Sid": "Grant List and GET from my Instances",
67
-
"Effect": "Deny",
68
-
"Principal": "*",
69
-
"Action": ["s3:ListBucket", "s3:GetObject"],
70
-
"Resource": ["<BUCKET_NAME>", "<BUCKET_NAME>/*"],
71
-
"Condition": {
72
-
"NotIpAddress": {
73
-
"aws:SourceIp": "198.51.100.0/24"
74
-
}
75
-
}
76
-
}
77
-
]
78
-
}
79
-
```
80
-
Alternatively, you can block certain IP addresses or IP address ranges from performing actions on your bucket. You can also use `NotIpAddress` with the `Allow` Effect:
81
-
```json
82
-
{
83
-
"Version": "2023-04-17",
84
-
"Id": "MyBucketPolicy",
85
-
"Statement": [
86
-
{
87
-
"Sid": "Grant List and GET from my Instances",
88
-
"Effect": "Allow",
89
-
"Principal": "*",
90
-
"Action": ["s3:ListBucket", "s3:GetObject"],
91
-
"Resource": ["<BUCKET_NAME>", "<BUCKET_NAME>/*"],
92
-
"Condition": {
93
-
"NotIpAddress": {
94
-
"aws:SourceIp": "2001:db8::/32"
95
-
}
96
-
}
97
-
}
98
-
]
99
-
}
100
-
```
101
-
Or the `Deny` effect paired with the `IpAddress` condition:
59
+
60
+
Alternatively, you can block certain IP addresses or IP address ranges from performing actions on your bucket:
Copy file name to clipboardExpand all lines: storage/object/api-cli/object-operations.mdx
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: Perform various operations on objects within Scaleway Object Storage.
8
8
tags: object storage object-storage operation
9
9
dates:
10
-
validation: 2024-07-04
10
+
validation: 2025-01-15
11
11
posted: 2018-09-13
12
12
categories:
13
13
- storage
@@ -16,9 +16,15 @@ categories:
16
16
17
17
## DeleteObject
18
18
19
-
This operation allows you to remove the *null* version (if available) of an object and inserts a delete marker, which becomes the latest version of the object.
19
+
This operation allows you to remove an object from a bucket. Its behavior depends on the versioning configuration of the bucket:
20
20
21
-
If there is no *null* version, no object is removed.
21
+
- If versioning is not enabled, the object is permanently deleted.
22
+
23
+
- If versioning is enabled, the operation inserts a delete marker, which becomes the latest version of the object.
24
+
25
+
- If versioning is suspended, the operation deletes the version with a null `versionID` (if any), then inserts a delete marker, which becomes the latest version of the object.
26
+
27
+
To delete an object that has a `versionId`, you must add the `versionId` to your request.
22
28
23
29
<Messagetype="note">
24
30
If the operation is successful, no output will be returned.
0 commit comments