Secrets & Variables For Building Tools

As you build Kubiya tools, here are some of the environment variables and secrets you may need to define. This list can also be a useful resource when debugging tools that don't work.

Kubiya Environment Variables & Secrets Reference

Core Environment Variables

These environment variables are included in EVERY request

Environment Variable
Description

KUBIYA_USER_ORG

User organization identifier

KUBIYA_USER_EMAIL

User email address

KUBIYA_USER_AGENT_UUID

Agent UUID identifier


Message Origin Context

These environment variables are automatically included based on WHERE the request originated from

When Using Kubiya from Slack

Type
Name
Description

Environment Variable

SLACK_THREAD_TS

Timestamp of the Slack thread

Environment Variable

SLACK_CHANNEL_ID

ID of the Slack channel


Integration Secrets

These secrets are automatically sent when their respective integrations are enabled

Slack Integration

Type
Name
Description
User Token

🔒 Secret

SLACK_API_TOKEN

Slack API token

JIRA Integration

Type
Name
Description
User Token

🔒 Secret

JIRA_OAUTH_TOKEN

Current user Jira API token

GitHub Integration

Type
Name
Description
User Token

🔒 Secret

GH_TOKEN

Current user GitHub API token

Last updated