Skip to main content

Secret Management Setup

Overview

Our platform supports two options for secret management:

  • HashiCorp Vault
  • Google Secret Manager

Both services are used for:

  • Secrets management
  • Encryption key storage
  • Secure credentials handling
  • Private key management

Deployment Options

Google Secret Manager Setup

  1. Enable the Secret Manager API

    • Go to Google Cloud Console
    • Navigate to Secret Manager
    • Enable the Secret Manager API for your project
  2. Create Service Account

    • Navigate to IAM & Admin > Service Accounts
    • Create a new service account
    • Grant the following roles:
      • Secret Manager Admin
  3. Download Credentials

    • Create and download a JSON key for the service account
    • Keep this file secure - you'll need it during platform installation
tip

Google Secret Manager provides:

  • Fully managed service
  • Automatic replication
  • Fine-grained IAM controls
  • Audit logging

Helm Chart Values:

# values.yaml for Helm installation
googleSecretManager:
# -- Enable Google Secret Manager integration
enabled: true
# -- The Google Cloud project ID
projectId: "your-project-id"
# -- The Google Cloud service account credentials JSON
credentials: |
{
// Your service account JSON key
}

:::

tip

Make sure to:

  1. Enable Google Secret Manager in your Helm values
  2. Use the same project ID and credentials as in your platform configuration
  3. Properly format the service account JSON credentials

Information Collection

Validation

Test your secret management configuration:

# Set environment variables
export GOOGLE_APPLICATION_CREDENTIALS="path/to/service-account.json"
export PROJECT_ID="your-project-id"

# Verify access
gcloud secrets list --project=$PROJECT_ID

Troubleshooting

Common issues and solutions:

  1. Google Secret Manager Issues

    • Verify service account permissions
    • Check credentials file format
    • Confirm API is enabled
    • Validate project ID
  2. Vault Issues

    • Verify Vault address
    • Check network access
    • Confirm TLS settings
    • Validate namespace (HCP)

Next Steps

  1. ✅ Set up secret management service
  2. ✅ Configure authentication
  3. ➡️ Proceed to Metrics and Logs Setup
Need Help?

Contact [email protected] if you encounter any issues.