You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/server/TemporaryTableCredentialsService.md
+125Lines changed: 125 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,27 @@ Method | URL | Handler | Params
6
6
-|-|-|-
7
7
POST | | [generateTemporaryTableCredential](#generateTemporaryTableCredential) | [GenerateTemporaryTableCredential](GenerateTemporaryTableCredential.md)
8
8
9
+
## TableRepository { #TABLE_REPOSITORY }
10
+
11
+
`TemporaryTableCredentialsService` gets at the system-wide [TableRepository](../persistent-storage/TableRepository.md#getInstance) instance when created.
12
+
13
+
## Looking Up Table Credentials { #generateTemporaryTableCredential }
`generateTemporaryTableCredential`[looks up the table metadata](../persistent-storage/TableRepository.md#getTableById) (by the `tableId` of the given `GenerateTemporaryTableCredential`) in the [TableRepository](#TABLE_REPOSITORY).
21
+
22
+
Unless the storage location is on S3 (starts with `s3://` prefix), `generateTemporaryTableCredential` assumes local file system and returns empty credentials.
23
+
24
+
For a S3 storage location, `generateTemporaryTableCredential`[finds the S3 storage location credentials](TemporaryCredentialUtils.md#findS3BucketConfig).
0 commit comments