what about having a tag amazon which would in case the credentials are set in environment use amazon for storage otherwise it would fallback to mongo?