robottelo.rhsso_utils
¶
Utility module to handle the rhsso-satellite configure UI/CLI/API testing
Module Contents¶
Functions¶
|
helper function for ssh command and avoiding the return code check in called function |
Getter method for fetching the client id and can be used other functions |
|
|
Getter method to receive the user id |
|
Getter method to receive the group id |
|
Helper method upload the entity json request as file on RHSSO Server |
|
Helper method to create the RH-SSO Client Mapper |
|
create new user in RHSSO instance and set the password |
|
|
|
Delete the RHSSO user |
|
Create the RHSSO group |
|
Delete the RHSSO group |
|
Update the client configuration |
getter oidc token endpoint |
|
getter for the oidc client_id |
|
getter for the oidc authorization endpoint |
|
getter for the two factor token rh_sso url |
|
|
|
Attributes¶
- robottelo.rhsso_utils.satellite¶
- robottelo.rhsso_utils.rhsso_host¶
- robottelo.rhsso_utils.realm¶
- robottelo.rhsso_utils.rhsso_user¶
- robottelo.rhsso_utils.rhsso_password¶
- robottelo.rhsso_utils.run_command(cmd, hostname=satellite, timeout=None)¶
helper function for ssh command and avoiding the return code check in called function
- robottelo.rhsso_utils.get_rhsso_client_id()¶
Getter method for fetching the client id and can be used other functions
- robottelo.rhsso_utils.get_rhsso_user_details(username)¶
Getter method to receive the user id
- robottelo.rhsso_utils.get_rhsso_groups_details(group_name)¶
Getter method to receive the group id
- robottelo.rhsso_utils.upload_rhsso_entity(json_content, entity_name)¶
Helper method upload the entity json request as file on RHSSO Server
- robottelo.rhsso_utils.create_mapper(json_content, client_id)¶
Helper method to create the RH-SSO Client Mapper
- robottelo.rhsso_utils.create_new_rhsso_user(client_id, username=None)¶
create new user in RHSSO instance and set the password
- robottelo.rhsso_utils.update_rhsso_user(username, group_name=None)¶
- robottelo.rhsso_utils.delete_rhsso_user(username)¶
Delete the RHSSO user
- robottelo.rhsso_utils.create_group(group_name=None)¶
Create the RHSSO group
- robottelo.rhsso_utils.delete_rhsso_group(group_name)¶
Delete the RHSSO group
- robottelo.rhsso_utils.update_client_configuration(json_content)¶
Update the client configuration
- robottelo.rhsso_utils.get_oidc_token_endpoint()¶
getter oidc token endpoint
- robottelo.rhsso_utils.get_oidc_client_id()¶
getter for the oidc client_id
- robottelo.rhsso_utils.get_oidc_authorization_endpoint()¶
getter for the oidc authorization endpoint
- robottelo.rhsso_utils.get_two_factor_token_rh_sso_url()¶
getter for the two factor token rh_sso url
- robottelo.rhsso_utils.open_pxssh_session(ssh_key=settings.server.ssh_key, hostname=settings.server.hostname, username=settings.server.ssh_username)¶
- robottelo.rhsso_utils.set_the_redirect_uri()¶