sample
turbot/flowpipe-samples/create-okta-user-assign-to-group
Get Involved
Version
Pipeline: Create User Assign Group
Create a user and assign it to a group.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run create_okta_user_assign_to_group.pipeline.create_okta_user_assign_to_group \ --arg 'first_name=<string>' \ --arg 'last_name=<string>' \ --arg 'email=<string>' \ --arg 'login=<string>' \ --arg 'password=<string>' \ --arg 'group_id=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = create_okta_user_assign_to_group.pipeline.create_okta_user_assign_to_group args = { first_name = <string> last_name = <string> email = <string> login = <string> password = <string> group_id = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.okta | Yes | Name of Okta connection to use. If not provided, the default Okta connection will be used. | connection.okta.default |
first_name | string | Yes | Given name of the user. | - |
last_name | string | Yes | The family name of the user. | - |
string | Yes | The primary email address of the user. | - | |
login | string | Yes | The unique identifier for the user. | - |
password | string | Yes | Specifies the password for a user. | - |
group_id | string | Yes | The ID of the group. | - |
Outputs
Name | Description |
---|---|
user | User details. |
group_members | List of users that are members of the group. |