- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 43 for UserName (0.29 sec)
-
cmd/sts-handlers_test.go
if err != nil { c.Fatalf("bucket create error: %v", err) } // Create policy policy := "mypolicy-username" policyBytes := []byte(`{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:*" ], "Resource": [ "arn:aws:s3:::${aws:username}-*" ] } ] }`) err = s.adm.AddCannedPolicy(ctx, policy, policyBytes) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 85.7K bytes - Viewed (0) -
internal/config/notify/legacy.go
Value: cfg.QueueDir, }, config.KV{ Key: target.ElasticQueueLimit, Value: strconv.Itoa(int(cfg.QueueLimit)), }, config.KV{ Key: target.ElasticUsername, Value: cfg.Username, }, config.KV{ Key: target.ElasticPassword, Value: cfg.Password, }, } return nil } // SetNotifyRedis - helper for config migration from older config.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 19 04:37:54 GMT 2024 - 13.1K bytes - Viewed (0) -
src/archive/tar/writer.go
fmtNum(v7.mode(), hdr.Mode) fmtNum(v7.uid(), int64(hdr.Uid)) fmtNum(v7.gid(), int64(hdr.Gid)) fmtNum(v7.size(), hdr.Size) fmtNum(v7.modTime(), modTime.Unix()) ustar := tw.blk.toUSTAR() fmtStr(ustar.userName(), hdr.Uname) fmtStr(ustar.groupName(), hdr.Gname) fmtNum(ustar.devMajor(), hdr.Devmajor) fmtNum(ustar.devMinor(), hdr.Devminor) return &tw.blk }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
cmd/iam-store.go
type iamCache struct { updatedAt time.Time // map of policy names to policy definitions iamPolicyDocsMap map[string]PolicyDoc // map of regular username to credentials iamUsersMap map[string]UserIdentity // map of regular username to policy names iamUserPolicyMap *xsync.MapOf[string, MappedPolicy] // STS accounts are loaded on demand and not via the periodic IAM reload.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Apr 27 10:04:10 GMT 2024 - 75.2K bytes - Viewed (2) -
internal/config/identity/ldap/ldap.go
if err = l.LDAP.LookupBind(conn); err != nil { return "", err } // Check if the passed in username is a valid DN. if !l.ParsesAsDN(username) { // We consider it as a login username and attempt to check it exists in // the directory. bindDN, err := l.LDAP.LookupUserDN(conn, username) if err != nil { if strings.Contains(err.Error(), "User DN not found for") { return "", nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 9.9K bytes - Viewed (0) -
cmd/admin-handlers-idp-ldap.go
// We still need to ensure that the target user is a valid LDAP user. // // The target user may be supplied as a (short) username or a DN. // However, for now, we only support using the short username. isDN := globalIAMSys.LDAPConfig.ParsesAsDN(targetUser) opts.claims[ldapUserN] = targetUser // simple username targetUser, targetGroups, err = globalIAMSys.LDAPConfig.LookupUserDN(targetUser) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 13.3K bytes - Viewed (0) -
cmd/iam.go
var parentUsers []string // Map of LDAP user to list of active credential objects parentUserToCredsMap := make(map[string][]auth.Credentials) // DN to ldap username mapping for each LDAP user parentUserToLDAPUsernameMap := make(map[string]string) for _, cred := range allCreds { // Expired credentials don't need parent user updates. if cred.IsExpired() { continue
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 71.1K bytes - Viewed (1) -
cmd/iam-object-store.go
regUsersList := listedConfigItems[usersListKey] for _, item := range regUsersList { userName := path.Dir(item) if err := iamOS.loadUser(ctx, userName, regUser, cache.iamUsersMap); err != nil && err != errNoSuchUser { return fmt.Errorf("unable to load the user `%s`: %w", userName, err) } } bootstrapTraceMsg("loading regular IAM groups") groupsList := listedConfigItems[groupsListKey]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 19.9K bytes - Viewed (0) -
internal/event/target/nats_contrib_test.go
opts.Port = 14223 opts.Username = "testminio" opts.Password = "miniotest" s := natsserver.RunServer(&opts) defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true, Address: xnet.Host{ Name: "localhost", Port: (xnet.Port(opts.Port)), IsPortSet: true, }, Subject: "test", Username: opts.Username, Password: opts.Password, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 2.3K bytes - Viewed (0) -
internal/event/target/kafka_scram_client_contrib.go
// factory receiver. This constructor will normalize the username, password // and authzID via the SASLprep algorithm, as recommended by RFC-5802. If // SASLprep fails, the method returns an error. func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) { x.Client, err = x.HashGeneratorFcn.NewClient(userName, password, authzID) if err != nil { return err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Nov 09 04:04:01 GMT 2023 - 3.2K bytes - Viewed (1)