ks member add

ks member add

Adds members to the current project

Synopsis

Adds members to the current project.

Passed arguments are a list of member ids, which users can obtain using ks whoami.

Added members will be able to access secrets after a ks source.

ks member add <member-id>... [flags]

Examples

# Add a list of members:
ks member add john.doe@gitlab danny54@github helena@gitlab

# Add members and defining their roles from the command line:
ks member add -r developer -u john.doe@gitlab -u danny54@gitlab

# Add members with their roles from a file:
ks member add --from-file team.yaml

Options

      --from-file string   yaml file to import a known list of members
  -h, --help               help for add
  -r, --role string        role to set users, when not using the prompt
  -u, --user strings       user to add, when not using the prompt

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --debug           debug output
      --env string      environment to use instead of the current one
  -q, --quiet           make the output machine readable
  -s, --skip            skip prompts and use default

SEE ALSO

Auto generated by spf13/cobra on 12-Jan-2023

Edit this page on GitHub