Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,14 @@ <h2>Table of Contents</h2>
<a href="#metalstack%2fadmin%2fv2%2ftoken.proto">metalstack/admin/v2/token.proto</a>
<ul>

<li>
<a href="#metalstack.admin.v2.TokenServiceCreateRequest"><span class="badge">M</span>TokenServiceCreateRequest</a>
</li>

<li>
<a href="#metalstack.admin.v2.TokenServiceCreateResponse"><span class="badge">M</span>TokenServiceCreateResponse</a>
</li>

<li>
<a href="#metalstack.admin.v2.TokenServiceListRequest"><span class="badge">M</span>TokenServiceListRequest</a>
</li>
Expand Down Expand Up @@ -13149,6 +13157,68 @@ <h2 id="metalstack/admin/v2/token.proto">metalstack/admin/v2/token.proto</h2><a
<p></p>


<h3 id="metalstack.admin.v2.TokenServiceCreateRequest">TokenServiceCreateRequest</h3>
<p>TokenServiceCreateRequest is the request payload to create a token</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>user</td>
<td><a href="#string">string</a></td>
<td>optional</td>
<td><p>User this token should be created for, if omitted, user is derived from caller </p></td>
</tr>

<tr>
<td>token</td>
<td><a href="#metalstack.api.v2.Token">metalstack.api.v2.Token</a></td>
<td></td>
<td><p>Token which was should be created </p></td>
</tr>

</tbody>
</table>





<h3 id="metalstack.admin.v2.TokenServiceCreateResponse">TokenServiceCreateResponse</h3>
<p>TokenServiceCreateResponse is the response payload of a token create request</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>token</td>
<td><a href="#metalstack.api.v2.Token">metalstack.api.v2.Token</a></td>
<td></td>
<td><p>Token which was created </p></td>
</tr>

<tr>
<td>secret</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>Secret is the body if the jwt token, should be used in api requests as bearer token </p></td>
</tr>

</tbody>
</table>





<h3 id="metalstack.admin.v2.TokenServiceListRequest">TokenServiceListRequest</h3>
<p>TokenServiceListRequest is the request payload for the token list request</p>

Expand Down Expand Up @@ -13263,6 +13333,13 @@ <h3 id="metalstack.admin.v2.TokenService">TokenService</h3>
<td><p>Revoke a token</p></td>
</tr>

<tr>
<td>Create</td>
<td><a href="#metalstack.admin.v2.TokenServiceCreateRequest">TokenServiceCreateRequest</a></td>
<td><a href="#metalstack.admin.v2.TokenServiceCreateResponse">TokenServiceCreateResponse</a></td>
<td><p>Create a token to authenticate against the platform, the secret will be only visible in the response</p></td>
</tr>

</tbody>
</table>

Expand Down
34 changes: 34 additions & 0 deletions go/metalstack/admin/v2/adminv2connect/token.connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

156 changes: 141 additions & 15 deletions go/metalstack/admin/v2/token.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading