Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for loadSecretKey (0.12 sec)

  1. cmd/site-replication.go

    	s.RLock()
    	secretKey := s.secretKey
    	s.RUnlock()
    
    	if secretKey != "" {
    		return secretKey, nil
    	}
    
    	secretKey, err := globalIAMSys.store.loadSecretKey(ctx, siteReplicatorSvcAcc, svcUser)
    	if err != nil {
    		return "", err
    	}
    	s.Set(secretKey)
    	return secretKey, nil
    }
    
    func (s *siteReplicatorCred) Set(secretKey string) {
    	s.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top