[deployments] Enforce s3 tenant settings constraints and challenge credentials

Description

Currently there's no way to remove the custom tenant storage settings and the validation rules are not enforces when calling the internal PUT endpoint. Modify the handler to enforce the validation constraints and test the settings before storing persisting them. Moreover, when PUTting an empty or null object, the settings are deleted.

Affects versions

None

Environment

None

Checklist

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Sprint

Backlog

yes

Zendesk Support

Checklist

Created September 20, 2022 at 12:18 PM
Updated September 28, 2022 at 8:13 AM
Resolved September 28, 2022 at 8:13 AM