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/credential-vending/index.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,20 @@ Credential Vending supports the following privileges:
23
23
??? note "Permissions"
24
24
Privileges is a synonym of Permissions.
25
25
26
+
## Path Operations
27
+
28
+
There are the following path operations supported in Unity Catalog:
29
+
30
+
*`PATH_CREATE_TABLE`
31
+
*`PATH_READ`
32
+
*`PATH_READ_WRITE`
33
+
*`UNKNOWN_PATH_OPERATION`
34
+
35
+
The path operations are used for [TemporaryPathCredentialsService](../server/TemporaryPathCredentialsService.md) to determine the [privileges for a path operation](../server/TemporaryPathCredentialsService.md#pathOperationToPrivileges) (while [generating temporary path credentials](../server/TemporaryPathCredentialsService.md#generateTemporaryPathCredential)).
36
+
37
+
??? note "OpenAPI Generator"
38
+
Path operations are defined in `PathOperation` enum in Unity Catalog's [OpenAPI specification]({{ uc.github }}/api/all.yaml).
39
+
26
40
## Amazon S3
27
41
28
42
[Alex Reid once wrote]({{ uc.slack }}/C076YREKX8W/p1728333073156489?thread_ts=1728308961.254459&cid=C076YREKX8W):
Copy file name to clipboardExpand all lines: docs/server/TableService.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# TableService
2
2
3
-
`TableService` is a Unity Catalog API service that [UnityCatalogServer](UnityCatalogServer.md) uses to handle HTTP requests at `/api/2.1/unity-catalog/tables` URL.
3
+
`TableService` is an API service that [UnityCatalogServer](UnityCatalogServer.md) uses to handle HTTP requests at `/api/2.1/unity-catalog/tables` URL.
Copy file name to clipboardExpand all lines: docs/server/TemporaryPathCredentialsService.md
+59-1Lines changed: 59 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,44 @@
1
1
# TemporaryPathCredentialsService
2
2
3
+
`TemporaryPathCredentialsService` is an API service of [UnityCatalogServer](UnityCatalogServer.md) to handle HTTP requests at `/api/2.1/unity-catalog/temporary-path-credentials` URL.
4
+
5
+
Method | URL | Handler | Params
6
+
-|-|-|-
7
+
POST | `/` | [generateTemporaryPathCredential](#generateTemporaryPathCredential) | JSON-ified `GenerateTemporaryPathCredential`
8
+
9
+
`TemporaryPathCredentialsService` handles `POST` requests only with the following authorization guarantees:
10
+
11
+
Method | AuthorizeExpression | Securables
12
+
-|-|-
13
+
POST | [authorize(#principal, #metastore, OWNER)](../server-authorization/AuthorizeExpression.md) | [METASTORE](../basic-server-access-control/index.md#securables)
14
+
15
+
## Demo
16
+
17
+
!!! note "etc/conf/server.properties"
18
+
The following demo requires `url` being configured in [etc/conf/server.properties](index.md#server-configuration) (using`s3.bucketPath.0=s3://uc-japila` and the others).
`generateTemporaryPathCredential` requests this [CredentialOperations](#credentialOps) to [vendCredential](../credential-vending/CredentialOperations.md#vendCredential) for the `url` and `operation` properties (of the given `GenerateTemporaryPathCredential`).
60
+
61
+
!!! note "Internal Server Error"
62
+
`operation` should be one of the [supported path operations](../credential-vending/index.md#path-operations) or Unity Catalog reports an internal error.
63
+
64
+
### Privileges by Path Operation { #pathOperationToPrivileges }
`pathOperationToPrivileges` converts the given [PathOperation](../credential-vending/index.md#path-operations) to [Privileges](../basic-server-access-control/index.md#privileges):
0 commit comments