pub(crate) async fn get_credential_for_bucket(
callback: &PyObject,
bucket: String,
token: String,
) -> PyResult<String>Expand description
Call the Python bucket_creds_fetcher callback and return the raw
credential string it produces.
The callback receives (token, bucket) as positional arguments and must
return a str.