Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetTempUser (0.14 sec)

  1. cmd/site-replication.go

    		if err != nil {
    			return fmt.Errorf("unable to query LDAP server for %s: %w", ldapUser, err)
    		}
    
    		cred.Groups = ldapGroups
    	}
    
    	// Set these credentials to IAM.
    	if _, err := globalIAMSys.SetTempUser(ctx, cred.AccessKey, cred, stsCred.ParentPolicyMapping); err != nil {
    		return fmt.Errorf("unable to save STS credential and/or parent policy mapping: %w", err)
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top