Comments (2)
Currently only auth urls are supported for the CLI.
For api usage you can pass in everything nano acceps. Here you can pass requestDefaults
with an auth
object.
For example:
bootstrap({
url: 'https://couch.example.com',
requestDefaults: {
auth: {
user: 'bob',
pass: 'secure'
}
}
}, 'path/to/fs', cb)
from couchdb-bootstrap.
I couldn't get this to work (#28), but a basic auth URL (e.g. http://admin:admin@localhost:5984
) worked fine in both the CLI and API.
from couchdb-bootstrap.
Related Issues (20)
- `_config` compilation ignores plain JS and CommonJS-style declarations HOT 2
- Improved error messages
- nano options lost in DB scope HOT 4
- Trailing slash causes error HOT 1
- Missing 'version' property in package.json HOT 3
- support for CouchDB URL with path (non default root path)
- Order of operation error HOT 3
- Source Object HOT 2
- Index support HOT 1
- Deletion support
- Add bulk support HOT 1
- DB from empty folder missing post 14.2.0 HOT 2
- Compiling directories is broken in 14.x HOT 6
- _config.json as configuration object HOT 6
- Question: support for PouchDB? HOT 2
- Running couchdb-bootstrap with npx runs the tests
- Unable to use CommonJS modules HOT 3
- Is there support for creating partitioned databases?
- Find a better name HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from couchdb-bootstrap.