- Sort Score
- Num 10 results
- Language All
Results 91 - 98 of 98 for CreateUser (0.12 seconds)
-
helm-releases/minio-3.3.1.tgz
active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Dec 02 20:09:18 GMT 2021 - 14.6K bytes - Click Count (0) -
helm-releases/minio-3.1.7.tgz
active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Oct 03 22:23:22 GMT 2021 - 14.6K bytes - Click Count (0) -
helm-releases/minio-5.3.0.tgz
return 0 } # checkUserExists () # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { CMD=$(${MC} admin user info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1) return $? } # createUser ($policy) createUser() { POLICY=$1 #check accessKey_and_secretKey_tmp file if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 11 12:21:05 GMT 2024 - 21.7K bytes - Click Count (0) -
cmd/iam.go
iamLogIf(ctx, nerr.Err) } } } return nil } // CreateUser - create new user credentials and policy, if user already exists // they shall be rewritten with new inputs. func (sys *IAMSys) CreateUser(ctx context.Context, accessKey string, ureq madmin.AddOrUpdateUserReq) (updatedAt time.Time, err error) { if !sys.Initialized() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
cmd/signature-v4-utils_test.go
} ucreds, err := auth.CreateCredentials("myuser1", "mypassword1") if err != nil { t.Fatalf("unable create credential, %s", err) } _, err = globalIAMSys.CreateUser(ctx, ucreds.AccessKey, madmin.AddOrUpdateUserReq{ SecretKey: ucreds.SecretKey, Status: madmin.AccountEnabled, }) if err != nil { t.Fatalf("unable create credential, %s", err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 14.3K bytes - Click Count (0) -
cmd/kms-handlers_test.go
ctx := t.Context() createUserParams := madmin.AddOrUpdateUserReq{ SecretKey: secretKey, Status: madmin.AccountEnabled, } _, err := globalIAMSys.CreateUser(ctx, accessKey, createUserParams) if err != nil { t.Fatal(err) } testKMSPolicyName := "testKMSPolicy" if p != "" { p = `{"Version":"2012-10-17","Statement":[` + p + `]}`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 22.3K bytes - Click Count (0) -
cmd/admin-handlers-users.go
if globalIAMSys.LDAPConfig.Enabled() { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL) return } updatedAt, err := globalIAMSys.CreateUser(ctx, accessKey, ureq) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 90.6K bytes - Click Count (0) -
cmd/site-replication.go
// (both sites must have LDAP disabled). if globalIAMSys.LDAPConfig.Enabled() { err = errIAMActionNotAllowed } else { _, err = globalIAMSys.CreateUser(ctx, change.AccessKey, userReq) } } } if err != nil { return wrapSRErr(err) } return nil } // PeerGroupInfoChangeHandler - copies group changes to local.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1)