Skip to the page

rykloud mail service-accounts

Identities for machines (CI, a deploy), with short-lived tokens

A service account is an identity of the account for a machine, with its own scopes, domains, address allowlist and expiry. Its secrets do one thing: exchange for an access token of at most an hour (rykloud mail service-accounts token), used as RYKLOUD_MAIL_TOKEN. A service account is named by its name or id.

Also: sa

Examples
rykloud mail service-accounts create ci --scope mail:send --domain northwind.example --output-file ci.secret
RYKLOUD_MAIL_TOKEN=$(rykloud mail service-accounts token --secret-file ci.secret) rykloud mail send ...

Commands

Every command also takes the global flags.