Octopus Deploy Documentation

Create username/password command

Last updated

Username/password account

Command: New-OctopusUserPassAccount

New-OctopusUserPassAccount allows you to create a username/password account in Octopus from within a running deployment

Parameters Value
-name Name for the Username/Password account
-username The username to use when authenticating against the remote host.
-password The password to use to when authenticating against the remote host.
-updateIfExisting Will update an existing account with the same name, create if it doesn't exist

Example:

New-OctopusUserPassAccount -name "My Username Password Account" `
                           -username "myuser" `
                           -password "correct horse battery staple" `
                           -updateIfExisting

Need support? We're here to help.