Skip to main content

astroctl integrations huggingface

Manage the Hugging Face integration

Synopsis​

Connect a read-only Hugging Face token to the active organization.

Once connected, any Application whose model source points at a gated hf:// repository works without a per-application Secret: AstroPulse stores the token encrypted, and the cluster's agent materializes it for each model. Without it, a gated model can be read only if the cluster's model-serving add-on names a Secret.

Terminal
astroctl integrations huggingface [flags]

Examples​

Terminal

# Connect (the token is read from stdin so it never lands in shell history)
echo "$HF_TOKEN" | astroctl integrations huggingface connect --token-stdin

# Show whether a token is connected and its last four characters
astroctl integrations huggingface status

# Disconnect
astroctl integrations huggingface disconnect

Options​

Terminal
-h, --help help for huggingface

Options inherited from parent commands​

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

SEE ALSO​