mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-20 02:52:11 +00:00
Fix s3 config examples and add password format to password strings
This commit is contained in:
parent
4f318e4c09
commit
2b899727aa
@ -339,29 +339,29 @@ paths:
|
|||||||
summary: S3 backup
|
summary: S3 backup
|
||||||
value:
|
value:
|
||||||
target: s3://s3.eu-central-1.amazonaws.com/box-example-com
|
target: s3://s3.eu-central-1.amazonaws.com/box-example-com
|
||||||
targetUser: ACCESS_KEY
|
target_user: ACCESS_KEY
|
||||||
targetPassword: SECRET_ACCESS_KEY
|
target_pass: SECRET_ACCESS_KEY
|
||||||
minAge: 3
|
minAge: 3
|
||||||
local:
|
local:
|
||||||
summary: Local backup
|
summary: Local backup
|
||||||
value:
|
value:
|
||||||
target: local
|
target: local
|
||||||
targetUser: ''
|
target_user: ''
|
||||||
targetPassword: ''
|
target_pass: ''
|
||||||
minAge: 3
|
minAge: 3
|
||||||
rsync:
|
rsync:
|
||||||
summary: Rsync backup
|
summary: Rsync backup
|
||||||
value:
|
value:
|
||||||
target: rsync://username@box.example.com//backups/box.example.com
|
target: rsync://username@box.example.com//backups/box.example.com
|
||||||
targetUser: ''
|
target_user: ''
|
||||||
targetPassword: ''
|
target_pass: ''
|
||||||
minAge: 3
|
minAge: 3
|
||||||
off:
|
off:
|
||||||
summary: Disable backups
|
summary: Disable backups
|
||||||
value:
|
value:
|
||||||
target: 'off'
|
target: 'off'
|
||||||
targetUser: ''
|
target_user: ''
|
||||||
targetPassword: ''
|
target_pass: ''
|
||||||
minAge: 0
|
minAge: 0
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
@ -1589,6 +1589,7 @@ components:
|
|||||||
$ref: '#/components/schemas/Email'
|
$ref: '#/components/schemas/Email'
|
||||||
password:
|
password:
|
||||||
type: string
|
type: string
|
||||||
|
format: password
|
||||||
description: Mail user set password request.
|
description: Mail user set password request.
|
||||||
MailUserAddRequest:
|
MailUserAddRequest:
|
||||||
type: object
|
type: object
|
||||||
@ -1601,6 +1602,7 @@ components:
|
|||||||
$ref: '#/components/schemas/Email'
|
$ref: '#/components/schemas/Email'
|
||||||
password:
|
password:
|
||||||
type: string
|
type: string
|
||||||
|
format: password
|
||||||
privileges:
|
privileges:
|
||||||
$ref: '#/components/schemas/MailUserPrivilege'
|
$ref: '#/components/schemas/MailUserPrivilege'
|
||||||
description: Mail user add request.
|
description: Mail user add request.
|
||||||
@ -1879,6 +1881,7 @@ components:
|
|||||||
target_pass:
|
target_pass:
|
||||||
type: string
|
type: string
|
||||||
example: password
|
example: password
|
||||||
|
format: password
|
||||||
min_age:
|
min_age:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
|
Loading…
Reference in New Issue
Block a user