Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetUser (0.16 sec)

  1. cmd/site-replication.go

    		return nil, errSRPeerNotFound
    	}
    	return getAdminClient(endpoint, creds.AccessKey, creds.SecretKey)
    }
    
    func (c *SiteReplicationSys) getPeerCreds() (*auth.Credentials, error) {
    	u, ok := globalIAMSys.store.GetUser(c.state.ServiceAccountAccessKey)
    	if !ok {
    		return nil, errors.New("site replication service account not found")
    	}
    	return &u.Credentials, 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