Configuring Octopus Deploy connections
Octopus Deploy connections authenticate with an API key (or token). You store the key in Secrets Manager and reference that secret when you create the connection in AWS Glue Studio.
To configure an Octopus Deploy connection:
In the Octopus Web Portal, choose your profile image, choose Profile, choose My API Keys, and then choose New API key. Copy the key when Octopus Deploy generates it, because you can't view it again. The key has the permissions of the user or service account that owns it. For more information, see Create an API key
on the Octopus Deploy website. In Secrets Manager, create a secret with the key
apiKey. Set its value to the API key, which starts withAPI-. The connector sends it in theX-Octopus-ApiKeyheader.In the AWS Glue Studio console, choose Connections under Data Catalog, then choose Create connection.
Search for and choose Octopus Deploy as the data source.
For the URL connection property, enter the URL of your Octopus Cloud or self-hosted Octopus Server instance followed by
/api, for examplehttps://.your-instance.octopus.app/apiFor credentials, choose the Secrets Manager secret you created, select the IAM role that AWS Glue can assume to read the secret, optionally set network options, and complete the connection creation.
Grant the IAM role associated with your AWS Glue job permission to read the secret.