Skip to content

Commit

Permalink
Add rbac user guide (#408)
Browse files Browse the repository at this point in the history
Signed-off-by: wayblink <[email protected]>
  • Loading branch information
wayblink authored Aug 22, 2024
1 parent 6f67498 commit 760ea2c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
File renamed without changes.
Binary file added docs/user_guide/figs/rbac_api_backup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/user_guide/figs/rbac_api_restore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions docs/user_guide/rbac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# RBAC backup

We support backup and restore RBAC meta since:

> milvus-backup: v0.4.21
>
> Milvus: v2.4.10
## Usage

### command
Add `rbac` parameter in `create` and `restore` command

If set `--rbac`, will backup/restore RBAC meta.

```shell
./milvus-backup create -n backup --rbac
```

```shell
./milvus-backup restore -n backup --rbac
```

### API
Add `rbac` parameter in `create` and `restore` API request.

Backup
<img src="./figs/rbac_api_backup.png">

Restore
<img src="./figs/rbac_api_restore.png">

0 comments on commit 760ea2c

Please sign in to comment.