[REWST - TASK] Password Generator

This workflow is a flexible password generator that supports different formats—cryptographic, Rewst-style, or user-friendly—based on settings you choose. MSPs can plug it into onboarding, password resets, or account creation to ensure consistent, secure password generation. It figures out the right method, creates the password, and passes it along for use in other automations or documentation.

This workflow contains 9 tasks.

Inputs

  • psa - string

    • Specify the PSA if an override needed, otherwise we will default to the ORG Var within the automation.

  • existing_ticket - string (Required)

    • Specify the existing ticket id in order to update an existing ticket. If none specified, we will create a new ticket.

  • minimum_numbers - string

    • Specify the number of numbers that must be in the generated password

    • Default: {{- CTX.minimum_numbers|d(2) -}}

  • password_length - string

    • Specify the number of characters in the password to be generated

    • Default: {{- CTX.password_length|d(16) -}}

  • minimum_capitals - string

    • Specify the number of capitals that must be in the generated password

    • Default: {{- CTX.minimum_capitals|d(2) -}}

  • minimum_punctuation - string

    • Specify the number of punctuation characters that must be in the generated password

    • Default: {{- CTX.minimum_punctuation|d(2) -}}

  • predefined_password - string

    • If specified, then we bypass generation and will just utilize the set password.

  • password_generator_system - string

    • Specify where to generate the password from, if left null then will use the Rewst default action

Outputs

  • automation_log: Standardized Rewst automation log

  • generated_password: This will return the password generated by the workflow.

Key tasks

  • generate_rewst_password: Workflows integration: [REWST - TASK] Rewst: Password Generator

  • generate_random_password: Core integration: Generate Password V2

  • generate_friendly_password: Workflows integration: [REWST - TASK] Friendly: Password Generator

  • set_output_var: Core integration: noop

  • which_password_system: Core integration: noop

Jinja examples

Example 1

{{ - data_ns.status - }}

Used in publishing 'automation_log'

Example 2

{{ - data_ns.status < 2000 - }}

Used in publishing 'automation_log'

Last updated

Was this helpful?