Secret Manager Setup for NextGen Dataplane

NextGen Dataplane Secret Manager Setup

NextGen Dataplane supports multiple secret management options to securely store and access sensitive data such as credentials and API keys. This guide covers the setup for Environment Driven Secrets, AWS Secret Manager, and GCP Secret Manager.

Standard Location for Secret Manager Configuration

  • Secrets should be provided in the following standard location for the analysis service and standalone configurations:
JSON
Copy

1. Environment Driven Secrets

Environment-driven secrets allow users to configure credentials directly through environment variables. This method is simple and effective for environments where secrets can be securely managed at the OS level.

Steps:

  1. Prepare the secretmanager.json with following content.
JSON
Copy

2. AWS Secret Manager

AWS Secret Manager provides a robust solution for managing and retrieving secrets securely. Follow the steps below to set up and configure AWS Secret Manager.

Steps:

a. Create a Secret in AWS Secret Manager. Refer Create an AWS Secret Manager Secret.

b. Prepare the secretmanager.json with following content.

JSON
Copy

3. GCP Secret Manager

Google Cloud Platform's Secret Manager is another secure option for managing secrets. Follow these steps to set up and configure GCP Secret Manager.

Steps:

a. Create a Secret in GCP Secret Manager. Refer Create a secret.

b. Prepare the secretmanager.json with following content.

JSON
Copy

c. When using GCP , ADOC have a consistent place for file-driven credentials.

JSON
Copy

Update the content.

Edit Secret gcp-cred and update with base64 content for key gcp_cred.json and value in base64 format.

JSON
Copy

Managing Multiple Secret Managers

If you have multiple secret managers, they can be configured in the same JSON file:

JSON
Copy

Applying Configuration

Edit Secret and update with base64 content for key secretmanager.json and value as base64 content

JSON
Copy
  • For Automatic Flow:

    1. Update the deployment config from the UI. Update the resources for analysis and standalone services with the modified values. It is to identify changes and implement
    2. Save and apply from the UI.
  • For Manual Flow:

    1. Update the deployment config from the UI. Update the resources for analysis and standalone services with the modified values. It is to identify changes and implement.
    2. Apply the patch using the manual HELM upgrade command.

Following the procedures outlined above allows you to securely manage and use secrets in NextGen Dataplane V2 via Environment Driven Secrets, AWS Secret Manager, or GCP Secret Manager. Choose the option that best meets your security needs and infrastructure.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard