{{#if isAuthorized }} {{#if create}} {{title 'New Token'}} {{else}} {{title 'Edit Token'}} {{/if}} {{else}} {{title 'Access Controls'}} {{/if}} {{#app-view class=(concat 'token ' (if (or isAuthorized isEnabled) 'edit' 'list')) loading=isLoading authorized=isAuthorized enabled=isEnabled}} {{#block-slot name='notification' as |status type|}} {{partial 'dc/acls/tokens/notifications'}} {{/block-slot}} {{#block-slot name='disabled'}} {{partial 'dc/acls/disabled'}} {{/block-slot}} {{#block-slot name='authorization'}} {{partial 'dc/acls/authorization'}} {{/block-slot}} {{#block-slot name='breadcrumbs'}}
  1. All Tokens
{{/block-slot}} {{#block-slot name='header'}}

{{#if isAuthorized }} {{#if create }} New Token {{else}} Edit Token {{/if}} {{else}} Access Controls {{/if}}

{{/block-slot}} {{#block-slot name='actions'}} {{#if (not create)}} {{#if (not-eq item.AccessorID token.AccessorID)}} {{#confirmation-dialog message='Are you sure you want to use this ACL token?'}} {{#block-slot name='action' as |confirm|}} {{/block-slot}} {{#block-slot name='dialog' as |execute cancel message|}}

{{message}}

{{/block-slot}} {{/confirmation-dialog}} {{/if}} {{#if (not (token/is-legacy item))}} {{/if}} {{/if}} {{/block-slot}} {{#block-slot name='content'}} {{#if (token/is-legacy item)}}

Update. We have upgraded our ACL system by allowing you to create reusable policies which you can then apply to tokens. Don't worry, even though this token was written in the old style, it is still valid. However, we do recommend upgrading your old tokens to the new style. Learn how in our documentation.

{{/if}} {{#if (not create) }}
AccessorID
{{copy-button-feedback title="Copy AccessorID to the clipboard" copy=item.AccessorID name="AccessorID"}} {{item.AccessorID}}
Token
{{copy-button-feedback title="Copy SecretID to the clipboard" copy=item.SecretID name="Token"}} {{#secret-button}}{{item.SecretID}}{{/secret-button}}
{{#if (and (not (token/is-legacy item)) (not create))}}
Scope
{{if item.Local 'local' 'global' }}
{{/if}}
{{/if}} {{ partial 'dc/acls/tokens/form'}} {{/block-slot}} {{/app-view}}