~/.config/privatebin/config.json
Default location of the privatebin configuration. The file has to be created manually as it is not installed with a standard installation.
Privatebin cli configuration file.
The privatebin(1) command line interface create paste to an PrivateBin instance configured in the config.json.
|
The default value of open discussion for a paste. |
|---|---|
|
The default value of burn after reading for a paste. |
|
The default formatter for a paste. |
|
The default time to live for a paste. |
|
Enable GZip the paste data. |
|
The extra HTTP header fields to include in the request sent. |
|
The list of bin instances. |
|
The name of the bin instance. |
|---|---|
|
The url of the bin instance. |
|
The basic auth configuration of the bin instance. |
|
The default time to live for a paste. |
|
The default value of open discussion for a paste. |
|
The default value of burn after reading for a paste. |
|
The formatter for the paste. |
|
GZip the paste data. |
|
The extra HTTP header fields to include in the request sent. |
|
The basic auth username. |
|---|---|
|
The basic auth password. |
Minimal privatebin configuration file:
{
"bin": [
{
"name": "", // default
"host": "https://privatebin.net"
}
]
}
A bit more complete configuration file:
{
"bin": [
{
"name": "example",
"host": "bin.example.com",
"auth": {
"username": "john.doe",
"password": "s$cr$t"
},
"formatter": "markdown",
"burn-after-reading": false
},
{
"name": "",
"host": "https://privatebin.net"
"extra-header-fields": {
"Foo": "Bar",
},
},
],
"burn-after-reading": true
}
~/.config/privatebin/config.json
Default location of the privatebin configuration. The file has to be created manually as it is not installed with a standard installation.