Create username/password command

Username/password account

Command: New-OctopusUserPassAccount

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

-nameName for the Username/Password account
-usernameThe username to use when authenticating against the remote host.
-passwordThe password to use to when authenticating against the remote host.
-updateIfExistingWill update an existing account with the same name, create if it doesnโ€™t exist


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

Help us continuously improve

Please let us know if you have any feedback about this page.

Send feedback

Page updated on Sunday, January 1, 2023