Skip to main content

Module token

Module token 

Source
Expand description

Clouds whose credential is an API token alone: whether a token still signs in, asked of the provider’s own account endpoint over HTTPS (no CLI to ask). DigitalOcean’s (digitalocean) and Linode’s (linode). What a refusal means to a user is the caller’s.

Modules§

digitalocean
DigitalOcean: GET /v2/account with the token.
linode
Linode (Akamai): GET /v4/account with the token.

Enums§

TokenError
Why a token wasn’t accepted.

Constants§

TOKEN_TIMEOUT
How long the provider may take to answer.