Interface AccountStorageCredentialsService
-
@Generated public interface AccountStorageCredentialsService
These APIs manage storage credentials for a particular metastore.This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageCredentialInfo
create(CreateStorageCredential createStorageCredential)
Create a storage credential.StorageCredentialInfo
get(GetAccountStorageCredentialRequest getAccountStorageCredentialRequest)
Gets the named storage credential.Collection<StorageCredentialInfo>
list(ListAccountStorageCredentialsRequest listAccountStorageCredentialsRequest)
Get all storage credentials assigned to a metastore.
-
-
-
Method Detail
-
create
StorageCredentialInfo create(CreateStorageCredential createStorageCredential)
Create a storage credential.Creates a new storage credential. The request object is specific to the cloud:
* **AwsIamRole** for AWS credentials * **AzureServicePrincipal** for Azure credentials * **GcpServiceAcountKey** for GCP credentials.
The caller must be a metastore admin and have the **CREATE_STORAGE_CREDENTIAL** privilege on the metastore.
-
get
StorageCredentialInfo get(GetAccountStorageCredentialRequest getAccountStorageCredentialRequest)
Gets the named storage credential.Gets a storage credential from the metastore. The caller must be a metastore admin, the owner of the storage credential, or have a level of privilege on the storage credential.
-
list
Collection<StorageCredentialInfo> list(ListAccountStorageCredentialsRequest listAccountStorageCredentialsRequest)
Get all storage credentials assigned to a metastore.Gets a list of all storage credentials that have been assigned to given metastore.
-
-