defaultbucket

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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:

Variable Description Default
RIPOSO_DEFAULT_BUCKET_HASH_SECRET Hex-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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL