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 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.