The zendesk credential can be used to access Zendesk resources.

credential "zendesk" "my_zendesk" {
subdomain = "dmi"
email = "pam@dmi.com"
token = "17ImlCYdfThisIsFakepJn1fi1pLwVdrb21114"


subdomainStringOptionalThe subdomain name of your Zendesk account.
emailStringOptionalEmail address of agent user who have permission to access the API.
tokenStringOptionalAPI Token for your Zendesk instance.

All arguments are optional, and a zendesk credential with no arguments will behave the same as the default credential.

Default Credential

The zendesk credential type includes an implicit, default credential (credential.zendesk.default) that will be configured to set defaults using the environment variables ZENDESK_EMAIL, ZENDESK_SUBDOMAIN, and ZENDESK_API_TOKEN.

credential "zendesk" "default" {
subdomain = env("ZENDESK_SUBDOMAIN")
email = env("ZENDESK_EMAIL")
token = env("ZENDESK_API_TOKEN")