@Generated public interface AccountStorageCredentialsService
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
Modifier and Type | Method and Description |
---|---|
AccountsStorageCredentialInfo |
create(AccountsCreateStorageCredential accountsCreateStorageCredential)
Create a storage credential.
|
void |
delete(DeleteAccountStorageCredentialRequest deleteAccountStorageCredentialRequest)
Delete a storage credential.
|
AccountsStorageCredentialInfo |
get(GetAccountStorageCredentialRequest getAccountStorageCredentialRequest)
Gets the named storage credential.
|
Collection<StorageCredentialInfo> |
list(ListAccountStorageCredentialsRequest listAccountStorageCredentialsRequest)
Get all storage credentials assigned to a metastore.
|
AccountsStorageCredentialInfo |
update(AccountsUpdateStorageCredential accountsUpdateStorageCredential)
Updates a storage credential.
|
AccountsStorageCredentialInfo create(AccountsCreateStorageCredential accountsCreateStorageCredential)
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.
void delete(DeleteAccountStorageCredentialRequest deleteAccountStorageCredentialRequest)
Deletes a storage credential from the metastore. The caller must be an owner of the storage credential.
AccountsStorageCredentialInfo get(GetAccountStorageCredentialRequest getAccountStorageCredentialRequest)
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.
Collection<StorageCredentialInfo> list(ListAccountStorageCredentialsRequest listAccountStorageCredentialsRequest)
Gets a list of all storage credentials that have been assigned to given metastore.
AccountsStorageCredentialInfo update(AccountsUpdateStorageCredential accountsUpdateStorageCredential)
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.
Copyright © 2023. All rights reserved.