Skip to main content
Save my spot

Run workflows on self-deployed runtime

TL;DR

Run connector workflows on a self-deployed runtime: select the runtime, reference credentials from your secret store, and provide file inputs.

Your AI can read this via Docs MCPcurl -fsSL "https://docs.atlan.com/install-docs-mcp" | bashConnect
Did you know?

SDR requires additional enablement and licensing. Contact your Atlan representative for details.

When using Self-deployed Runtime mode of execution, source system credentials (secrets) are retrieved from the secret store configured as part of the SDR installation. This guide provides steps to configure workflows with Self-deployed Runtime and specify the secret details it uses during workflow execution.

Before you begin​

  • An active Self-deployed Runtime instance on your Atlan tenant
  • Your infrastructure team configured which secret store the SDR connects to during installation.
    • Depending on whether the required secrets have already been created, you need either knowledge of the secret paths/keys or read/write access to the secret store itself.

Set up SDR mode of execution​

When creating or editing a connector workflow in the Atlan UI:

  1. Set Extraction Method: Select Self-Deployed Runtime as the extraction method. This reveals two additional fields: Agent and Key Type.
  2. Select your SDR instance: From the Agent dropdown, select the Self-Deployed Runtime instance you want to run this workflow on.

Configure secrets for workflow execution​

Secrets flow: the workflow configuration in Atlan holds only the secret path and keys; at run time the connector app fetches the values from your secret store and connects to your source, so credential values never reach Atlan

Determine key type​

The secret store you configured during SDR installation determines whether you use Multi-Key or Single-Key references in your workflow configuration. The difference comes down to how your secret store organizes entries.

  • Multi-Key stores (for example, AWS Secrets Manager, HashiCorp Vault, Kubernetes Secrets) support storing multiple key-value pairs in a single secret entry. You can store all credentials for a workflow in one entry and reference individual keys for each field.
  • Single-Key stores (for example, GCP Secret Manager, Azure Key Vault, environment variables) map each entry to a single value. Each workflow field references a separate entry in the secret store.

Store sensitive fields in secret vault/manager​

You decide which fields in a workflow configuration are sensitive and which aren't. Sensitive fields reference a secret stored in your vault, while non-sensitive fields can be specified directly in the workflow configuration. At least one field (for example, password, token, or API key) must be stored as a secret.

Before configuring the workflow in Atlan, store the required credentials in your secret vault or manager. How you organize the entries depends on whether your store is Multi-Key or Single-Key.

Example: Oracle connector workflow​

Consider an Oracle workflow and you consider the following information to be sensitive: Host, Port, Username, and Password.

With a Multi-Key store, you create one top-level entry in the store, for example, Atlan/Workflows/Oracle/Oracle_UAT_DWH, and this entry contains the following key-value pairs:

{
"db_host": "oracle-db.example.com",
"db_port": "1521",
"db_user": "ATLAN_USER",
"db_password": "<password>"
}

Configure secret references in workflow configuration​

Store a credential in GCP Secret Manager (for example, BigQuery)

Store the connector credential in GCP Secret Manager before configuring the workflow:

gcloud secrets create <secret-name> --project=<project-id>
gcloud secrets versions add <secret-name> \
--data-file=path/to/service-account-key.json \
--project=<project-id>

The GCP service account configured in the secretstore section of your values.yaml must have the Secret Manager Secret Accessor role (roles/secretmanager.secretAccessor) to retrieve this secret at runtime.

  1. Select Key Type: Set the Key Type toggle to Multi Key. This reveals a new field: Secret Path/Name in Secret Manager.

  2. Set the secret path: Enter the top-level secret entry name in Secret Path/Name in Secret Manager: Atlan/Workflows/Oracle/Oracle_UAT_DWH.

  3. Sensitive fields: For fields that reference secrets, enter only the key from the secret entry:

    Workflow fieldValue (secret reference)
    Hostdb_host
    Portdb_port
    Usernamedb_user
    Passworddb_password
  4. Non-sensitive fields: For fields that don't contain sensitive information, enter the actual value directly:

    Workflow fieldValue (actual value)
    Service NameORCL
    Database NameUAT_DWH

Use environment variables as secret store​

