servicenow

Important

As of Flowpipe 1.0.0, credential has been renamed to connection. The servicenow credential resource is deprecated and will be removed in a future version of Flowpipe. Use the servicenow connection instead.

The servicenow credential can be used to access ServiceNow resources.

credential "servicenow" "snow_creds" {
instance_url = "https://my-instance.service-now.com"
username = "john.hill"
password = "fake-p@ss"
}

Arguments

NameTypeRequired?Description
instance_urlStringOptionalYour ServiceNow instance URL
usernameStringOptionalServiceNow username
passwordStringOptionalServiceNow app password

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

Default Credential

The servicenow credential type includes an implicit, default credential (credential.servicenow.default) that will be configured using the environment variables SERVICENOW_INSTANCE_URL, SERVICENOW_USERNAME, and SERVICENOW_PASSWORD.

credential "servicenow" "default" {
instance_url = env("SERVICENOW_INSTANCE_URL")
username = env("SERVICENOW_USERNAME")
password = env("SERVICENOW_PASSWORD")
}