mastodon

The mastodon credential can be used to access Mastodon resources.

credential "mastodon" "mastodon_creds" {
server = "https://myserver.social"
access_token = "FK1_fake-token"
}

Arguments

NameTypeRequired?Description
serverStringOptionalThe federated server your account lives
access_tokenStringOptionalMastodon access token

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