Contents

Cancel

Recommended Articles

  1. unify-apps

    Indexing

    Unify AI

    Transform raw content into searchable knowledge through AI-powered indexing and vector embeddings

  2. unify-apps

    IMAP

    Unify Integrations

    Integrate your app with IMAP to enable seamless email synchronization, real-time access, and enhanced communication workflows.

  3. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  4. unify-apps

    QuickBooks

    Unify Integrations

    Integrate your app with QuickBooks to streamline accounting, automate invoicing, and manage finances effortlessly

  5. unify-apps

    FTP/FTPS

    Unify Integrations

    Connect your app with FTP/FTPS to automate secure file transfers and streamline data exchange across systems.

  6. unify-apps

    Facebook Ads

    Unify Integrations

    Connect your app with Facebook Ads to automate campaign management, optimize ad performance, and track marketing success.

  7. unify-apps

    Snowflake

    Unify Automations

    Connect to Snowflake for fast, scalable cloud data warehousing and analytics

  8. unify-apps

    Button

    Unify Applications

    Create interactive elements with ease using buttons

  9. unify-apps

    BambooHR

    Unify Automations

    Integrate your app with BambooHR to streamline HR management, automate employee data processing, and enhance onboarding workflows

  10. unify-apps

    Build your first automation

    Unify Automations

    Learn how to build your automation step by step

  11. unify-apps

    User Management

    Unify Applications

    Efficiently manage user roles and permissions

  12. unify-apps

    Microsoft Teams

    Unify Automations

    Connect your app with Microsoft Teams to enhance communication, automate workflows, and foster collaboration across your organization

  13. unify-apps

    Jira

    Unify Automations

    Use Jira to plan, track, and manage your agile and software development projects

  14. unify-apps

    Pre Processing

    Unify AI

    Optimize query processing through intelligent rephrasing, retrieval, and ranking to deliver accurate AI responses

  15. unify-apps

    Google Calendar

    Unify Integrations

    Integrate your app with Google Calendar to streamline scheduling, automate event management, and improve team coordination

#
Unify Integrations
Logo
Amazon KMS

Amazon KMS

Logo

4 mins READ

Amazon Key Management Service (KMS) is a managed service that enables you to easily create, control, and manage cryptographic keys used to encrypt data across AWS services. It integrates with AWS Identity and Access Management (IAM) to provide secure access and key management capabilities.

Integrating your application with Amazon Key Management Service (KMS) enhances security by using managed encryption keys for your data. Here are the steps you need to follow to ensure a smooth integration:

Authentication

Before you begin, make sure you have the following information:

  • Connection Name: Select a descriptive name for your connection, like "MyAppAmazonKMSIntegration". This helps in easily identifying the connection within your application or integration settings.

  • Authentication Type: Select the type of authentication for connecting to your Amazon Kms account:

    • IAM Role

    • Access Key

Access key-based Authentication

For Access Key-based authentication, you'll need to perform the following steps to generate access credentials:

  1. Login to the AWS Management Console

  2. Create a new user

    • Search for Users in the top search bar of the AWS Console homepage.

    • Click Create User at the top right corner.

  3. Assign necessary permissions

    • Attach the AWSKeyManagementServicePowerUser policy directly to the user. This ensures the user can query Kms.

  4. Create Access Key

    • Once the user is created, click the username, navigate to the Security credentials section, and click the Create access key.

    • Use "Command Line Interface" as the use case for the access key.

    • Provide a description tag for the key and click Create access key.

  5. Store Access Credentials Securely

    • Store the Access Key and Secret Access Key securely, as they will allow access to your Kms account.

Image
Image


IAM Role-Based Authentication

For IAM Role-based authentication, follow these steps to set up an IAM role and grant the necessary permissions for Kms:

  1. Login to AWS Management Console

  2. Create an IAM Role

    • Navigate to the IAM dashboard by searching IAM in the search bar.

    • Select Roles from the left-hand menu, and click on Create role.

  3. Trusted Entity

    • Under the Trusted entity type, choose AWS account.

    • Select Another AWS account and input the UnifyApps AWS account ID (contact UnifyApps support to obtain this).

    • Check the Require external ID box and enter the External ID provided by UnifyApps.

      Image
      Image

  4. Assign Permissions to the Role

    • Attach the AWSKeyManagementServicePowerUser policy to the role.

  5. Configure the Role

    • Provide a role name and description, and then click Create role.

Create an IAM permissions policy 

  1. Go to the AWS Console and open the IAM console- https://console.aws.amazon.com/iam

  2. Navigate to Access Management and select Policies.

  3. Choose Create Policy.

  4. Locate and choose the AWS service that UnifyApps will access.

  5. Select the required permissions under the Actions field.

  6. Define the resources that the role will have access to.

  7. Continue clicking Next until you reach the Review policy page.

  8. Provide a Name for the policy.

  9. Click Create policy once done.

Retrieve IAM Role ARN

To retrieve the IAM Role ARN for connecting Athena:

  1. Go to the AWS Console

  2. Open the IAM console: IAM Console.

    Image
    Image

  3. Locate Role

    • Navigate to Roles and search for the IAM role you created for Athena.

  4. Copy the ARN

    • Select the role and copy the Role ARN. This ARN will be used to configure the connection in UnifyApps.

Actions

Actions

Description

Create key alias

Creates an alias to identify key in Amazon KMS

Create KMS Key

Creates a key in Amazon KMS

Decrypt data

Decrypts ciphertext back into plaintext using a specified key in Amazon KMS

Delete KMS alias

Deletes a specific alias from Amazon KMS

Describe KMS key

Retrieves metadata about a specified key in Amazon KMS

Encrypt data

Encrypts plaintext into ciphertext using a specified key in Amazon KMS

List KMS aliases

Lists all aliases in the caller's AWS account and region associated with Amazon KMS

List KMS keys

Lists all customer master keys (CMKs) in the caller's AWS account and region in Amazon KMS

Schedule key deletion

Schedules the deletion of a specified customer master key (CMK) in Amazon KMS