Creating Secrets for Apono in AWS Secret Store
Last updated
Was this helpful?
Last updated
Was this helpful?
A connector uses a secret to connect Apono to resources without storing any credentials. For AWS-based integrations, secrets are created and managed through the .
You can use one of three methods to prepare a secret for use with your integration:
: (Recommended) Provision and manage your secrets through configuration files and commands.
: Use a command-line shell with the AWS CLI.
: Use an existing secret.
The following sections explain how to execute each method.
This method uses Terraform configuration files and commands to manage your secrets for resource integration via an Apono connector.
Terraform
Region
Integration Credentials
Credentials for the instance of the integration used to replace the KEY1 = "VALUE1"
,KEY2 = "VALUE2"
placeholders when creating a secret
Use the following steps to create a secret through Terraform:
Copy the following snippet into the .tf file for managing your Terraform resources.
Replace the placeholders:
#SECRET_NAME
: Unique identifier. This value is used as the connector credential in the Apono UI.
KEY1
& VALUE1
: Replace these placeholders with the username or account identifier for the integration instance. The user must have admin level privileges.
KEY2
& VALUE2
: Replace these placeholder with the password or other account credential for the user.
Once terraform apply
has been successfully run and the secret created, the secret will be listed in and can be managed from the AWS Secrets Manager console.
This method uses AWS CLI to provide a streamlined, secure pathway to manage your secrets for resource integration via an Apono connector.
AWS Command Line Interface (AWS CLI)
Region
Location of the instance of the integration
Integration Credentials
Credentials for the instance of the integration used to replace the KEY1 = "VALUE1"
,KEY2 = "VALUE2"
placeholders when creating a secret
User the following steps to create a secret through the AWS CLI
Copy the following command into a text editor.
Replace the placeholders:
#SECRET_NAME
: Unique identifier. This value is used as the connector credential in the Apono UI.
#REGION
: Replace this placeholder with the region.
KEY1
& VALUE1
: Replace these placeholders with the username or account identifier for the integration instance. The user must have admin level privileges.
KEY2
& VALUE2
: Replace these placeholder with the password or other account credential for the user
In the command-line interface of your local machine, paste and run the edited command.
When the secret is successfully generated, the AWS CLI provides a JSON response containing details about the newly created secret, resembling the following structure.
The secret will be listed in and can be managed from the AWS Secrets Manager console.
You can use an existing secret. To enable an Apono connector to use an existing secret, add a tag with the following key and value information:
Key: apono-connector-read
Value: true
Tool to provision and manage infrastructure available from Once Terraform is installed, the following items must be defined and configured:
Location of the instance of the integration Set this value when configuring the in Terraform.
At the terminal prompt in the same folder as the .tf file, run the and commands.
Open source tool enabling interacting with AWS services using commands in your command-line shell available from