Skip to main content

Conjur Cloud Integration

GGScout supports integration with Conjur Cloud to collect and monitor your secrets. This guide will help you set up and configure the integration.

Supported Features

  • Multiple secret versions collection
  • CyberArk authentication
  • Tenant-specific configuration
  • Subdomain support

Configuration

To configure GGScout to work with Conjur Cloud, add the following configuration to your ggscout.toml file:

CyberArk Authentication

[sources.conjur]
type = "conjurcloud"
auth_mode = "cyberark"
conjur_url = "${CONJUR_URL}"
client_id = "${CYBERARK_CLIENT_ID}"
client_secret = "${CYBERARK_CLIENT_SECRET}"
tenant_id = "${CYBERARK_TENANT_ID}"
subdomain = "my-company"
fetch_all_versions = true
mode = "read"

Workload Authentication

[sources.conjur]
type = "conjurcloud"
auth_mode = "workload"
api_key = "${CONJUR_API_KEY}"
login = "${CONJUR_LOGIN}"
subdomain = "my-company"
fetch_all_versions = true
mode = "read"

Configuration Parameters

ParameterDescriptionRequiredDefault Value
typeMust be set to "conjurcloud"Yes
auth_modeAuthentication mode (one of: "cyberark", "workload")Yes
subdomainYour company's subdomainYes
fetch_all_versionsWhether to collect all versions of secretsYes
modeIntegration mode (one of: "read", "write", "read/write")No"read"

With additional parameters depending on the chosen authentication mode:

For CyberArk Authentication:

ParameterDescriptionRequiredDefault Value
client_idThe client ID for authenticationYes
client_secretThe client secret for authenticationYes
tenant_idThe tenant IDYes

For Workload Authentication:

ParameterDescriptionRequiredDefault Value
api_keyYour Conjur API keyYes
loginYour Conjur loginYes

Authentication

GGScout supports authentication with Conjur Cloud through:

  1. CyberArk Integration: Using client ID and secret
  2. Environment Variables: Using standard Conjur environment variables

Environment Variables

  • CONJUR_URL: The Conjur Cloud URL

For CyberArk Authentication:

  • CYBERARK_CLIENT_ID: Your CyberArk client ID
  • CYBERARK_CLIENT_SECRET: Your CyberArk client secret
  • CYBERARK_TENANT_ID: Your CyberArk tenant ID

For Workload Authentication:

  • CONJUR_API_KEY: Your Conjur API key
  • CONJUR_LOGIN: Your Conjur login

Best Practices

  1. Use environment variables for sensitive credentials
  2. Follow the principle of least privilege for access policies
  3. Enable fetch_all_versions to track changes in your secrets over time
  4. Regularly rotate client secrets
  5. Use separate subdomains for different environments
  6. Implement proper secret rotation policies