Create Octopus Deploy API Key
Octopus Deploy supports two methods for creating API keys: via a user profile or via a service account.- Service Account API Key (Recommended)
- User Profile API Key
Navigate to Service Accounts
From your Octopus Deploy dashboard, go to Configuration > Users and click on the Create Service Accounts button.

Create a new Service Account
Provide:
- Username: A name for the service account
- Display Name: A display name for the service account

Create a Team
Navigate to Configuration > Teams and click Add Team.
Provide:
Then click Save.
Provide:- New Team Name: A name for the team
- Team Description(optional): A description for the team
- Select the team access type:
- Accessible in the
currentspace only - Accessible in all spaces(system team)
- Accessible in the
Then click Save.Add Service Account to Team
After creating the team, you will be redirected to the team details page. Click on the Add Members button.
Select the service account you created in the previous step and click Add.
Select the service account you created in the previous step and click Add.
Add User Role to the team
After adding the service account to the team, Click on the User Roles tab and click Include User Role button.
Search for the Project Contributor role and click on the Apply button.
Click on the Save button.
Search for the Project Contributor role and click on the Apply button.
Click on the Save button.
Navigate to the API Keys section
After saving the team settings, we have to create an API key for the service account. Go back to Configuration > Users and find your service account. Click on the service account to view its details.Click on the API Keys section and click New API Key.

Create an Octopus Deploy Connection in Infisical
- Infisical UI
- API
Navigate to App Connections
In your Infisical dashboard, navigate to the App Connections page in the desired project.

Select Octopus Deploy Connection
Click + Add Connection and choose Octopus Deploy Connection from the list of integrations.

Fill out the Octopus Deploy Connection form
Complete the form by providing:
- A descriptive name for the connection
- An optional description
- The Instance URL (e.g., https://your-instance.octopus.app)
- The API Key from the previous step






