slack

Important

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

The slack credential can be used to access Slack resources.

Arguments

NameTypeRequired?Description
tokenStringOptionalAn API token for slack.

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

Attributes (Read-Only)

AttributeTypeDescription
envMapA map of the resolved credential-related environment variables (SLACK_TOKEN)

Default Credential

The Slack credential type includes an implicit, default credential (credential.slack.default) that will be configured to set the token to the SLACK_TOKEN environment variable.

Examples

Static Credentials

Using Slack Credentials in HTTP Step