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


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

Welcome! We use cookies and data about how you use our website allow us to improve the website and your experience, and resolve technical errors. Our website uses cookies and shares some of your data with third party analytics companies for these purposes.

If you decline, we will respect your privacy. A single cookie will be used in your browser to remember your preference.