Skip to content

Commit 6f60c62

Browse files
authored
Merge pull request iterate-ch#603 from kallioli/update_infomaniak_S3_doc
Update documentation for S3 protocol on Infomaniaks storage services
2 parents 186b792 + 3ed723f commit 6f60c62

File tree

1 file changed

+109
-6
lines changed

1 file changed

+109
-6
lines changed

protocols/openstack/infomaniak.md

Lines changed: 109 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,18 @@ Infomaniak
1212

1313
> [High Performance Cloud Infrastructure. In Switzerland, at the right price.](https://www.infomaniak.com/en/hosting/public-cloud)
1414
15-
### Connecting
15+
### Connecting (Swift)
1616

1717
:::{note}
1818
Connection profiles can be installed from *Preferences → Profiles*.
1919
:::
2020

21-
#### Connection Profiles
21+
#### Swift Connection Profiles
2222

2323
Log in to your *Infomaniak OpenStack Swift space* via this preconfigured connection profile:
2424

25-
- {download}`Infomaniak Public Cloud (01) - connection profile<https://profiles.cyberduck.io/Infomaniak%20Public%20Cloud%2001%20(Swift).cyberduckprofile>`
25+
- {download}`Infomaniak Public Cloud 01 (Swift)<https://profiles.cyberduck.io/Infomaniak%20Public%20Cloud%2001%20(Swift).cyberduckprofile>`
26+
- {download}`Infomaniak Public Cloud 02 (Swift)<https://profiles.cyberduck.io/Infomaniak%20Public%20Cloud%2002%20(Swift).cyberduckprofile>`
2627

2728
#### Additional Fields Required
2829

@@ -31,11 +32,96 @@ Enter the following information in the [bookmark](../../cyberduck/bookmarks.md):
3132
- **Project:Domain:Username**: Information available in your Infomaniak manager. Example: `PCP-XXXXXX:Default:PCU-XXXXXX`
3233
- **Password**: password is the same as the one you use for the OpenStack dashboard
3334

35+
---
36+
37+
### Connecting (S3)
38+
39+
Infomaniak Public Cloud also supports the S3 protocol, fully compatible with AWS Signature Version 4. This is distinct from Swiss Backup and requires EC2-style credentials generated from the OpenStack API.
40+
41+
:::{important}
42+
Do **not** use Swiss Backup credentials with the S3 protocol. Only credentials from **Public Cloud** via the OpenStack API (EC2-style) are supported.
43+
:::
44+
45+
#### S3 Connection Profiles
46+
47+
- {download}`Infomaniak Public Cloud 01 (S3)<https://profiles.cyberduck.io/Infomaniak%20Public%20Cloud%2001%20(S3).cyberduckprofile>` — Region: `dc3-a`
48+
- {download}`Infomaniak Public Cloud 02 (S3)<https://profiles.cyberduck.io/Infomaniak%20Public%20Cloud%2002%20(S3).cyberduckprofile>` — Region: `dc4-a`
49+
50+
These profiles are configured with:
51+
52+
- Correct hostname (`s3.pub1.infomaniak.cloud` or `s3.pub2.infomaniak.cloud`)
53+
- Region explicitly set (required for AWS Signature V4)
54+
- Path-style access enabled (`s3.bucket.virtualhost.disable=true`)
55+
56+
#### How to Generate Credentials (OpenStack CLI)
57+
58+
To use the S3 protocol, generate EC2-compatible credentials using the OpenStack CLI.
59+
60+
##### Prerequisites
61+
62+
Install the OpenStack CLI and set environment variables:
63+
64+
```bash
65+
export OS_AUTH_URL=https://keystone.pub1.infomaniak.cloud
66+
export OS_USERNAME=PCU-XXXXXXX
67+
export OS_PROJECT_ID=PCP-XXXXXXX
68+
export OS_PASSWORD=your_password
69+
export OS_USER_DOMAIN_NAME=Default
70+
export OS_PROJECT_DOMAIN_NAME=Default
71+
```
72+
73+
You can retrieve these from the [OpenStack Horizon dashboard](https://cloud.infomaniak.com) under “API Access”.
74+
75+
##### Create EC2 Credentials
76+
77+
Run:
78+
79+
```bash
80+
openstack ec2 credentials create
81+
```
82+
83+
This returns:
84+
85+
```
86+
+-------------+----------------------------------+
87+
| Field | Value |
88+
+-------------+----------------------------------+
89+
| access | 5a6c43a89e914eb3b388df9817dcdef2 |
90+
| secret | xL5Hv2Bp8MqHkKrMBXr7PvVHZoUZaeYF |
91+
| project_id | f091b24c7413428a98b7a4455dc12345 |
92+
| user_id | 3c362f13e0f144eb8a78fcd6a8aaabcd |
93+
+-------------+----------------------------------+
94+
```
95+
96+
In Cyberduck:
97+
98+
- **Access Key ID** → value of `access`
99+
- **Secret Access Key** → value of `secret`
100+
101+
---
102+
103+
### Troubleshooting
104+
105+
If you encounter this error:
106+
107+
```
108+
SignatureDoesNotMatch
109+
The request signature we calculated does not match the signature you provided.
110+
```
111+
112+
Verify:
113+
114+
- The `Region` field in your profile is set to `dc3-a` or `dc4-a` (not `us-east-1`)
115+
- You are using EC2 credentials from the Public Cloud API (not Swiss Backup)
116+
- Path-style access is enabled
117+
118+
---
119+
34120
### References
35121

36-
- [Official Infomaniak Public Cloud documentation](https://docs.infomaniak.cloud)
37-
- [Find out more about Infomaniak Public Cloud](https://www.infomaniak.com/en/hosting/public-cloud)
38-
- [Test Infomaniak Public Cloud with free tiers](https://www.infomaniak.com/en/hosting/public-cloud)
122+
- [Official Infomaniak Public Cloud documentation](https://docs.infomaniak.cloud/)
123+
- [OpenStack EC2 Credentials Documentation](https://docs.openstack.org/keystone/latest/user/ec2_credentials.html)
124+
- [Cyberduck S3 Protocol Help](https://trac.cyberduck.io/wiki/help/en/howto/s3)
39125

40126
## Infomaniak Swiss Backup
41127

@@ -45,6 +131,23 @@ Swiss Backup is a solution that automatically backs up your files, workstations,
45131
46132
### Connecting
47133

134+
:::info
135+
Swiss Backup also supports both the **Swift** and **S3** protocols.
136+
137+
The type of protocol (Swift or S3) must be selected when you create a new backup space in the Infomaniak Manager.
138+
139+
- If you select **S3**, credentials will be generated automatically during setup.
140+
- These credentials are distinct from those used with Infomaniak Public Cloud.
141+
- S3 credentials for Swiss Backup cannot be created via the OpenStack CLI.
142+
143+
You will receive:
144+
145+
- An **Access Key ID** and a **Secret Access Key**
146+
- A specific **S3 endpoint URL** (different from Public Cloud)
147+
148+
:::
149+
150+
48151
:::{note}
49152
Connection profiles can be installed from *Preferences → Profiles*.
50153
:::

0 commit comments

Comments
 (0)