---
sidebar:
  hidden: true
title: roboto.auth
---
Permission levels for temporary credentials, and who a dataset, collection or View is shared with.

Pass [`Permissions`](/docs/reference/python-sdk/roboto/auth#roboto.auth.Permissions) to [`get_temporary_credentials()`](/docs/reference/python-sdk/roboto/image_registry#roboto.image_registry.ImageRegistry.get_temporary_credentials) to choose what the credentials allow. [`get_record_access()`](/docs/reference/python-sdk/roboto/domain/collections#roboto.domain.collections.Collection.get_record_access) returns a collection's grants as a [`RecordAccessResponse`](/docs/reference/python-sdk/roboto/auth#roboto.auth.RecordAccessResponse), and [`edit_record_access()`](/docs/reference/python-sdk/roboto/domain/collections#roboto.domain.collections.Collection.edit_record_access) adds and removes [`AccessGrant`](/docs/reference/python-sdk/roboto/auth#roboto.auth.AccessGrant) values. [`EditAccessRequest`](/docs/reference/python-sdk/roboto/auth#roboto.auth.EditAccessRequest) and [`GetAccessResponse`](/docs/reference/python-sdk/roboto/auth#roboto.auth.GetAccessResponse) are the deprecated tuple form they replace.

## Submodules

- [roboto.auth.fga](/docs/reference/python-sdk/roboto/auth/fga)
- [roboto.auth.permissions](/docs/reference/python-sdk/roboto/auth/permissions)
- [roboto.auth.record_access](/docs/reference/python-sdk/roboto/auth/record_access)
- [roboto.auth.scope](/docs/reference/python-sdk/roboto/auth/scope)

## Package Contents

- [AccessGrant](/docs/reference/python-sdk/roboto/auth/record_access#roboto.auth.record_access.AccessGrant) (class): Grant on a dataset, collection or View: a subject and the role it holds there.

- [AccessRole](/docs/reference/python-sdk/roboto/auth/record_access#roboto.auth.record_access.AccessRole) (class): Role a grant gives its subject on a dataset, collection or View: what the subject may do with it.

- [AccessSubject](/docs/reference/python-sdk/roboto/auth/record_access#roboto.auth.record_access.AccessSubject) (class): Subject of a grant on a dataset, collection or View: whom the grant names.

- [AccessSubjectKind](/docs/reference/python-sdk/roboto/auth/record_access#roboto.auth.record_access.AccessSubjectKind) (class): Kind of subject a grant on a dataset, collection or View names.

- [AuthZTupleRecord](/docs/reference/python-sdk/roboto/auth/fga#roboto.auth.fga.AuthZTupleRecord) (class): Deprecated. Data record of an access tuple, as the Roboto API returns it on API versions before 2026-11-19.

- [EditAccessRequest](/docs/reference/python-sdk/roboto/auth/fga#roboto.auth.fga.EditAccessRequest) (class): Deprecated. Request body for [`edit_access()`](/docs/reference/python-sdk/roboto/domain/collections/collection#roboto.domain.collections.collection.Collection.edit_access).

- [EditRecordAccessRequest](/docs/reference/python-sdk/roboto/auth/record_access#roboto.auth.record_access.EditRecordAccessRequest) (class): Request body for [`edit_record_access()`](/docs/reference/python-sdk/roboto/domain/collections/collection#roboto.domain.collections.collection.Collection.edit_record_access).

- [GetAccessResponse](/docs/reference/python-sdk/roboto/auth/fga#roboto.auth.fga.GetAccessResponse) (class): Deprecated. Response body of [`get_access()`](/docs/reference/python-sdk/roboto/domain/collections/collection#roboto.domain.collections.collection.Collection.get_access).

- [Permissions](/docs/reference/python-sdk/roboto/auth/permissions#roboto.auth.permissions.Permissions) (class): Level of access that temporary credentials from Roboto grant: read only, or read and write.

- [RecordAccessResponse](/docs/reference/python-sdk/roboto/auth/record_access#roboto.auth.record_access.RecordAccessResponse) (class): Response body of [`get_record_access()`](/docs/reference/python-sdk/roboto/domain/collections/collection#roboto.domain.collections.collection.Collection.get_record_access).
