teams
ImportantAs of Flowpipe 1.0.0,
credential
has been renamed toconnection
. Theteams
credential resource is deprecated and will be removed in a future version of Flowpipe. Use the teams connection instead.
The teams
credential can be used to access Microsoft Teams resources.
credential "teams" "my_teams" { access_token= "bfc6f1c4fakesdfdxxxx26fake977b2xxxsfsdfakef313c3d389126de0d"}
Arguments
Name | Type | Required? | Description |
---|---|---|---|
access_token | String | Optional | API token |
All arguments are optional, and a teams
credential with no arguments will behave the same as the default credential.
Attributes (Read-Only)
Attribute | Type | Description |
---|---|---|
env | Map | A map of the resolved credential-related environment variables (TEAMS_ACCESS_TOKEN ) |
Default Credential
The teams
credential type includes an implicit, default credential (credential.teams.default
) that will be configured to set the access_token
to the TEAMS_ACCESS_TOKEN
environment variable.
credential "teams" "default" { access_token = env("TEAMS_ACCESS_TOKEN")}