Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stsAccounts (0.11 sec)

  1. cmd/iam-store.go

    	cache := store.rlock()
    	defer store.runlock()
    
    	var stsAccounts []auth.Credentials
    	for _, u := range cache.iamSTSAccountsMap {
    		v := u.Credentials
    		if accessKey != "" && v.ParentUser == accessKey {
    			if v.IsTemp() {
    				// Hide secret key & session key here
    				v.SecretKey = ""
    				v.SessionToken = ""
    				stsAccounts = append(stsAccounts, v)
    			}
    		}
    	}
    
    	return stsAccounts, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    		return
    	}
    
    	infoResp := madmin.TemporaryAccountInfoResp{
    		ParentUser:    stsAccount.ParentUser,
    		AccountStatus: stsAccount.Status,
    		ImpliedPolicy: sessionPolicy == nil,
    		Policy:        string(policyJSON),
    		Expiration:    &stsAccount.Expiration,
    	}
    
    	data, err := json.Marshal(infoResp)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top