Manage Access for FeatureStore | Teradata Package for Python - Manage Access for FeatureStore - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
ft:locale
en-US
ft:lastEdition
2025-01-23
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

If you are the owner of Feature Store, you can grant either read access, write access, or read and write access to other users. Similarly, you can revoke granted access from other users.

Users who are granted read access can access the following APIs on the corresponding Feature Store.
  • list_features
  • list_entities
  • list_data_sources
  • list_feature_groups
  • get_feature
  • get_entity
  • get_data_source
  • get_feature_group
Users who are granted write access can access the following APIs on the corresponding Feature Store.
  • apply
  • archive_feature_group
  • delete_feature_group
  • archive_entity
  • delete_entity
  • archive_data_source
  • delete_data_source
  • archive_feature_group
  • delete_feature_group

Users with both read and write access can access any API on Feature Store.

grant.read

grant.read() grants read access to users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.grant.read('BoB')
True

grant.write

grant.write() grants write access to users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.grant.write('BoB')
True

grant.read_write

grant.read_write() grants both read and write access to users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.grant.read_write('BoB')
True

revoke.read

revoke.read() revokes read access from users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.revoke.read('BoB')
True

revoke.write

revoke.write() revokes write access from users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.revoke.write('BoB')
True

revoke.read_write

revoke.read_write() revokes both read and write access from users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.revoke.read_write('BoB')
True