Are there any official packages for generating passwords?

Hi

Are there any official packages for generating passwords?

Preferably an activity where you have the option to adapt to different password policies/criteria.

Regards
Soren

Hi @SorenB

We don’t have any official packages created by UiPath for generating Random passwords. May be Invoke code should or Assign activity can help you better on this.

Please check the below thread also

Regards
PS Parvathy

When “official” also includes packages from nuget feeds then may have a look here:

That looks interesting :slight_smile:

Is it a package that you have had experience with using yourself and would deem secure and stable?

Last changes to repo is 5 years ago, so I would guess its pretty stable :smiley:

Just for those who are interested, I went with the library suggested by @ppr :grinning_face_with_smiling_eyes:

I am using it to create my own UiPath Library Activity for generating a password (for internal use).

The activity has the following in-arguments:

  • Length (Int32)
  • IncludeLowercaseLetters (Boolean)
  • IncludeUppercaseLetter (Boolean)
  • IncludeNumbers (Boolean)
  • IncludeSpecialCharacters (Boolean)

The library activity basically contains 2 Assign activities:

Assign pwd_PasswordPolicy = New PasswordGenerator.Password(IncludeLowercaseLetters,IncludeUppercaseLetter,IncludeNumbers,IncludeSpecialCharacters,Length)
Assign out_sstr_Password = (New System.Net.NetworkCredential("",pwd_PasswordPolicy.Next())).SecurePassword

Output is a Secure String.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.