You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Pull using a specific profile (overrides active)
396
+
inkeep pull --profile staging
397
+
398
+
# Quiet non-essential output for CI
399
+
inkeep pull --quiet
384
400
```
385
401
386
402
#### Batch Pull with `--all`
@@ -634,6 +650,78 @@ inkeep config list
634
650
-`--config <path>` - Path to configuration file
635
651
-`--config-file-path <path>` - Path to configuration file (deprecated, use --config)
636
652
653
+
### `inkeep profile`
654
+
655
+
Manage named CLI profiles for multiple remotes, credentials, and environments. Profiles are stored in `~/.inkeep/profiles.yaml`. A default `cloud` profile points to hosted endpoints.
656
+
657
+
```yaml
658
+
# ~/.inkeep/profiles.yaml
659
+
activeProfile: cloud
660
+
profiles:
661
+
cloud:
662
+
remote: cloud
663
+
credential: inkeep-cloud
664
+
environment: production
665
+
local:
666
+
remote:
667
+
manageApi: http://localhost:3002
668
+
manageUi: http://localhost:3000
669
+
runApi: http://localhost:3003
670
+
credential: inkeep-local
671
+
environment: development
672
+
```
673
+
674
+
**Subcommands:**
675
+
676
+
- `inkeep profile list` — Show all profiles and the active one.
677
+
- `inkeep profile add <name>`— Interactive creation for cloud or custom URLs; writes to `profiles.yaml`.
678
+
- `inkeep profile use <name>`— Switch the active profile.
679
+
- `inkeep profile current`— Show the active profile details and credential key.
680
+
- `inkeep profile remove <name>`— Delete a profile (cannot remove the active one).
681
+
682
+
**Examples:**
683
+
684
+
```bash
685
+
# Create a local profile and switch to it
686
+
inkeep profile add local
687
+
inkeep profile use local
688
+
689
+
# Inspect which profile is active
690
+
inkeep profile current
691
+
692
+
# List all profiles
693
+
inkeep profile list
694
+
695
+
# Remove an unused profile
696
+
inkeep profile remove staging
697
+
```
698
+
699
+
**How profiles are used:**
700
+
701
+
- `inkeep login --profile <name>`stores credentials under the profile’s credential key.
702
+
- Commands that talk to the APIs (`push`, `pull`, `status`, `login`, `logout`) honor `--profile <name>`; if omitted, the active profile is used.
703
+
- Each profile bundles remote URLs, an environment name, and a credential reference so you can move between cloud and self-hosted deployments without editing config files.
704
+
705
+
#### Using profiles with authenticated deployments
706
+
707
+
If your deployment requires authentication (cloud or self-hosted), run `inkeep login` for each profile so its credential slot in `profiles.yaml` has a token in the system keychain:
708
+
709
+
```bash
710
+
# Authenticate against your secured deployment
711
+
inkeep login --profile local
712
+
713
+
# Validate which profile is active before running commands
714
+
inkeep profile current
715
+
716
+
# Use the profile when pushing/pulling
717
+
inkeep push --profile local
718
+
inkeep pull --profile local
719
+
```
720
+
721
+
- The `credential` field in the profile is the key used to store the token; `login` writes to that key and `push/pull/status` read from it.
722
+
- Repeat `login --profile <name>` for every profile/remote you operate against.
723
+
- Use `inkeep logout --profile <name>` to clear a profile’s stored credentials if you need to rotate access.
724
+
637
725
### `inkeep add`
638
726
639
727
Pull a template project or MCP from the [Inkeep Agents Cookbook](https://github.com/inkeep/agents/tree/main/agents-cookbook).
0 commit comments