Add an AppSpecificAuthToken data model for app-specific auth tokens. These will be used for the Docker CLI in place of username+password
This commit is contained in:
parent
53b762a875
commit
524d77f527
50 changed files with 943 additions and 289 deletions
|
@ -70,25 +70,8 @@
|
|||
|
||||
<!-- Settings -->
|
||||
<cor-tab-pane id="settings">
|
||||
<!-- OIDC Token -->
|
||||
<div class="settings-section" ng-if="Config.AUTHENTICATION_TYPE == 'OIDC'">
|
||||
<h3>Docker CLI Token</h3>
|
||||
<div>
|
||||
A generated token is <strong>required</strong> to login via the Docker CLI.
|
||||
</div>
|
||||
|
||||
<table class="co-list-table" style="margin-top: 10px;">
|
||||
<tr>
|
||||
<td>CLI Token:</td>
|
||||
<td>
|
||||
<span class="external-login-button" is-link="true" action="cli" provider="oidcLoginProvider"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- Encrypted Password -->
|
||||
<div class="settings-section" ng-if="Config.AUTHENTICATION_TYPE != 'OIDC'">
|
||||
<div class="settings-section" ng-if="Config.AUTHENTICATION_TYPE != 'AppToken'">
|
||||
<h3>Docker CLI Password</h3>
|
||||
<div ng-if="!Features.REQUIRE_ENCRYPTED_BASIC_AUTH">
|
||||
The Docker CLI stores passwords entered on the command line in <strong>plaintext</strong>. It is therefore highly recommended to generate an an encrypted version of your password to use for <code>docker login</code>.
|
||||
|
@ -109,6 +92,18 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<!-- App Specific tokens -->
|
||||
<div class="settings-section" ng-if="Features.APP_SPECIFIC_TOKENS">
|
||||
<h3>Docker CLI and other Application Tokens</h3>
|
||||
<div ng-if="Config.AUTHENTICATION_TYPE != 'AppToken'">
|
||||
As an alternative to using your password for Docker and rkt CLIs, an application token can be generated below.
|
||||
</div>
|
||||
<div ng-if="Config.AUTHENTICATION_TYPE == 'AppToken'">
|
||||
An application token is <strong>required</strong> to login via the Docker or rkt CLIs.
|
||||
</div>
|
||||
<app-specific-token-manager></app-specific-token-manager>
|
||||
</div>
|
||||
|
||||
<!-- User Settings -->
|
||||
<div class="settings-section">
|
||||
<h3>User Settings</h3>
|
||||
|
|
Reference in a new issue