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(AccountsCreateStorageCredential accountsCreateStorageCredential)
Create a storage credential.void
delete(DeleteAccountStorageCredentialRequest deleteAccountStorageCredentialRequest)
Delete a storage credential.StorageCredentialInfo
get(GetAccountStorageCredentialRequest getAccountStorageCredentialRequest)
Gets the named storage credential.ListStorageCredentialsResponse
list(ListAccountStorageCredentialsRequest listAccountStorageCredentialsRequest)
Get all storage credentials assigned to a metastore.StorageCredentialInfo
update(AccountsUpdateStorageCredential accountsUpdateStorageCredential)
Updates a storage credential.
-
-
-
Method Detail
-
create
StorageCredentialInfo create(AccountsCreateStorageCredential accountsCreateStorageCredential)
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.
-
delete
void delete(DeleteAccountStorageCredentialRequest deleteAccountStorageCredentialRequest)
Delete a storage credential.Deletes a storage credential from the metastore. The caller must be an owner of the storage credential.
-
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
ListStorageCredentialsResponse 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.
-
update
StorageCredentialInfo update(AccountsUpdateStorageCredential accountsUpdateStorageCredential)
Updates a storage credential.Updates a storage credential on the metastore. The caller must be the owner of the storage credential. If the caller is a metastore admin, only the __owner__ credential can be changed.
-
-