@@ -8,13 +8,6 @@ This API allows you to manage projects.
88 - [ Get project] ( #get-project )
99 - [ List projects] ( #list-projects )
1010 - [ Update project] ( #update-project )
11- - [ SSH keys management commands] ( #ssh-keys-management-commands )
12- - [ Add an SSH key to your project] ( #add-an-ssh-key-to-your-project )
13- - [ Get an SSH key from your project] ( #get-an-ssh-key-from-your-project )
14- - [ Initialize SSH key] ( #initialize-ssh-key )
15- - [ List all SSH keys of your project] ( #list-all-ssh-keys-of-your-project )
16- - [ Remove an SSH key from your project] ( #remove-an-ssh-key-from-your-project )
17- - [ Update an SSH key on your project] ( #update-an-ssh-key-on-your-project )
1811
1912
2013## Project management commands
@@ -124,142 +117,3 @@ scw account project update [arg=value ...]
124117
125118
126119
127- ## SSH keys management commands
128-
129- SSH keys management commands.
130-
131-
132- ### Add an SSH key to your project
133-
134- Add an SSH key to your project.
135-
136- ** Usage:**
137-
138- ```
139- scw account ssh-key add [arg=value ...]
140- ```
141-
142-
143- ** Args:**
144-
145- | Name | | Description |
146- | ------| ---| -------------|
147- | name | | The name of the SSH key |
148- | public-key | Required | SSH public key. Currently ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa keys with NIST curves are supported |
149- | project-id | | Project ID to use. If none is passed the default project ID will be used |
150- | organization-id | | Organization ID to use. If none is passed the default organization ID will be used |
151-
152-
153- ** Examples:**
154-
155-
156- Add a given ssh key
157- ```
158- scw account ssh-key add name=foobar public-key="$(cat <path/to/your/public/key>)"
159- ```
160-
161-
162-
163-
164- ### Get an SSH key from your project
165-
166- Get an SSH key from your project.
167-
168- ** Usage:**
169-
170- ```
171- scw account ssh-key get <ssh-key-id ...> [arg=value ...]
172- ```
173-
174-
175- ** Args:**
176-
177- | Name | | Description |
178- | ------| ---| -------------|
179- | ssh-key-id | Required | The ID of the SSH key |
180-
181-
182-
183- ### Initialize SSH key
184-
185- Initialize SSH key.
186-
187- ** Usage:**
188-
189- ```
190- scw account ssh-key init
191- ```
192-
193-
194-
195- ### List all SSH keys of your project
196-
197- List all SSH keys of your project.
198-
199- ** Usage:**
200-
201- ```
202- scw account ssh-key list [arg=value ...]
203- ```
204-
205-
206- ** Args:**
207-
208- | Name | | Description |
209- | ------| ---| -------------|
210- | order-by | One of: ` created_at_asc ` , ` created_at_desc ` , ` updated_at_asc ` , ` updated_at_desc ` , ` name_asc ` , ` name_desc ` | |
211- | name | | |
212- | project-id | | |
213- | organization-id | | |
214-
215-
216-
217- ### Remove an SSH key from your project
218-
219- Remove an SSH key from your project.
220-
221- ** Usage:**
222-
223- ```
224- scw account ssh-key remove <ssh-key-id ...> [arg=value ...]
225- ```
226-
227-
228- ** Args:**
229-
230- | Name | | Description |
231- | ------| ---| -------------|
232- | ssh-key-id | Required | |
233-
234-
235- ** Examples:**
236-
237-
238- Remove a given SSH key
239- ```
240- scw account ssh-key remove 11111111-1111-1111-1111-111111111111
241- ```
242-
243-
244-
245-
246- ### Update an SSH key on your project
247-
248- Update an SSH key on your project.
249-
250- ** Usage:**
251-
252- ```
253- scw account ssh-key update <ssh-key-id ...> [arg=value ...]
254- ```
255-
256-
257- ** Args:**
258-
259- | Name | | Description |
260- | ------| ---| -------------|
261- | ssh-key-id | Required | |
262- | name | | Name of the SSH key |
263-
264-
265-
0 commit comments