Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Add User Access Key widget to readme (#74)
Browse files Browse the repository at this point in the history
* Add User Access Key widget to readme

* Add User Access Key widget to readme
  • Loading branch information
dorsha authored Apr 19, 2024
1 parent 99d31dc commit 3fcfd31
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,17 @@ The widget lets you:
```vue
<template>
<!-- admin view: manage all tenant users' access keys -->
<AccessKeyManagement
tenant="tenant-id"
widget-id="access-key-management-widget"
/>
<!-- user view: mange access key for the logged-in tenant's user -->
<AccessKeyManagement
tenant="tenant-id"
widget-id="user-access-key-management-widget"
/>
</template>

<script setup>
Expand Down
6 changes: 6 additions & 0 deletions example/components/ManageAccessKeys.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
:tenant="tenant"
widget-id="access-key-management-widget"
/>

<h1>Manage My Access Keys</h1>
<AccessKeyManagement
:tenant="tenant"
widget-id="user-access-key-management-widget"
/>
</div>
</template>

Expand Down

0 comments on commit 3fcfd31

Please sign in to comment.