HomeMogDBMogDB StackUqbar

Documentation:v2.0

Supported Versions:

Update MogDB Operator Users

Overview

The update mgouser allows you to update the mgo users. For example:

mgo update mgouser myuser --mgouser-roles=somerole
mgo update mgouser myuser --mgouser-password=somepassword --mgouser-roles=somerole
mgo update mgouser myuser --mgouser-password=somepassword --no-prompt
mgo update mgouser [flags]

Options

      --all-namespaces               Specify that this user will have access to all namespaces
  -h, --help                         Help information for update mgouser
      --mgouser-namespaces string   Specify a comma-separated list of namespaces for mgouser
      --mgouser-password string     Specify the password for mgouser
      --mgouser-roles string        Specify a comma-separated list of roles for mgouser
      --no-prompt                   No command line prompts

Options Inherited From The Parent Command

      --apiserver-url string      The URL of the mogDB Operator apiserver that will handle requests from the mgo client. please note that the URL should not end in "/"
      --debug                     Enable debug output for debugging
      --disable-tls               Disable TLS authentication for MogDB Operator
      --exclude-os-trust          Exclude CA certificates from the OS default trust store
      --k8s-node string          Specify k8s node, default local k8s node
      --mgo-ca-cert string       Connection to MogDB Operator apiserver CA certificate file path.
      --mgo-client-cert string   Path to the client certificate file used to authenticate to the MogDB Operator apiserver
      --mgo-client-key string    Path to the client key file used to authenticate to the MogDB Operator apiserver
  -n, --namespace string          Namespace for mgo requests

Copyright © 2011-2024 www.enmotech.com All rights reserved.