yellowdog_client.account – Account
All functionality is accessed via:
- class yellowdog_client.account.AccountClient
The API interface exposed by the YellowDog Account Service
- abstractmethod add_application(request)
- Parameters:
request (
AddApplicationRequest)- Return type:
- abstractmethod add_application_to_group(group_id, application_id)
- abstractmethod add_group(request)
- Parameters:
request (
AddGroupRequest)- Return type:
- abstractmethod add_role_to_group(group_id, role_id, scope)
- abstractmethod add_user_to_group(group_id, user_id)
- abstractmethod delete_application(application_id)
- abstractmethod get_application_groups(application_id)
- Parameters:
application_id (
str)- Return type:
SearchClient[GroupSummary]
- abstractmethod get_applications(search)
- Parameters:
search (
ApplicationSearch)- Return type:
SearchClient[Application]
- abstractmethod get_group_applications(group_id)
- Parameters:
group_id (
str)- Return type:
SearchClient[Application]
- abstractmethod get_group_roles(group_id)
- abstractmethod get_group_users(group_id)
- abstractmethod get_groups(search)
- Parameters:
search (
GroupSearch)- Return type:
SearchClient[GroupSummary]
- abstractmethod get_role_groups(role_id)
- Parameters:
role_id (
str)- Return type:
SearchClient[GroupSummary]
- abstractmethod get_roles(search)
- Parameters:
search (
RoleSearch)- Return type:
SearchClient[Role]
- abstractmethod get_user_groups(user_id)
- Parameters:
user_id (
str)- Return type:
SearchClient[GroupSummary]
- abstractmethod get_users(search)
- Parameters:
search (
UserSearch)- Return type:
SearchClient[User]
- abstractmethod list_permissions()
- Return type:
- abstractmethod regenerate_application_api_key(application_id)
- abstractmethod remove_application_from_group(group_id, application_id)
- abstractmethod remove_role_from_group(group_id, role_id)
- abstractmethod remove_user_from_group(group_id, user_id)
- abstractmethod update_application(application_id, request)
- Parameters:
application_id (
str)request (
UpdateApplicationRequest)
- Return type:
- abstractmethod update_group(group_id, request)
- Parameters:
group_id (
str)request (
UpdateGroupRequest)
- Return type:
- class yellowdog_client.account.AccountClientImpl(service_proxy)
- Parameters:
service_proxy (
AccountServiceProxy)
- add_application(request)
- Parameters:
request (
AddApplicationRequest)- Return type:
- add_application_to_group(group_id, application_id)
- add_group(request)
- Parameters:
request (
AddGroupRequest)- Return type:
- add_role_to_group(group_id, role_id, scope)
- close()
- get_application_groups(application_id)
- Parameters:
application_id (
str)- Return type:
SearchClient[GroupSummary]
- get_applications(search)
- Parameters:
search (
ApplicationSearch)- Return type:
SearchClient[Application]
- get_group_applications(group_id)
- Parameters:
group_id (
str)- Return type:
SearchClient[Application]
- get_groups(search)
- Parameters:
search (
GroupSearch)- Return type:
SearchClient[GroupSummary]
- get_role_groups(role_id)
- Parameters:
role_id (
str)- Return type:
SearchClient[GroupSummary]
- get_roles(search)
- Parameters:
search (
RoleSearch)- Return type:
SearchClient[Role]
- get_user_groups(user_id)
- Parameters:
user_id (
str)- Return type:
SearchClient[GroupSummary]
- get_users(search)
- Parameters:
search (
UserSearch)- Return type:
SearchClient[User]
- list_permissions()
- Return type:
- regenerate_application_api_key(application_id)
- remove_application_from_group(group_id, application_id)
- remove_role_from_group(group_id, role_id)
- remove_user_from_group(group_id, user_id)
- update_application(application_id, request)
- Parameters:
application_id (
str)request (
UpdateApplicationRequest)
- Return type:
- update_group(group_id, request)
- Parameters:
group_id (
str)request (
UpdateGroupRequest)
- Return type:
- class yellowdog_client.account.AccountServiceProxy(proxy)
- Parameters:
proxy (
Proxy)
- add_application(request)
- Parameters:
request (
AddApplicationRequest)- Return type:
- add_application_to_group(group_id, application_id)
- add_group(request)
- Parameters:
request (
AddGroupRequest)- Return type:
- add_role_to_group(group_id, role_id, scope)
- list_application_groups(application_id, slice_reference)
- Parameters:
application_id (
str)slice_reference (
SliceReference)
- Return type:
- list_group_applications(group_id, slice_reference)
- Parameters:
group_id (
str)slice_reference (
SliceReference)
- Return type:
- list_group_roles(group_id, slice_reference)
- Parameters:
group_id (
str)slice_reference (
SliceReference)
- Return type:
- list_group_users(group_id, slice_reference)
- Parameters:
group_id (
str)slice_reference (
SliceReference)
- Return type:
- list_permissions()
- Return type:
- list_role_groups(role_id, slice_reference)
- Parameters:
role_id (
str)slice_reference (
SliceReference)
- Return type:
- list_user_groups(user_id, slice_reference)
- Parameters:
user_id (
str)slice_reference (
SliceReference)
- Return type:
- regenerate_application_api_key(application_id)
- remove_application_from_group(group_id, application_id)
- remove_role_from_group(group_id, role_id)
- remove_user_from_group(group_id, user_id)
- search_applications(search, slice_reference)
- Parameters:
search (
ApplicationSearch)slice_reference (
SliceReference)
- Return type:
- search_groups(search, slice_reference)
- Parameters:
search (
GroupSearch)slice_reference (
SliceReference)
- Return type:
- search_roles(search, slice_reference)
- Parameters:
search (
RoleSearch)slice_reference (
SliceReference)
- Return type:
- search_users(search, slice_reference)
- Parameters:
search (
UserSearch)slice_reference (
SliceReference)
- Return type:
- update_application(application_id, request)
- Parameters:
application_id (
str)request (
UpdateApplicationRequest)
- Return type:
- update_group(group_id, request)
- Parameters:
group_id (
str)request (
UpdateGroupRequest)
- Return type:
- class yellowdog_client.account.ApplicationClient
- abstractmethod get_application_details()
- Return type:
- class yellowdog_client.account.ApplicationClientImpl(service_proxy)
- Parameters:
service_proxy (
ApplicationServiceProxy)
- get_application_details()
- Return type:
- class yellowdog_client.account.ApplicationServiceProxy(proxy)
- Parameters:
proxy (
Proxy)
- get_application_details()
- Return type:
- class yellowdog_client.account.KeyringClient
- abstractmethod create_keyring(name, description)
- abstractmethod delete_credential(keyring, credential_name)
- abstractmethod delete_credential_by_name(keyring_name, credential_name)
- abstractmethod delete_keyring_by_name(keyring_name)
- abstractmethod find_all_keyrings()
- Return type:
- abstractmethod put_credential(keyring, credential)
- Parameters:
keyring (
Keyring)credential (
Credential)
- Return type:
- abstractmethod put_credential_by_name(keyring_name, credential)
- Parameters:
keyring_name (
str)credential (
Credential)
- Return type:
- class yellowdog_client.account.KeyringClientImpl(service_proxy)
- Parameters:
service_proxy (
KeyringServiceProxy)
- close()
- delete_credential(keyring, credential_name)
- delete_credential_by_name(keyring_name, credential_name)
- find_all_keyrings()
- Return type:
- put_credential(keyring, credential)
- Parameters:
keyring (
Keyring)credential (
Credential)
- Return type:
- put_credential_by_name(keyring_name, credential)
- Parameters:
keyring_name (
str)credential (
Credential)
- Return type:
- class yellowdog_client.account.KeyringServiceProxy(proxy)
- Parameters:
proxy (
Proxy)
- create_keyring(name, description)
- delete_credential(keyring_name, credential_name)
- find_all_keyrings()
- Return type:
- put_credential(keyring_name, credential)
- Parameters:
keyring_name (
str)credential (
Credential)
- Return type: