For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/en/guides/public-cloud/data-analytics/lakehouse/lakehouse-manage-access.md.
Skip to content

Lakehouse - Managing access to your data

View as Markdown

Find out how to organise your Lakehouse in catalogs and schemas, create users and groups, assign roles and manage the credentials of your tools

Warning

Lakehouse is in alpha. It is only available to the accounts invited to the alpha programme, and its features, interface and API may change.

Objective

Every access to the data of a Lakehouse goes through a user, its roles and a credential.

This guide explains how to organise your data in catalogs and schemas, give users access to it and manage their credentials.

Requirements


OVHcloud Console Access

  • Direct link:
  • Navigation path: Public Cloud > Select your project > Analytics

Instructions

Click Lakehouse, then click the name of your Lakehouse.

Catalogs and schemas

Open the Catalogs tab to list the catalogs of the Lakehouse.

Catalogs tab with one catalog

  • To add a catalog, click Add a catalog, enter its name and an optional description, and confirm. The name cannot be changed afterwards: engines connect to the catalog by this name.
  • To add a schema, click the name of a catalog, then Add a schema.

A catalog or a schema is available after a few seconds.

Users and service accounts

Open the Users tab and click Add a user. Choose the type:

  • User, for a person;
  • Service account, for an application or a pipeline.

A new user has no access to data until you assign it a role.

Groups

Groups let you assign roles once for several users. Open the Groups tab, click Add a group, then click the name of the group and Add a member. A member gets every role assigned to the group.

Roles

Open the Roles tab to see the roles of the Lakehouse.

Roles tab with the six default roles

The default roles are the following:

RolePrivileges
Lakehouse AdminEvery privilege on the data of all catalogs, including those created later.
Data OwnerRead and modify the data of all catalogs, and create, modify and delete their tables and views.
Data EditorRead and modify the data of all catalogs, and create and modify their tables and views, without deleting them.
Data ViewerRead the data and metadata of all catalogs.
Metadata ViewerSee the names of the schemas, tables and views of all catalogs, without reading the data.
User AdminNo privilege on the data.

Assigning a role

  1. In the Users or Groups tab, open the actions menu (...) of the user or the group and click Manage access.
  2. Under Which role do you want to give?, choose the role.
  3. To limit a default role to one catalog, choose this catalog as the scope. Otherwise, keep the role as it is defined.
  4. Click Assign the role.

The assignment is applied within a few seconds. A role limited to a catalog gives access to this catalog only: through this role, the user's credentials cannot read the tables of another catalog.

Creating a custom role

When the default roles do not fit, click Add a custom role in the Roles tab.

Form to create a custom role with its scope and actions

A custom role is a list of permissions. For each permission, choose:

  • the Scope: Whole Lakehouse, one Catalog or one Schema;
  • the actions: Read (BROWSE, SELECT), Write (INSERT, UPDATE, DELETE) and Structure (CREATE_TABLE, ALTER, DROP), or individual privileges in the detail below.

Click Add a permission to combine several scopes, then Create role. When you edit a custom role, saving it replaces all its permissions.

Credentials

A credential connects a tool to the Lakehouse with the rights of one user's roles.

To create one, open the actions menu (...) of the user, click Manage credentials, then Create a credential. Choose:

  • the Validity: 7, 30, 60 or 90 days;
  • Generate an S3 access key1, only for a tool that reads or writes the files of the bucket directly.

The client secret and the S3 secret key are shown only once, in the dialog that follows the creation. A user can hold up to three active credentials.

To revoke a credential, click Revoke in its row, or Revoke all to revoke every credential of the user. A revoked credential is refused within a second by the SQL endpoint and the Iceberg REST catalog. Its S3 access key may keep working for up to 30 minutes.

Tip

Give each tool or pipeline its own service account and credential. You can then revoke one access without disturbing the others.

Go further

Lakehouse - Key concepts

Lakehouse - Connecting your own tools

Lakehouse - Restricting network access

Join our community of users.

1: S3 is a trademark of Amazon Technologies, Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.

Was this page helpful?