DCLI Secret Input

Some command options, more commonly when connecting to vCenter Server, are of secret type. Values for command options of secret type should be provided in a secure way.

You can provide values for secure options in two ways.

  • Provide the value explicitly in the command line.
    dcli> com vmware vcenter securecommand –secureoption <securevalue>
    Important: Providing the value explicitly presents a security risk.
  • Provide the value when prompted after initially skipping the value.
    dcli> com vmware vcenter securecommand –secureoption
    secureoption: