e8ffc5e45bd8e8de9f1c78347ea6b11fd4817a40
chmalee
  Mon Dec 2 12:37:53 2024 -0800
Generate api keys for each user and store them in hgcentral.hubSpaceKeys

diff --git src/hg/lib/hubSpaceKeys.sql src/hg/lib/hubSpaceKeys.sql
new file mode 100644
index 0000000..8d9999f
--- /dev/null
+++ src/hg/lib/hubSpaceKeys.sql
@@ -0,0 +1,13 @@
+# hubSpaceKeys.sql was originally generated by the autoSql program, which also 
+# generated hubSpaceKeys.c and hubSpaceKeys.h.  This creates the database representation of
+# an object which can be loaded and saved from RAM in a fairly 
+# automatic way.
+
+#Api keys for userNames to upload to hubSpace using hubtools
+CREATE TABLE hubSpaceKeys (
+    userName varchar(255) not null,	# userName in gbMembers
+    apiKey varchar(255) not null,	# random key
+              #Indices
+    PRIMARY KEY(userName),
+    INDEX(apiKey)
+);