github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/ExternalPrincipal.md (about) 1 # ExternalPrincipal 2 3 4 ## Properties 5 6 Name | Type | Description | Notes 7 ------------ | ------------- | ------------- | ------------- 8 **id** | **str** | A unique identifier for the external principal i.e aws:sts::123:assumed-role/role-name | 9 **user_id** | **str** | lakeFS user ID to associate with an external principal. | 10 **settings** | **List[Dict[str, str]]** | | [optional] 11 12 ## Example 13 14 ```python 15 from lakefs_sdk.models.external_principal import ExternalPrincipal 16 17 # TODO update the JSON string below 18 json = "{}" 19 # create an instance of ExternalPrincipal from a JSON string 20 external_principal_instance = ExternalPrincipal.from_json(json) 21 # print the JSON string representation of the object 22 print ExternalPrincipal.to_json() 23 24 # convert the object into a dict 25 external_principal_dict = external_principal_instance.to_dict() 26 # create an instance of ExternalPrincipal from a dict 27 external_principal_form_dict = external_principal.from_dict(external_principal_dict) 28 ``` 29 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 30 31