Integrate Edge with a AWS Secrets Manager Vault

You can integrate your Edge site with your existing AWS Secrets Manager Vault to more easily and securely manage your data source information and set up your Edge site connections. In this topic, we review how to set up the integration between your Edge site and your existing vault.

You can integrate your Edge site with your AWS Secrets Manager using one of the following authentication methods:

Note 

IAM Access Key authentication

Prerequisites

On your local server

In your Collibra environment

In your vault platform

Steps

  1. In the cluster where your Edge site is installed, use the Edge CLI tool to run the command for the IAM access key authentication method.
    Copy
    sudo ./edgecli vault create aws key-secret <name> \
      --desc=<description> \
      --region=<region> \
      --endpointOverride=<endpointOverride> \
      --accessKeyId=<accessKeyId> \
      --accessKey=<accessKey>
    Copy
    ./edgecli vault create aws key-secret <name> \
      --desc=<description> \
      --region=<region> \
      --endpointOverride=<endpointOverride> \
      --accessKeyId=<accessKeyId> \
      --accessKey=<accessKey>
  2. Command Description
    <name> (required) The name of the vault instance. It is required and it must be unique within an Edge site. For Kubernetes guidelines on the required naming conventions of the <name> parameter, go to Labels and Selectors.
    Note The name can only contain alphanumeric, dash (-), underscore ( _ ), or period (.) characters. The name cannot include white spaces or special characters such as /, !, ?.
    <description> (optional) The description of the vault instance. The maximum character length is 150.
    <region> The region of the AWS Secrets Manager you want to use.
    Note Region is optional if your Edge site and AWS Secrets Manager are both located in the same AWS region.

    Region is required if:
    • You are using <endpointOverride>.
    • Your Edge site is on k3s and running in AWS.
    • Your Edge site is running in a different region than the AWS Secrets Manager you want to connect to.
    <endpointOverride> The URL of the entry point for your AWS Secrets Manager vault.
    Note <endpointOverride> is required if you use a private version of AWS for security purposes. For example, for FIPS, you would need to specify the FIPS endpoint: <protocol>"://://"<service-code>"-fips.<region>.amazonaws.com.

    Otherwise, Edge will use the default regional value: <protocol>://<service-code>.<region-code>.amazonaws.com
    <accessKeyId> (required) The ID of the IAM key you want to authenticate with.
    <accessKey> (required) The IAM key you want to authenticate with.
  3. Go to your Edge site to confirm the new vault is available in the Vaults tab.

Instance Profile authentication

Prerequisites

On your local server

In your Collibra environment

In your vault platform

Steps

  1. In the cluster where your Edge site is installed, use the Edge CLI tool to run the command for the Instance profile authentication method.
    Copy
    sudo ./edgecli vault create aws instance-profile <name> \
      --desc=<description> \
      --region=<region> \
      --endpointOverride=<endpointOverride>
    Copy
    ./edgecli vault create aws instance-profile <name> \
      --desc=<description> \
      --region=<region> \
      --endpointOverride=<endpointOverride>
    CommandDescription
    <name> (required)The name of the vault instance. It is required and it must be unique within an Edge site. For Kubernetes guidelines on the required naming conventions of the <name> parameter, go to Labels and Selectors.
    Note The name can only contain alphanumeric, dash (-), underscore ( _ ), or period (.) characters. The name cannot include white spaces or special characters such as /, !, ?.
    <description> (optional)The description of the vault instance. The maximum character length is 150.
    <region>The region of the AWS Secrets Manager you want to use.
    Note Region is optional if your Edge site and AWS Secrets Manager are both located in the same AWS region.

    Region is required if:
    • You are using <endpointOverride>.
    • Your Edge site is on k3s and running in AWS.
    • Your Edge site is running in a different region than the AWS Secrets Manager you want to connect to.
    <endpointOverride>The URL of the entry point for your AWS Secrets Manager.
    Note <endpointOverride> is required if you use a private version of AWS for security purposes. For example, for FIPS, you would need to specify the FIPS endpoint: <protocol>"://://"<service-code>"-fips."<region>".amazonaws.com.

    Otherwise, Edge will use the default regional value: "<protocol>"://"<service-code>"."<region-code>".amazonaws.com
  2. Go to your Edge site to confirm the new vault is available in the Vaults tab.

Assume Role authentication

Prerequisites

On your local server

In your Collibra environment

In your vault platform

Steps

  1. In the cluster where your Edge site is installed, use the Edge CLI tool to run the command for the Assume role authentication method.
    Copy
    sudo ./edgecli vault create aws assume-role <name> \
      --desc=<description> \
      --roleArn=<roleArn> \
      --roleSessionName=<roleSessionName> \
      --region=<region> \
      --endpointOverride=<endpointOverride>
    Copy
    ./edgecli vault create aws assume-role <name> \
      --desc=<description> \
      --roleArn=<roleArn> \
      --roleSessionName=<roleSessionName> \
      --region=<region> \
      --endpointOverride=<endpointOverride>
    CommandDescription
    <name> (required)The name of the vault instance. It is required and it must be unique within an Edge site. For Kubernetes guidelines on the required naming conventions of the <name> parameter, go to Labels and Selectors.
    Note The name can only contain alphanumeric, dash (-), underscore ( _ ), or period (.) characters. The name cannot include white spaces or special characters such as /, !, ?.
    <description> (optional)The description of the vault instance. The maximum character length is 150.
    <roleArn> (required)The Amazon Resource name of the role you want your Edge site to assume when accessing the AWS Secrets Manager secrets.
    Note In order for your Edge site to successfully assume this specified role, the Instance Profile role that is attached to the EKS cluster must be trusted by the target role.
    <roleSessionName> (optional)The name of the session you want this role to appear as in AWS security logs.
    <region>The region of the AWS Secrets Manager you want to use.
    Note Region is optional if your Edge site and AWS Secrets Manager are both located in the same AWS region.

    Region is required if:
    • You are using <endpointOverride>.
    • Your Edge site is on k3s and running in AWS.
    • Your Edge site is running in a different region than the AWS Secrets Manager you want to connect to.
    <endpointOverride>The URL of the entry point for your AWS Secrets Manager.
    Note <endpointOverride> is required if you use a private version of AWS for security purposes. For example, for FIPS, you would need to specify the FIPS endpoint: <protocol>"://://"<service-code>"-fips."<region>".amazonaws.com.

    Otherwise, Edge will use the default regional value: "<protocol>"://"<service-code>"."<region-code>".amazonaws.com
  2. Go to your Edge site to confirm the new vault is available in the Vaults tab.

What's next