From 7d4b2e0084fa253114567ddfd0e5b75041dbe192 Mon Sep 17 00:00:00 2001 From: Alexey Menshikov <27022842+mealal@users.noreply.github.com> Date: Fri, 7 Jun 2019 10:51:30 -0400 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 3567baf..6cf238a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,11 @@ vault write sys/plugins/catalog/database/atlas sha_256="$SHASUM" command="atlas" vault write database/roles/readonly db_name=atlas creation_statements='{ "db": "admin", "roles": [{ "role": "readAnyDatabase" }] }' default_ttl="1h" max_ttl="24h" vault write database/config/atlas plugin_name=atlas allowed_roles="readonly" apiID="public API key" apiKey="private API key" groupID="group id" ``` +### Security +If your system uses ```mlock``` you should allow it for the plugin +``` +sudo setcap cap_ipc_lock=+ep /your_plugin_directory_path/atlas +``` ### Test ```