Share via


UserAccessPolicy Class

Get Data Plane read only token request definition.

Constructor

UserAccessPolicy(*, permissions: str | None = None, access_resource_path: str | None = None, profile_name: str | None = None, start_time: str | None = None, expire_time: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
permissions
str

The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access.

Default value: None
access_resource_path
str

The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource.

Default value: None
profile_name
str

The name of the profile. Currently only the default is supported. The default value is DefaultProfile.

Default value: None
start_time
str

Start time for the token. If not specified the current time will be used.

Default value: None
expire_time
str

Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours.

Default value: None

Variables

Name Description
permissions
str

The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access.

access_resource_path
str

The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource.

profile_name
str

The name of the profile. Currently only the default is supported. The default value is DefaultProfile.

start_time
str

Start time for the token. If not specified the current time will be used.

expire_time
str

Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours.