VMware Cloud Community
mmumshad
Contributor
Contributor

SecureString as a member of a Composite Group

I am trying to pass a password in secureString format as member of a composite group. I get the following error:

ch.dunes.model.type.ConvertorException: Workflow attribute AD_Server_Configuration contains value of unexpected type: string (expected: SecureString)

When I look at the value passed in execution REST API I see it passed it as a string.  How can I fix this and what is the right way to pass secureString as a member of composit group?

"{

              "id": "UserPassword",

              "value": {

                "string": {

                  "value": "Passw0rd"

                }

              }

            },"

{
              "id": "sharedUserPassword",
              "value": {
                "string": {
                  "value": "P@ssw0rd@123"
                }
              }
            },
0 Kudos
0 Replies