For information on types of Kore users and their privileges, see Users and privileges.
If you are using an SSO IDP, users in your organisation will be able to log in to Kore directly. Existing team users can invite other users directly to those teams, even if they have not logged in to Kore before, using an invite link.
If you are not using an SSO IDP, or want to add an additional non-SSO user, you can do this from the CLI, with two steps:
kore create user firstname.lastname@example.org -E# Add a basic auth identity to the user. Add '--password -' to # accept a password on stdin, else you will be prompted for the # password.kore create identity basicauth -u email@example.com [--password -]
You can add existing users, SSO or local, to a team using the kore create member CLI command or via the team's Members page on the UI.
kore create member -u firstname.lastname@example.org -t devteam
If the user does not already exist, the CLI can generate an invite link or you can find the invite link on the team Members page.
Like everything in Kore, all things are resources and can be managed within the confines of a traditional pipeline.
Here's an example of how you might define a user and its membership to one or more teams from YAML files:
kore apply -f - <<EOF---apiVersion: org.kore.appvia.io/v1kind: Usermetadata: name: email@example.com: disabled: false email: firstname.lastname@example.org username: email@example.comEOF # Adding the user to one or more teamskore apply -f - <<EOF---apiVersion: org.kore.appvia.io/v1kind: TeamMembermetadata: name: firstname.lastname@example.org: username: email@example.com teams: devs roles: [admin]---apiVersion: org.kore.appvia.io/v1kind: TeamMembermetadata: name: firstname.lastname@example.org: username: email@example.com teams: prod roles: [member]EOF # View the membership of the user$ kore whoami # Or from context of the team$ kore get members -t dev$ kore get members -t prod