@Generated public class TemporaryVolumeCredentialsAPI extends Object
Temporary volume credentials ensure that data access is limited in scope and duration, reducing the risk of unauthorized access or misuse. To use the temporary volume credentials API, a metastore admin needs to enable the external_access_enabled flag (off by default) at the metastore level, and user needs to be granted the EXTERNAL USE SCHEMA permission at the schema level by catalog owner. Note that EXTERNAL USE SCHEMA is a schema level permission that can only be granted by catalog owner explicitly and is not included in schema ownership or ALL PRIVILEGES on the schema for security reasons.
| Constructor and Description |
|---|
TemporaryVolumeCredentialsAPI(ApiClient apiClient)
Regular-use constructor
|
TemporaryVolumeCredentialsAPI(TemporaryVolumeCredentialsService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
GenerateTemporaryVolumeCredentialResponse |
generateTemporaryVolumeCredentials(GenerateTemporaryVolumeCredentialRequest request)
Get a short-lived credential for directly accessing the volume data on cloud storage.
|
TemporaryVolumeCredentialsService |
impl() |
public TemporaryVolumeCredentialsAPI(ApiClient apiClient)
public TemporaryVolumeCredentialsAPI(TemporaryVolumeCredentialsService mock)
public GenerateTemporaryVolumeCredentialResponse generateTemporaryVolumeCredentials(GenerateTemporaryVolumeCredentialRequest request)
public TemporaryVolumeCredentialsService impl()
Copyright © 2026. All rights reserved.