-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'oss/master' into cache-exceptions
* oss/master: changelog++ Support MongoDB session-wide write concern (#3646) Clarify api_addr related errors on VaultPluginTLSProvider (#3620) allowed/disallowed_policies as TypeCommaStringSlice (#3641) Update example payload and response for pem_keys field which needs \n after header and before footer in order to be accepted as a valid RSA or ECDSA public key (#3632) Docs: Update /sys/policies/ re: beta refs to address #3624 (#3629) Update secrets page Remove beta notice Expanding on the quick start guide with how to set up an intermediate authority (#3622) Docs: mlock() notes, fixes #3605 (#3614) Fix spelling (#3609) Add command to example to register plugin (#3601) update relatedtools, add Goldfish UI. (#3597) Fix docs for Transit API (#3588) Update cassandra docs with consistency value. Remove Trailing White space in Kubernetes Doc (#3360) Missing command for vault PUT operation (#3355) Update some rekey docs
- Loading branch information
Showing
21 changed files
with
402 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,18 +20,26 @@ has a number of parameters to further configure a connection. | |
|
||
| Method | Path | Produces | | ||
| :------- | :--------------------------- | :--------------------- | | ||
| `POST` | `/database/config/:name` | `204 (empty body)` | | ||
| `POST` | `/database/config/:name` | `204 (empty body)` | | ||
|
||
### Parameters | ||
- `connection_url` `(string: <required>)` – Specifies the MongoDB standard connection string (URI). | ||
|
||
- `connection_url` `(string: <required>)` – Specifies the MongoDB standard | ||
connection string (URI). | ||
- `write_concern` `(string: "")` - Specifies the MongoDB [write | ||
concern][mongodb-write-concern]. This is set for the entirety of the session, | ||
maintained for the lifecycle of the plugin process. Must be a serialized JSON | ||
object, or a base64-encoded serialized JSON object. The JSON payload values | ||
map to the values in the [Safe][mgo-safe] struct from the mgo driver. | ||
|
||
### Sample Payload | ||
|
||
```json | ||
{ | ||
"plugin_name": "mongodb-database-plugin", | ||
"allowed_roles": "readonly", | ||
"connection_url": "mongodb://admin:[email protected]:27017/admin?ssl=true" | ||
"connection_url": "mongodb://admin:[email protected]:27017/admin?ssl=true", | ||
"write_concern": "{ \"wmode\": \"majority\", \"wtimeout\": 5000 }" | ||
} | ||
``` | ||
|
||
|
@@ -68,7 +76,7 @@ list the plugin does not support that statement type. | |
[MongoDB's documentation](https://docs.mongodb.com/manual/reference/method/db.createUser/). | ||
|
||
- `revocation_statements` `(string: "")` – Specifies the database statements to | ||
be executed to revoke a user. Must be a serialized JSON object, or a base64-encoded | ||
be executed to revoke a user. Must be a serialized JSON object, or a base64-encoded | ||
serialized JSON object. The object can optionally contain a "db" string. If no | ||
"db" value is provided, it defaults to the "admin" database. | ||
|
||
|
@@ -84,4 +92,7 @@ list the plugin does not support that statement type. | |
} | ||
] | ||
} | ||
``` | ||
``` | ||
|
||
[mongodb-write-concern]: https://docs.mongodb.com/manual/reference/write-concern/ | ||
[mgo-safe]: https://godoc.org/gopkg.in/mgo.v2#Safe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.