jf config import

Import a server configuration from a Config Token. Use a token produced by jf config export.

Synopsis

jf config import <config-token>

Aliases: jf c im

Arguments

ArgumentRequiredDescription
config-tokenYesThe Config Token from jf config export

Examples

Import a Configuration

Export a token from an existing server, then import it:

jf config import <config-token>

What Is a Config Token?

A Config Token is a base64-encoded string produced by jf config export. It contains the server URL, authentication credentials, and other settings in a portable format. You can share it across machines or team members to quickly replicate a server configuration.

Important Notes

  • Security: Config Tokens contain sensitive credentials (access tokens or passwords). Treat them like passwords — do not log them, commit them to source control, or share them over unencrypted channels.
  • One-time import: The token does not expire, but credentials inside it might. If the access token in the Config Token has expired, the imported configuration will not work — you'll need to update it with jf config edit or re-add with jf config add.
  • Encryption: If the source configuration was encrypted with JFROG_CLI_ENCRYPTION_KEY, the Config Token contains the encrypted values. The importing machine does not need the encryption key to import, but it will store the configuration in its own encryption context.

What’s Next

After importing, set the server as your default with jf config use.