Skip to content

Commit ffd0c89

Browse files
docs: add credentials column to show aliases
1 parent 82c30c3 commit ffd0c89

File tree

3 files changed

+81
-77
lines changed

3 files changed

+81
-77
lines changed

modules/ROOT/pages/database-administration/aliases/manage-aliases-composite-databases.adoc

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ SHOW ALIASES FOR DATABASE
4242
.Result
4343
[role="queryresult"]
4444
----
45-
+--------------------------------------------------------------------------------------------------+
46-
| name | composite | database | location | url | user |
47-
+--------------------------------------------------------------------------------------------------+
48-
| "library.romance" | "library" | "romance-books" | "remote" | "neo4j+s://location:7687" | "alice" |
49-
| "library.sci-fi" | "library" | "sci-fi-books" | "local" | NULL | NULL |
50-
+--------------------------------------------------------------------------------------------------+
45+
+--------------------------------------------------------------------------------------------------------------------------------+
46+
| name | composite | database | location | url | credentials | user |
47+
+--------------------------------------------------------------------------------------------------------------------------------+
48+
| "library.romance" | "library" | "romance-books" | "remote" | "neo4j+s://location:7687" | "STORED NATIVE CREDENTIALS" | "alice" |
49+
| "library.sci-fi" | "library" | "sci-fi-books" | "local" | NULL | NULL | NULL |
50+
+--------------------------------------------------------------------------------------------------------------------------------+
5151
----
5252

5353
For a description of all the returned columns of this command, and for ways in which the `SHOW ALIASES FOR DATABASE` command can be filtered for aliases, see xref:database-administration/aliases/manage-aliases-standard-databases.adoc#manage-aliases-list[list aliases for standard databases].
@@ -105,12 +105,12 @@ WHERE composite = 'garden'
105105
.Result
106106
[role="queryresult"]
107107
----
108-
+-----------------------------------------------------------------------------------------------------+
109-
| name | composite | database | location | url | user |
110-
+-----------------------------------------------------------------------------------------------------+
111-
| "garden.flowers" | "garden" | "perennial-flowers" | "local" | NULL | NULL |
112-
| "garden.trees" | "garden" | "trees" | "remote" | "neo4j+s://location:7687" | "alice" |
113-
+-----------------------------------------------------------------------------------------------------+
108+
+-----------------------------------------------------------------------------------------------------------------------------------+
109+
| name | composite | database | location | url | credentials | user |
110+
+-----------------------------------------------------------------------------------------------------------------------------------+
111+
| "garden.flowers" | "garden" | "perennial-flowers" | "local" | NULL | NULL | NULL |
112+
| "garden.trees" | "garden" | "trees" | "remote" | "neo4j+s://location:7687" | "STORED NATIVE CREDENTIALS" | "alice" |
113+
+-----------------------------------------------------------------------------------------------------------------------------------+
114114
----
115115

116116
Database aliases cannot target a composite database.
@@ -159,14 +159,14 @@ SHOW ALIASES FOR DATABASE YIELD *
159159
.Result
160160
[role="queryresult"]
161161
----
162-
+-----------------------------------------------------------------------------------------------------------------------------------------------------+
163-
| name | composite | database | location | url | user | driver | defaultLanguage | properties |
164-
+-----------------------------------------------------------------------------------------------------------------------------------------------------+
165-
| "garden.flowers" | "garden" | "perennial-flowers" | "local" | NULL | NULL | NULL | NULL | {perennial: TRUE} |
166-
| "garden.trees" | "garden" | "updatedtrees" | "remote" | "neo4j+s://location:7687" | "alice" | {} | NULL | {treeversion: 2} |
167-
| "library.romance" | "library" | "romance-books" | "remote" | "neo4j+s://location:7687" | "alice" | {} | NULL | {} |
168-
| "library.sci-fi" | "library" | "sci-fi-books" | "local" | NULL | NULL | NULL | NULL | {} |
169-
+-----------------------------------------------------------------------------------------------------------------------------------------------------+
162+
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
163+
| name | composite | database | location | url | credentials | user | driver | defaultLanguage | properties |
164+
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
165+
| "garden.flowers" | "garden" | "perennial-flowers" | "local" | NULL | NULL | NULL | NULL | NULL | {perennial: TRUE} |
166+
| "garden.trees" | "garden" | "updatedtrees" | "remote" | "neo4j+s://location:7687" | "STORED NATIVE CREDENTIALS" | "alice" | {} | NULL | {treeversion: 2} |
167+
| "library.romance" | "library" | "romance-books" | "remote" | "neo4j+s://location:7687" | "STORED NATIVE CREDENTIALS" | "alice" | {} | NULL | {} |
168+
| "library.sci-fi" | "library" | "sci-fi-books" | "local" | NULL | NULL | NULL | NULL | NULL | {} |
169+
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
170170
----
171171

172172
[[delete-composite-database-alias]]
@@ -192,13 +192,13 @@ SHOW ALIASES FOR DATABASE
192192
.Result
193193
[role="queryresult"]
194194
----
195-
+--------------------------------------------------------------------------------------------------+
196-
| name | composite | database | location | url | user |
197-
+--------------------------------------------------------------------------------------------------+
198-
| "garden.trees" | "garden" | "updatedtrees" | "remote" | "neo4j+s://location:7687" | "alice" |
199-
| "library.romance" | "library" | "romance-books" | "remote" | "neo4j+s://location:7687" | "alice" |
200-
| "library.sci-fi" | "library" | "sci-fi-books" | "local" | NULL | NULL |
201-
+--------------------------------------------------------------------------------------------------+
195+
+--------------------------------------------------------------------------------------------------------------------------------+
196+
| name | composite | database | location | url | credentials | user |
197+
+--------------------------------------------------------------------------------------------------------------------------------+
198+
| "garden.trees" | "garden" | "updatedtrees" | "remote" | "neo4j+s://location:7687" | "STORED NATIVE CREDENTIALS" | "alice" |
199+
| "library.romance" | "library" | "romance-books" | "remote" | "neo4j+s://location:7687" | "STORED NATIVE CREDENTIALS" | "alice" |
200+
| "library.sci-fi" | "library" | "sci-fi-books" | "local" | NULL | NULL | NULL |
201+
+--------------------------------------------------------------------------------------------------------------------------------+
202202
----
203203

204204
Additionally, deleted aliases will no longer appear in the `constituents` column for the `SHOW DATABASE` command.

0 commit comments

Comments
 (0)