With the Environment variables secret store (secretstores.local.env), each source credential is an environment variable in the app container. With SDR Orchestrator, you set the variables under container_env in config.yaml. See Install SDR for the configuration and its security considerations.

In the workflow form:

  1. Choose Self-Deployed Runtime and select your SDR.
  2. Set Key Type to Single Key.
  3. If a Secret Store field appears, choose Environment Variable based Injection.
  4. In the username and password fields, enter the variable names, not their values. For example, enter MSSQL_DB_USERNAME.
warning

With Key Type set to Multi Key, the form's default, the variable names aren't used and the connection fails. Multi Key works only if a single variable holds a JSON object of all fields and you enter that variable's name as the secret path.

  • Host and port are never looked up as secrets. Always enter their real values.
  • Variable names are case-sensitive and must match exactly.
  • Environment variables are fixed when a container is created. After you change container_env, restart SDR Orchestrator so it recreates the app containers.
  • If a variable is missing or misspelled, the variable name itself is sent as the value, so the source reports a login or authentication failure, not a secret store error. To list the variable names in the app container without printing their values, run docker exec <app-container> sh -c 'env | cut -d= -f1' (or podman exec).

When the workflow runs, SDR authenticates to the secret store, fetches the secret values using the references you provided in the workflow configuration, and uses them to connect to the source system.

Configure file inputs for workflow execution​

Some connector workflows need file inputs in addition to credentials, for example, a Kerberos keytab, a krb5.conf, or a TLS certificate. In SDR mode, each file field accepts three input forms, and you can pick a different form per file.

Three input forms​

  1. Upload via the Atlan UI. Click the upload icon next to the field and select the file. The file is stored on your Atlan tenant and delivered to SDR at workflow run time. Best for small, one-off files.

  2. Reference a key in your secret store. Enter the key name in the secret store you configured for the SDR (for example, atlan/workflows/hive/keytab). The value at that key must be the base64-encoded contents of the file. At run time, SDR fetches the value via Dapr, decodes it, and provides it to the workflow.

    note

    Most secret stores cap a single entry's value around 64 KB. For files that don't fit, use the object-store option.

  3. Reference a path in object storage. Enter the path using the objectstore:// scheme. The text after objectstore:// is the object key inside the bucket configured in your objectstore Dapr binding (set when you installed the SDR). At run time, SDR fetches the file from that location via Dapr.

Example: Object store path resolution​

Say your objectstore binding points to an AWS S3 bucket:

# objectstore.yaml: points at the customer's own S3 bucket
spec:
type: bindings.aws.s3
metadata:
- name: bucket
value: example-sdr-bucket

You've placed your Hive credential files under a folder of your choosing inside that bucket:

s3://example-sdr-bucket/
└── atlan-credentials/
└── hive/
├── krb5.conf
└── certificate.cer

In each connector workflow file field, type the object key (the path inside the bucket):

FieldValue to enter
Kerberos Config File (krb5.conf)objectstore://atlan-credentials/hive/krb5.conf
CA Certificate Fileobjectstore://atlan-credentials/hive/certificate.cer

At run time, SDR resolves each objectstore://<key> to s3://example-sdr-bucket/<key> and fetches the file via Dapr. The same pattern applies to GCS, Azure Blob, or any other Dapr-supported object store: the bucket or container comes from the binding, and the key comes from the workflow field.

How fields detect your input​

Each file field is a single text input with an upload icon. SDR routes based on what it receives. There's no separate toggle to set:

You provideSDR resolves it as
An uploaded fileThe file delivered from the Atlan tenant
Text starting with objectstore://A path in your object-store binding
Any other textA key in your secret store

You can mix forms freely within a single workflow. For example, on a Hive mTLS connection, you might upload the CA certificate via the Atlan UI, point at the client certificate with an objectstore:// path, and reference the client key as a key in your secret store. Each file lands in the storage that best fits its sensitivity and size.

If the value you provide doesn't match any of the three forms, or if SDR can't resolve it at run time (for example, the referenced secret-store key or objectstore:// path doesn't exist), the workflow run fails with an error.

Next steps​

After configuring the Self-deployed Runtime for workflow execution, return to your connector's setup guide and continue the workflow setup.

Verify runs after setup or agent migration​

After first setup, and after any agent migration or rename, check your first runs as described in Workflow hangs or finishes with no assets.