Categorygithub.com/riposo/default-bucket
repositorypackage
0.1.0
Repository: https://github.com/riposo/default-bucket.git
Documentation: pkg.go.dev

# README

Default Bucket Plugin

Default bucket plugin for Riposo.

This core plugin adds support for default buckets which is implicitly created for each user account on on their first use as outlined in the original Kinto documentation.

Configuration

The following environment variable can be used to configure Riposo:

VariableDescriptionDefault
RIPOSO_DEFAULT_BUCKET_HASH_SECRETHex-encoded secret used for internal signatures, see (Secrets)(#secrets)none (required)

Secrets

You must generate and configure a 32-byte cryptographically strong hex-encoded secret. To generate a good random secret use:

openssl rand -hex 32

Alternatively:

xxd -c 32 -l 32 -p /dev/urandom
tr -dc 'a-f0-9' < /dev/urandom | head -c64; echo

License

Copyright 2021 Black Square Media Ltd

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this material except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.