Feature/bucket api

we can't use the id as the bucket key.. it needs to be a separate key as it's unique per applicaiton/environment combo not globally.