//! `GET /api/buckets` lists each visible bucket and its region for the picker.
//! It also doubles as a credential check (it fails if the credentials are bad).
use Json;
use State;
use StatusCode;
use crateAppState;
use crateMaybeCreds;
use cratestorage_error_response;
pub async