These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
VISIT OUR DIFFERENT FORUMS:
Announcements > | |
CloudShell > | TestShell > |
Developers > | BI (Business Inteligence) > |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide > | Configuration Management > |
Getting started with Shells > | Extending CloudShell with Cloud Providers > |
Getting started with Orchestration > | API Guide > |
To share your integration, follow the instructions in this guide >.
CloudShell's Python API gives external applications or Python Scripts the ability to manage CloudShell in many different areas.
One of these capabilities is the ability to create, manage and update users and groups, thus providing the external application management access control over CloudShell.
The syntax for performing these actions is very simple and easy to understand, below are a few basic examples (using the qualipy CloudShell API included in Cloudshell 6.4) :
Note: # marks comment rows
# Create the API Session object (replace the string values with the actual relevant server address, username and password
api_session = CloudShellAPISession(“ServerHostNameOrIP”,”Username”,”Password”,”Global”)
# Activate a user (allow login)
api_session.UpdateUser(username=”john.d”, isActive=True, email=”john.d@example.com”)
# Deactivate a user (disallow login, equivalent to expiring a password)
api_session.UpdateUser(username=”john.d”, isActive=False, email=”john.d@example.com”)
# Set a user’s password (admin only, can be used to automate resetting a password or generating a password)
api_session.UpdateUserPassword(username='john.d',password=’new_password')
# Clear all of a user’s groups
api_session.UpdateUserGroups(username="Do.Test",groupsNames=[])
#Set user’s groups to predetermined groups
api_session.UpdateUserGroups(username="Do.Test",groupsNames=[‘Group1Name’,’Group2Name’])
# Advanced: iterate over the users current group memberships and remove only the one you want.
# 1. Get the users Groups
# 2. Convert the group objects list to an str list
# 3. Remove the relevant group
#4. Update the user’s groups using the resulting list
user_groups = api_session.GetUserDetails(username="Do.Test").Groups
user_group_names = [group.Name for group in user_groups]
if "group_name" in user_group_names: user_group_names.remove("group_name")
api_session.UpdateUserGroups(username="Do.Test",groupsNames=user_group_names)
These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
Announcements | |
CloudShell | TestShell |
Developers | BI (Business Inteligence) |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide | Configuration Management |
Getting started with Shells | Extending CloudShell with Cloud Providers |
Getting started with Orchestration | API Guide |
To share your integration, follow the instructions in this guide.