dsconfig create-password-generator
Prev | dsconfig Subcommands Reference | Next

## Name

dsconfig create-password-generator — Creates Password Generators

## Synopsis

`dsconfig create-password-generator` {options}

## Description

Creates Password Generators.

## Options

The dsconfig create-password-generator command takes the following options:

`--generator-name {name}`

  The name of the new Password Generator.

  Password Generator properties depend on the Password Generator type, which depends on the {name} you provide.

  By default, OpenDJ directory server supports the following Password Generator types:

  random-password-generator

    Default {name}: Random Password Generator

    Enabled by default: true

    See the section called “Random Password Generator” for the properties of this Password Generator type.

`--set {PROP:VALUE}`

  Assigns a value to a property where PROP is the name of the property and VALUE is the single value to be assigned. Specify the same property multiple times in order to assign more than one value to it.

  Password Generator properties depend on the Password Generator type, which depends on the `--generator-name {name}` option.

`-t | --type {type}`

  The type of Password Generator which should be created. The value for TYPE can be one of: custom | random.

  Password Generator properties depend on the Password Generator type, which depends on the {type} you provide.

  By default, OpenDJ directory server supports the following Password Generator types:

  random-password-generator

    Default {type}: Random Password Generator

    Enabled by default: true

    See the section called “Random Password Generator” for the properties of this Password Generator type.

## Random Password Generator

Password Generators of type random-password-generator have the following properties:

enabled
  Description

    Indicates whether the Password Generator is enabled for use.

  Default Value

    None

  Allowed Values

    true

    false

  Multi-valued

    No

  Required

    Yes

  Admin Action Required

    None

  Advanced Property

    No

  Read-only

    No

java-class
  Description

    Specifies the fully-qualified name of the Java class that provides the Random Password Generator implementation.

  Default Value

    org.opends.server.extensions.RandomPasswordGenerator

  Allowed Values

    A Java class that implements or extends the class(es): org.opends.server.api.PasswordGenerator

  Multi-valued

    No

  Required

    Yes

  Admin Action Required

    None

  Advanced Property

    Yes (Use --advanced in interactive mode.)

  Read-only

    No

password-character-set
  Description

    Specifies one or more named character sets. This is a multi-valued property, with each value defining a different character set. The format of the character set is the name of the set followed by a colon and the characters that are in that set. For example, the value "alpha:abcdefghijklmnopqrstuvwxyz" defines a character set named "alpha" containing all of the lower-case ASCII alphabetic characters.

  Default Value

    None

  Allowed Values

    A character set name (consisting of ASCII letters) followed by a colon and the set of characters that are included in that character set.

  Multi-valued

    Yes

  Required

    Yes

  Admin Action Required

    None

  Advanced Property

    No

  Read-only

    No

password-format
  Description

    Specifies the format to use for the generated password. The value is a comma-delimited list of elements in which each of those elements is comprised of the name of a character set defined in the password-character-set property, a colon, and the number of characters to include from that set. For example, a value of "alpha:3,numeric:2,alpha:3" generates an 8-character password in which the first three characters are from the "alpha" set, the next two are from the "numeric" set, and the final three are from the "alpha" set.

  Default Value

    None

  Allowed Values

    A comma-delimited list whose elements comprise a valid character set name, a colon, and a positive integer indicating the number of characters from that set to be included.

  Multi-valued

    No

  Required

    Yes

  Admin Action Required

    None

  Advanced Property

    No

  Read-only

    No

Prev | Up | Next
dsconfig create-monitor-provider | Home | dsconfig create-password-policy