Skip to content

Commit 53f36a3

Browse files
Connection settings (#3985)
Document connection and authentication settings
1 parent e98d56a commit 53f36a3

File tree

49 files changed

+1093
-677
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1093
-677
lines changed

doc/book/admin/access_control.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ There are two functions for managing passwords in Tarantool:
9090

9191
* :doc:`/reference/reference_lua/box_schema/user_password` returns a hash of a user's password.
9292

93-
Tarantool Enterprise Edition also allows you to improve database security by enforcing the use of strong passwords, setting up a maximum password age, and so on. Learn more from the :ref:`Access control <enterprise-access-control>` section.
93+
Tarantool Enterprise Edition also allows you to improve database security by enforcing the use of strong passwords, setting up a maximum password age, and so on. Learn more from the :ref:`configuration_authentication` topic.
9494

9595

9696

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
credentials:
2+
users:
3+
admin:
4+
password: 'topsecret'
5+
roles: [ super ]
6+
7+
groups:
8+
group001:
9+
replicasets:
10+
replicaset001:
11+
instances:
12+
instance001:
13+
iproto:
14+
listen:
15+
- uri: '127.0.0.1:3301'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
instance001:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
credentials:
2+
users:
3+
admin:
4+
password: 'topsecret'
5+
roles: [ super ]
6+
7+
groups:
8+
group001:
9+
replicasets:
10+
replicaset001:
11+
instances:
12+
instance001:
13+
iproto:
14+
listen:
15+
- uri: '127.0.0.1:3301'
16+
- uri: '127.0.0.1:3302'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
instance001:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
credentials:
2+
users:
3+
admin:
4+
password: 'topsecret'
5+
roles: [ super ]
6+
7+
groups:
8+
group001:
9+
replicasets:
10+
replicaset001:
11+
instances:
12+
instance001:
13+
iproto:
14+
listen:
15+
- uri: '3301'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
instance001:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
credentials:
2+
users:
3+
admin:
4+
password: 'topsecret'
5+
roles: [ super ]
6+
7+
groups:
8+
group001:
9+
replicasets:
10+
replicaset001:
11+
instances:
12+
instance001:
13+
iproto:
14+
listen:
15+
- uri: 'unix/:./var/run/{{ instance_name }}/tarantool.iproto'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
instance001:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
set -xeuo pipefail
3+
4+
# 1. Generate an unencrypted server key.
5+
openssl genrsa -out server.key 2048
6+
7+
# 2. Create a certificate signing request based on the server key.
8+
openssl req -new -key server.key -subj "/C=US/ST=State/L=City/O=Example-Certificates/CN=server/" -out server.csr
9+
10+
# 3. Generate a server certificate.
11+
openssl x509 -req -in server.csr -signkey server.key -extfile <(printf "subjectAltName=DNS:localhost,IP:127.0.0.1") -days 365 -out server.crt

0 commit comments

Comments
 (0)