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/managing-lifecycle-cliv2.mdx
+43-8Lines changed: 43 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,12 +103,12 @@ Run the following command in a terminal to preview the configuration file for Mi
103
103
The `scw object config install` allows you to create a configuration file for the selected third party tool based on your [AWS configuration](/storage/object/api-cli/object-storage-aws-cli/).
104
104
105
105
<Messagetype="important">
106
-
Creating a new configuration file using `scw object config install` will overwrite the existing one for the specified third party tool. To update an existing configuration, [generate a preview](#previewing-an-object-storage-configuration-file-for-the-scaleway-cli) and manually edit the configuration file.
106
+
Creating a new configuration file using `scw object config install` will overwrite the existing one for the specified third party tool. To update an existing configuration, [generate a preview](#previewing-an-object-storage-configuration-file-for-the-scaleway-cli) and manually edit the configuration file.
107
107
</Message>
108
108
109
109
<Tabs>
110
110
<TabsTablabel="Rclone">
111
-
2.Run the following command in a terminal to install a configuration file for Rclone:
111
+
Run the following command in a terminal to install a configuration file for Rclone:
112
112
113
113
```
114
114
scw object config install type=rclone
@@ -144,22 +144,43 @@ Run the following command in a terminal to install a configuration file for `s3c
144
144
```
145
145
Configuration file successfully installed at /Users/yourusername/.mc/config.json.
146
146
```
147
+
</TabsTab>
148
+
</Tabs>
149
+
## Creating an Object Storage bucket
147
150
148
-
## Adding an Object Storage bucket
149
-
150
-
1.Run the following command in a terminal to create a bucket:
151
+
<Tabs>
152
+
<TabsTablabel="Rclone">
153
+
Run the following command in a terminal to create a bucket:
151
154
152
155
```
153
-
s3cmd mb s3://your-bucket
156
+
154
157
```
155
158
156
159
An output similar to the following displays:
157
160
158
161
```
159
-
Bucket 's3://your-bucket/' created
162
+
163
+
```
164
+
</TabsTab>
165
+
</Tabs>
166
+
## Adding an object
167
+
168
+
<Tabs>
169
+
<TabsTablabel="Rclone">
170
+
Run the following command in a terminal to add an object to your bucket:
171
+
172
+
```
173
+
160
174
```
161
175
162
-
2. Run the following command in a terminal to add an object to your bucket:
176
+
An output similar to the following displays:
177
+
178
+
```
179
+
180
+
```
181
+
</TabsTab>
182
+
<TabsTablabel="S3cmd">
183
+
Run the following command in a terminal to add an object to your bucket:
163
184
164
185
```
165
186
s3cmd put file /path/to/object/your-object s3://your-bucket/your-object`
@@ -171,6 +192,20 @@ Run the following command in a terminal to install a configuration file for `s3c
171
192
upload: '/path/to/object/your-object' -> 's3://your-bucket/your-object' [1 of 1]
172
193
3259 of 3259 100% in 0s 8.47 KB/s done
173
194
```
195
+
</TabsTab>
196
+
<TabsTablabel="MinIO Client ">
197
+
Run the following command in a terminal to add an object to your bucket:
0 commit comments