Skip to content

senf profile [command] [options]

Creating or updating a profile

senf profile set <profile-name> --username <backend-username> --api-url <backend-url> --ssh-key <key-path>

Executing this command will add the profile and SenfCLI will try to authenticate with the backend to verify the settings.

Updating a profile is simply done by overriding an existing profile with the same command

Example

senf profile set personal --username KaenguruuDev --api-url https://senf.kaenguruu.dev --ssh-key ~/.ssh/senf

Deleting a profile

senf profile delete <profile-name>

Executing this command will remove all references to this profile. This means that any existing projects must be re-configured to use a different profile before senf push and senf pull can be executed.

If the profile was set as default, creating a new project will require the --user-profile option or setting a new default beforehand.