montecarlo integrations add-self-hosted-credentials-v2 (CLI v1)

montecarlo integrations add-self-hosted-credentials-v2 is a command of v1 of the Monte Carlo CLI, the Python CLI (montecarlodata), in the montecarlo integrations group.

Setup an integration that uses self-hosted credentials (v2).

montecarlo integrations add-self-hosted-credentials-v2 [OPTIONS]

Options

  • --connection-type <connection_type>: Required Connection type to test credentials for (e.g. 'snowflake'). Options: bigquery | redshift | snowflake | postgres | sql-server | mysql | oracle | mariadb | teradata | azure-dedicated-sql-pool | azure-sql-database | sap-hana | motherduck | dremio | salesforce-crm | salesforce-data-cloud | clickhouse | starburst-galaxy | starburst-enterprise | db2 | microsoft-fabric | hive-mysql | glue | databricks-metastore-sql-warehouse | power-bi | looker-git-clone | looker-git-ssh | looker | tableau | databricks-sql-warehouse.
  • --self-hosted-credentials-type <self_hosted_credentials_type>: Required Self-hosted credentials type (e.g. 'env_var', 'aws_secrets_manager'). Options: ENV_VAR | AWS_SECRETS_MANAGER | GCP_SECRET_MANAGER | AZURE_KEY_VAULT | FILE.
  • --decryption-service-type <decryption_service_type>: Optional type of service used to decrypt environment variable credentials (e.g. 'kms'). This option requires setting 'env-var-name'. Options: KMS.
  • --env-var-name <env_var_name>: Name of environment variable containing credentials. Must use prefix 'MCD_'. This option cannot be used with 'akv-secret', 'aws-secret', 'file-path', and 'gcp-secret'. This option requires setting 'self-hosted-credentials-type'.
  • --kms-key-id <kms_key_id>: Optional KMS key id for decrypting environment variable credentials. This option requires setting 'decryption-service-type'.
  • --aws-secret <aws_secret>: ARN or name of AWS Secret Manager secret containing credentials. This option cannot be used with 'akv-secret', 'env-var-name', 'file-path', and 'gcp-secret'. This option requires setting 'self-hosted-credentials-type'.
  • --gcp-secret <gcp_secret>: Name of GCP Secret Manager secret version containing credentials (e.g. 'projects/<project_id>/secrets/<secret_name>/versions/latest'). This option cannot be used with 'akv-secret', 'aws-secret', 'env-var-name', and 'file-path'. This option requires setting 'self-hosted-credentials-type'.
  • --akv-secret <akv_secret>: Name of the secret in the Azure Key Vault to use to retrieve credentials. This option cannot be used with 'aws-secret', 'env-var-name', 'file-path', and 'gcp-secret'. This option requires setting 'akv-vault-name', and 'self-hosted-credentials-type'.
  • --akv-vault-name <akv_vault_name>: Name of the Azure Key Vault used to retrieve the secret. This option requires setting 'akv-secret'.
  • --file-path <file_path>: Path to file containing credentials on the agent. This option cannot be used with 'akv-secret', 'aws-secret', and 'env-var-name'. This option requires setting 'self-hosted-credentials-type'.
  • --aws-region <aws_region>: Optional AWS region where secret manager secret is stored.
  • --assumable-role <assumable_role>: Optional ARN of AWS role to assume when accessing secret manager secret.
  • --external-id <external_id>: Optional external id for AWS role. This option requires setting 'assumable-role'.
  • --bq-project-id <bq_project_id>: Optional BigQuery project ID for running queries, defaulting to the service account's project. When omitted, the collector discovers all projects the service account can access. Setting it limits collection to that project.
  • --databricks-warehouse-id <databricks_warehouse_id>: Databricks SQL warehouse ID. Required for Databricks SQL warehouse connections with self-hosted credentials.
  • --name <name>: Friendly name for the warehouse.
  • --agent-id <agent_id>: ID for the agent. To disambiguate accounts with multiple agents. This option cannot be used with 'dc-id'.
  • --collector-id <dc_id>: ID for the data collector. To disambiguate accounts with multiple collectors. This option cannot be used with 'agent-id'.
  • --skip-validation: Skip all connection tests. This option cannot be used with 'validate-only'.
  • --validate-only: Run connection tests without adding. This option cannot be used with 'skip-validation'.
  • --auto-yes: Skip any interactive approval. Default: False.
  • --option-file <option_file>: Read configuration from FILE.

Source: montecarlo integrations add-self-hosted-credentials-v2 in the CLI reference

This page is generated from the CLI's help text on each release. Changes made in ReadMe are overwritten.


Did this page help you?