Skip to content

Make the number of characters for the randomly generated vm pasword configurable. #8010

@kiranchavala

Description

@kiranchavala

ISSUE TYPE

  • Improvement request

COMPONENT NAME

Compnent: Management server

CLOUDSTACK VERSION

Cloudstack version 4.18

SUMMARY

Make the number of characters for the randomly generated vm pasword configurable.

Currently, by default Cloudstack generates a random 6 character password

Can we have a global setting to specify the number of characters required for the randomly generated vm password

Similar to the global settings related to user password specifications

Having more characters may also increase the security or make it align with the organization policies

Steps to reproduce the issue

  1. Register a password-enabled template

  2. Deploy a virtual machine

  3. The random password generated is always of 6 characters

Screenshot

By default, 6 characters are generated for a vm

Screenshot 2023-09-26 at 5 54 23 PM Screenshot 2023-09-27 at 2 47 43 PM

Expected behavior

Admin user should be able to configure the number of characters for the randomly generated vm password

Actual behavior

Currently admin user is not able to configure the number of character for the randomly generated vm password

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions