|
2 | 2 | version: 1 |
3 | 3 | interactions: |
4 | 4 | - request: |
5 | | - body: '{"applications":[{"id":"fecc73d6-cb99-4fd5-8f3f-95870cb57228", "name":"test-cli-iam-application", |
6 | | - "description":"", "created_at":"2025-10-23T13:15:19.801492Z", "updated_at":"2025-10-23T13:15:19.801492Z", |
7 | | - "organization_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e", "editable":true, "deletable":true, |
8 | | - "managed":false, "nb_api_keys":1, "tags":[]}], "total_count":1}' |
| 5 | + body: '{"applications":[{"id":"ee684d01-4555-4b8e-afd7-ac7755e1e50e","name":"test-cli-iam-application-api-key","description":"API |
| 6 | + key used solely for nightly IAM API keys listing tests.","created_at":"2026-04-02T09:52:54.585231Z","updated_at":"2026-04-02T10:45:42.441201Z","organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2","editable":true,"deletable":true,"managed":false,"nb_api_keys":1,"tags":[]}],"total_count":1}' |
9 | 7 | form: {} |
10 | 8 | headers: |
11 | 9 | User-Agent: |
12 | | - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) cli-e2e-test |
13 | | - url: https://api.scaleway.com/iam/v1alpha1/applications?order_by=created_at_asc&organization_id=11111111-1111-1111-1111-111111111111&page=1 |
| 10 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.1; linux; amd64) cli-e2e-test |
| 11 | + url: https://api.scaleway.com/iam/v1alpha1/applications?name=test-cli-iam-application-api-key&order_by=created_at_asc&organization_id=11111111-1111-1111-1111-111111111111&page=1 |
14 | 12 | method: GET |
15 | 13 | response: |
16 | | - body: '{"applications":[{"id":"fecc73d6-cb99-4fd5-8f3f-95870cb57228", "name":"test-cli-iam-application", |
17 | | - "description":"", "created_at":"2025-10-23T13:15:19.801492Z", "updated_at":"2025-10-23T13:15:19.801492Z", |
18 | | - "organization_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e", "editable":true, "deletable":true, |
19 | | - "managed":false, "nb_api_keys":1, "tags":[]}], "total_count":1}' |
| 14 | + body: '{"applications":[{"id":"ee684d01-4555-4b8e-afd7-ac7755e1e50e","name":"test-cli-iam-application-api-key","description":"API |
| 15 | + key used solely for nightly IAM API keys listing tests.","created_at":"2026-04-02T09:52:54.585231Z","updated_at":"2026-04-02T10:45:42.441201Z","organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2","editable":true,"deletable":true,"managed":false,"nb_api_keys":1,"tags":[]}],"total_count":1}' |
20 | 16 | headers: |
21 | 17 | Content-Length: |
22 | | - - "360" |
| 18 | + - "416" |
23 | 19 | Content-Security-Policy: |
24 | 20 | - default-src 'none'; frame-ancestors 'none' |
25 | 21 | Content-Type: |
26 | 22 | - application/json |
27 | 23 | Date: |
28 | | - - Thu, 23 Oct 2025 13:27:06 GMT |
| 24 | + - Thu, 02 Apr 2026 10:48:06 GMT |
29 | 25 | Server: |
30 | | - - Scaleway API Gateway (fr-par-1;edge02) |
| 26 | + - Scaleway API Gateway (fr-par-1;edge03) |
31 | 27 | Strict-Transport-Security: |
32 | 28 | - max-age=63072000 |
33 | 29 | X-Content-Type-Options: |
34 | 30 | - nosniff |
35 | 31 | X-Frame-Options: |
36 | 32 | - DENY |
37 | 33 | X-Request-Id: |
38 | | - - 421c23af-6822-449e-ac72-0500ff23d0e7 |
| 34 | + - ff3345f6-694d-4ff8-a089-8d4fcaa7ba11 |
39 | 35 | status: 200 OK |
40 | 36 | code: 200 |
41 | 37 | duration: "" |
42 | 38 | - request: |
43 | | - body: '{"api_keys":[{"access_key":"SCWW3T9S86AVRK3Z0WM9", "secret_key":null, "description":"test-cli-iam-application-api-key", |
44 | | - "created_at":"2025-10-23T13:15:42.574651Z", "updated_at":"2025-10-23T13:15:42.574651Z", |
45 | | - "expires_at":"2026-10-23T13:15:42.501Z", "default_project_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e", |
46 | | - "editable":true, "deletable":true, "managed":false, "creation_ip":"51.159.73.145", |
47 | | - "application_id":"fecc73d6-cb99-4fd5-8f3f-95870cb57228"}], "total_count":1}' |
| 39 | + body: '{"api_keys":[{"access_key":"SCWZ2CNKDJ217YMA8XFD","secret_key":null,"description":"API |
| 40 | + key used solely for nightly IAM API keys listing tests.","created_at":"2026-04-02T10:46:26.282392Z","updated_at":"2026-04-02T10:46:56.166254Z","expires_at":null,"default_project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2","editable":true,"deletable":true,"managed":false,"creation_ip":"51.159.73.9","application_id":"ee684d01-4555-4b8e-afd7-ac7755e1e50e"}],"total_count":1}' |
48 | 41 | form: {} |
49 | 42 | headers: |
50 | 43 | User-Agent: |
51 | | - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) cli-e2e-test |
52 | | - url: https://api.scaleway.com/iam/v1alpha1/api-keys?bearer_id=fecc73d6-cb99-4fd5-8f3f-95870cb57228&bearer_type=unknown_bearer_type&order_by=created_at_asc&organization_id=11111111-1111-1111-1111-111111111111&page=1 |
| 44 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.1; linux; amd64) cli-e2e-test |
| 45 | + url: https://api.scaleway.com/iam/v1alpha1/api-keys?bearer_id=ee684d01-4555-4b8e-afd7-ac7755e1e50e&bearer_type=unknown_bearer_type&order_by=created_at_asc&organization_id=11111111-1111-1111-1111-111111111111&page=1 |
53 | 46 | method: GET |
54 | 47 | response: |
55 | | - body: '{"api_keys":[{"access_key":"SCWW3T9S86AVRK3Z0WM9", "secret_key":null, "description":"test-cli-iam-application-api-key", |
56 | | - "created_at":"2025-10-23T13:15:42.574651Z", "updated_at":"2025-10-23T13:15:42.574651Z", |
57 | | - "expires_at":"2026-10-23T13:15:42.501Z", "default_project_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e", |
58 | | - "editable":true, "deletable":true, "managed":false, "creation_ip":"51.159.73.145", |
59 | | - "application_id":"fecc73d6-cb99-4fd5-8f3f-95870cb57228"}], "total_count":1}' |
| 48 | + body: '{"api_keys":[{"access_key":"SCWZ2CNKDJ217YMA8XFD","secret_key":null,"description":"API |
| 49 | + key used solely for nightly IAM API keys listing tests.","created_at":"2026-04-02T10:46:26.282392Z","updated_at":"2026-04-02T10:46:56.166254Z","expires_at":null,"default_project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2","editable":true,"deletable":true,"managed":false,"creation_ip":"51.159.73.9","application_id":"ee684d01-4555-4b8e-afd7-ac7755e1e50e"}],"total_count":1}' |
60 | 50 | headers: |
61 | 51 | Content-Length: |
62 | | - - "468" |
| 52 | + - "459" |
63 | 53 | Content-Security-Policy: |
64 | 54 | - default-src 'none'; frame-ancestors 'none' |
65 | 55 | Content-Type: |
66 | 56 | - application/json |
67 | 57 | Date: |
68 | | - - Thu, 23 Oct 2025 13:27:06 GMT |
| 58 | + - Thu, 02 Apr 2026 10:48:06 GMT |
69 | 59 | Server: |
70 | | - - Scaleway API Gateway (fr-par-1;edge02) |
| 60 | + - Scaleway API Gateway (fr-par-1;edge03) |
71 | 61 | Strict-Transport-Security: |
72 | 62 | - max-age=63072000 |
73 | 63 | X-Content-Type-Options: |
74 | 64 | - nosniff |
75 | 65 | X-Frame-Options: |
76 | 66 | - DENY |
77 | 67 | X-Request-Id: |
78 | | - - 444f9dcf-6600-4551-ade5-97d5aa6e14eb |
| 68 | + - cb6d9822-8801-4e5e-b3a7-2483c881f020 |
79 | 69 | status: 200 OK |
80 | 70 | code: 200 |
81 | 71 | duration: "" |
82 | 72 | - request: |
83 | | - body: '{"access_key":"SCWW3T9S86AVRK3Z0WM9", "secret_key":null, "description":"test-cli-iam-application-api-key", |
84 | | - "created_at":"2025-10-23T13:15:42.574651Z", "updated_at":"2025-10-23T13:15:42.574651Z", |
85 | | - "expires_at":"2026-10-23T13:15:42.501Z", "default_project_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e", |
86 | | - "editable":true, "deletable":true, "managed":false, "creation_ip":"51.159.73.145", |
87 | | - "application_id":"fecc73d6-cb99-4fd5-8f3f-95870cb57228"}' |
| 73 | + body: '{"access_key":"SCWZ2CNKDJ217YMA8XFD","secret_key":null,"description":"API |
| 74 | + key used solely for nightly IAM API keys listing tests.","created_at":"2026-04-02T10:46:26.282392Z","updated_at":"2026-04-02T10:46:56.166254Z","expires_at":null,"default_project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2","editable":true,"deletable":true,"managed":false,"creation_ip":"51.159.73.9","application_id":"ee684d01-4555-4b8e-afd7-ac7755e1e50e"}' |
88 | 75 | form: {} |
89 | 76 | headers: |
90 | 77 | User-Agent: |
91 | | - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) cli-e2e-test |
92 | | - url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWW3T9S86AVRK3Z0WM9 |
| 78 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.1; linux; amd64) cli-e2e-test |
| 79 | + url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWZ2CNKDJ217YMA8XFD |
93 | 80 | method: GET |
94 | 81 | response: |
95 | | - body: '{"access_key":"SCWW3T9S86AVRK3Z0WM9", "secret_key":null, "description":"test-cli-iam-application-api-key", |
96 | | - "created_at":"2025-10-23T13:15:42.574651Z", "updated_at":"2025-10-23T13:15:42.574651Z", |
97 | | - "expires_at":"2026-10-23T13:15:42.501Z", "default_project_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e", |
98 | | - "editable":true, "deletable":true, "managed":false, "creation_ip":"51.159.73.145", |
99 | | - "application_id":"fecc73d6-cb99-4fd5-8f3f-95870cb57228"}' |
| 82 | + body: '{"access_key":"SCWZ2CNKDJ217YMA8XFD","secret_key":null,"description":"API |
| 83 | + key used solely for nightly IAM API keys listing tests.","created_at":"2026-04-02T10:46:26.282392Z","updated_at":"2026-04-02T10:46:56.166254Z","expires_at":null,"default_project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2","editable":true,"deletable":true,"managed":false,"creation_ip":"51.159.73.9","application_id":"ee684d01-4555-4b8e-afd7-ac7755e1e50e"}' |
100 | 84 | headers: |
101 | 85 | Content-Length: |
102 | | - - "436" |
| 86 | + - "428" |
103 | 87 | Content-Security-Policy: |
104 | 88 | - default-src 'none'; frame-ancestors 'none' |
105 | 89 | Content-Type: |
106 | 90 | - application/json |
107 | 91 | Date: |
108 | | - - Thu, 23 Oct 2025 13:27:06 GMT |
| 92 | + - Thu, 02 Apr 2026 10:48:06 GMT |
109 | 93 | Server: |
110 | | - - Scaleway API Gateway (fr-par-1;edge02) |
| 94 | + - Scaleway API Gateway (fr-par-1;edge03) |
111 | 95 | Strict-Transport-Security: |
112 | 96 | - max-age=63072000 |
113 | 97 | X-Content-Type-Options: |
114 | 98 | - nosniff |
115 | 99 | X-Frame-Options: |
116 | 100 | - DENY |
117 | 101 | X-Request-Id: |
118 | | - - ff2e06cc-b974-4f31-8e1b-0c25d03022cc |
| 102 | + - 03e5bc4b-9ee8-47b0-9305-6054ed239f2f |
119 | 103 | status: 200 OK |
120 | 104 | code: 200 |
121 | 105 | duration: "" |
122 | 106 | - request: |
123 | | - body: '{"policies":[{"id":"e8a8bacc-d77a-4bdd-8b37-e63409000e62", "name":"Copy |
124 | | - of Copy of Group - Editors", "description":"", "organization_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e", |
125 | | - "created_at":"2025-10-23T13:26:26.274486Z", "updated_at":"2025-10-23T13:26:26.274486Z", |
126 | | - "editable":true, "deletable":true, "managed":false, "nb_rules":2, "nb_scopes":2, |
127 | | - "nb_permission_sets":4, "tags":[], "application_id":"fecc73d6-cb99-4fd5-8f3f-95870cb57228"}], |
128 | | - "total_count":1}' |
| 107 | + body: '{"policies":[],"total_count":0}' |
129 | 108 | form: {} |
130 | 109 | headers: |
131 | 110 | User-Agent: |
132 | | - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) cli-e2e-test |
133 | | - url: https://api.scaleway.com/iam/v1alpha1/policies?application_ids=fecc73d6-cb99-4fd5-8f3f-95870cb57228&order_by=policy_name_asc&organization_id=11111111-1111-1111-1111-111111111111&page=1 |
| 111 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.1; linux; amd64) cli-e2e-test |
| 112 | + url: https://api.scaleway.com/iam/v1alpha1/policies?application_ids=ee684d01-4555-4b8e-afd7-ac7755e1e50e&order_by=policy_name_asc&organization_id=11111111-1111-1111-1111-111111111111&page=1 |
134 | 113 | method: GET |
135 | 114 | response: |
136 | | - body: '{"policies":[{"id":"e8a8bacc-d77a-4bdd-8b37-e63409000e62", "name":"Copy |
137 | | - of Copy of Group - Editors", "description":"", "organization_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e", |
138 | | - "created_at":"2025-10-23T13:26:26.274486Z", "updated_at":"2025-10-23T13:26:26.274486Z", |
139 | | - "editable":true, "deletable":true, "managed":false, "nb_rules":2, "nb_scopes":2, |
140 | | - "nb_permission_sets":4, "tags":[], "application_id":"fecc73d6-cb99-4fd5-8f3f-95870cb57228"}], |
141 | | - "total_count":1}' |
| 115 | + body: '{"policies":[],"total_count":0}' |
142 | 116 | headers: |
143 | 117 | Content-Length: |
144 | | - - "456" |
| 118 | + - "31" |
145 | 119 | Content-Security-Policy: |
146 | 120 | - default-src 'none'; frame-ancestors 'none' |
147 | 121 | Content-Type: |
148 | 122 | - application/json |
149 | 123 | Date: |
150 | | - - Thu, 23 Oct 2025 13:27:06 GMT |
| 124 | + - Thu, 02 Apr 2026 10:48:07 GMT |
151 | 125 | Server: |
152 | | - - Scaleway API Gateway (fr-par-1;edge02) |
| 126 | + - Scaleway API Gateway (fr-par-1;edge03) |
153 | 127 | Strict-Transport-Security: |
154 | 128 | - max-age=63072000 |
155 | 129 | X-Content-Type-Options: |
156 | 130 | - nosniff |
157 | 131 | X-Frame-Options: |
158 | 132 | - DENY |
159 | 133 | X-Request-Id: |
160 | | - - d1cc0476-3929-4cf7-a9f6-a0470ef5d2eb |
161 | | - status: 200 OK |
162 | | - code: 200 |
163 | | - duration: "" |
164 | | -- request: |
165 | | - body: '{"rules":[{"id":"b9dfe4b7-e455-4cd7-8ae1-6c122f4fbb56", "permission_set_names":["OrganizationReadOnly", |
166 | | - "ProjectManager", "SupportTicketReadOnly"], "permission_sets_scope_type":"organization", |
167 | | - "condition":"", "organization_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e"}, {"id":"7679bf9e-bc63-4bde-be0f-f63e42ad2948", |
168 | | - "permission_set_names":["AllProductsFullAccess"], "permission_sets_scope_type":"projects", |
169 | | - "condition":"", "organization_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e"}], |
170 | | - "total_count":2}' |
171 | | - form: {} |
172 | | - headers: |
173 | | - User-Agent: |
174 | | - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) cli-e2e-test |
175 | | - url: https://api.scaleway.com/iam/v1alpha1/rules?policy_id=e8a8bacc-d77a-4bdd-8b37-e63409000e62 |
176 | | - method: GET |
177 | | - response: |
178 | | - body: '{"rules":[{"id":"b9dfe4b7-e455-4cd7-8ae1-6c122f4fbb56", "permission_set_names":["OrganizationReadOnly", |
179 | | - "ProjectManager", "SupportTicketReadOnly"], "permission_sets_scope_type":"organization", |
180 | | - "condition":"", "organization_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e"}, {"id":"7679bf9e-bc63-4bde-be0f-f63e42ad2948", |
181 | | - "permission_set_names":["AllProductsFullAccess"], "permission_sets_scope_type":"projects", |
182 | | - "condition":"", "organization_id":"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e"}], |
183 | | - "total_count":2}' |
184 | | - headers: |
185 | | - Content-Length: |
186 | | - - "497" |
187 | | - Content-Security-Policy: |
188 | | - - default-src 'none'; frame-ancestors 'none' |
189 | | - Content-Type: |
190 | | - - application/json |
191 | | - Date: |
192 | | - - Thu, 23 Oct 2025 13:27:06 GMT |
193 | | - Server: |
194 | | - - Scaleway API Gateway (fr-par-1;edge02) |
195 | | - Strict-Transport-Security: |
196 | | - - max-age=63072000 |
197 | | - X-Content-Type-Options: |
198 | | - - nosniff |
199 | | - X-Frame-Options: |
200 | | - - DENY |
201 | | - X-Request-Id: |
202 | | - - dd8947d0-82d7-4836-b36c-bc28a6ed6188 |
| 134 | + - 9dd10322-77c7-4297-b765-f11fa466986a |
203 | 135 | status: 200 OK |
204 | 136 | code: 200 |
205 | 137 | duration: "" |
0 commit comments