Skip to main content

astroctl integrations huggingface connect

Connect a Hugging Face token to this organization

Synopsis​

Store a read-only Hugging Face user access token (hf_...) for the active organization, replacing any previously connected token.

The token is always checked with Hugging Face first and stored only if Hugging Face accepts it. When Hugging Face cannot be reached, nothing is saved.

Prefer --token-stdin: a token passed with --token is visible in your shell history and process list.

Terminal
astroctl integrations huggingface connect [flags]

Examples​

Terminal

# From stdin (recommended)
echo "$HF_TOKEN" | astroctl integrations huggingface connect --token-stdin

# From a flag (lands in shell history)
astroctl integrations huggingface connect --token hf_...

Options​

Terminal
-h, --help help for connect
--token string Hugging Face user access token (prefer --token-stdin)
--token-stdin Read the token from stdin

Options inherited from parent commands​

Terminal
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​