Octopus Deploy Documentation

Create AWS Account Command

Last updated

AWS Account

Command: New-OctopusAwsAccount

New-OctopusAwsAccount allows you to create an AWS account in Octopus from within a running deployment

Parameters Value
-name Name for the AWS account
-secretKey The AWS secret key to use when authenticating against Amazon Web Services.
-accessKey The AWS access key to use when authenticating against Amazon Web Services.
-updateIfExisting Will update an existing account with the same name, create if it doesn't exist

Example:

New-OctopusAwsAccount -name "My AWS Account" `
                      -secretKey "7U4MhdfjgcAk9niwPgXD81pTYY+fIvVsN3m" `
                      -accessKey "AKIAVY29QTUTKPJC3R5K" `
                      -updateIfExisting

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.