X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1c5176d87df0dbd25db6ff1fb2ab82ae17472145..ae92d144610446849eb568247a44f02ae985c281:/doc/api/methods/authorized_keys.html.textile.liquid diff --git a/doc/api/methods/authorized_keys.html.textile.liquid b/doc/api/methods/authorized_keys.html.textile.liquid index 9727c5730c..48b7b6f97a 100644 --- a/doc/api/methods/authorized_keys.html.textile.liquid +++ b/doc/api/methods/authorized_keys.html.textile.liquid @@ -5,15 +5,39 @@ navmenu: API Methods title: "authorized_keys" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. -See "REST methods for working with Arvados resources":{{site.baseurl}}/api/methods.html +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/authorized_keys@ -Required arguments are displayed in %{background:#ccffcc}green%. +Object type: @fngyi@ + +Example UUID: @zzzzz-fngyi-0123456789abcde@ + +h2. Resource + +The authorized_keys resource stores SSH public keys which grant access to virtual machines or git repositories on the Arvados cluster as the user in @authorized_user_uuid@. + +Each AuthorizedKey has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html: + +table(table table-bordered table-condensed). +|_. Attribute|_. Type|_. Description|_. Example| +|name|string|A name to help the user manage their keys.|| +|key_type|string|Public key type, currently only supports "SSH"|| +|authorized_user_uuid|string|The user to which this key belongs. Authentication using this key authenticates as this user.|| +|public_key|text|The actual public key material, e.g., from @~/.ssh/id_rsa.pub@|| +|expires_at|datetime|Expiration date after which the key is no longer valid.|| +h2. Methods -h2. create +See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@. + +Required arguments are displayed in %{background:#ccffcc}green%. + +h3. create Create a new AuthorizedKey. @@ -23,7 +47,7 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | |authorized_key|object||query|| -h2. delete +h3. delete Delete an existing AuthorizedKey. @@ -33,7 +57,7 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the AuthorizedKey in question.|path|| -h2. get +h3. get Gets a AuthorizedKey's metadata by UUID. @@ -43,19 +67,13 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the AuthorizedKey in question.|path|| -h2. list +h3. list List authorized_keys. -Arguments: - -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -|limit|integer (default 100)|Maximum number of authorized_keys to return.|query|| -|order|string|Order in which to return matching authorized_keys.|query|| -|filters|array|Conditions for filtering authorized_keys.|query|| +See "common resource list method.":{{site.baseurl}}/api/methods.html#index -h2. update +h3. update Update attributes of an existing AuthorizedKey.