Skip to main content
Version: 0.8

User Management

The Install topic includes details on configuring a single-sign-on (SSO) IDP for Kore which is strongly recommended as it avoids the need to manage local user authentication in Kore.

For information on types of Kore users and their privileges, see Users and privileges.

Adding users#

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 test@example.com -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 test@example.com [--password -]

See kore create user and kore create identity basicauth in the CLI reference for more details and options you can provide.

Adding an existing user to a team#

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 test@example.com -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.

Manage via CI Pipeline#

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: kore@appvia.iospec:  disabled: false  email: kore@appvia.io  username: kore@appvia.ioEOF
# Adding the user to one or more teamskore apply -f - <<EOF---apiVersion: org.kore.appvia.io/v1kind: TeamMembermetadata:  name: kore@appvia.iospec:  username: kore@appvia.io  teams: devs  roles: [admin]---apiVersion: org.kore.appvia.io/v1kind: TeamMembermetadata:  name: kore@appvia.iospec:  username: kore@appvia.io  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
Last updated on Jun 24, 2021