Skip to main content

pw auth apikey

Authenticate the CLI with an API key

Synopsis

After you enter pw auth apikey, the CLI will prompt you to paste your API key on a new line.

You can create a new API key on ACTIVATE by going to Account > Authentication > API Keys. For more information about these steps, please see this page.

When creating an API key, you can choose whether your key will expire in 7, 30, 60, or 90 days. Shorter expiration periods are more secure.

Alternatively, you can authenticate with a short-term token. Please see pw auth token for more information.

pw auth apikey [flags]

Options inherited from parent commands

  -v, --verbose   Enable verbose logging

SEE ALSO