Files
opentf/website/docs/cli/auth/index.mdx
2024-07-23 09:55:58 +01:00

26 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: >-
Documentation about the login and logout commands that help automate getting
an API token for your cloud backend account.
---
# CLI Authentication
[TACOS](../../intro/tacos.mdx) (TF Automation and Collaboration Software) are platforms that perform as part of their
offering OpenTofu runs to provision infrastructure, offering a collaboration-focused
environment that makes it easier for teams to use OpenTofu together.
OpenTofu CLI integrates with [TACOS](../../intro/tacos.mdx) in several ways — it can be a
front-end for CLI-driven runs, and can also use some [TACOS](../../intro/tacos.mdx) as a state backend, a private module
registry, or a private provider registry. All of these integrations require you to authenticate OpenTofu CLI
with your [TACOS](../../intro/tacos.mdx) account.
The best way to handle CLI authentication is with the `login` and `logout`
commands, which help automate the process of getting an API token for your
[TACOS](../../intro/tacos.mdx) user account.
For details, see:
- [The `tofu login` command](../commands/login.mdx)
- [The `tofu logout` command](../commands/logout.mdx)