Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddServiceAccount (0.07 sec)

  1. cmd/iam.go

    		if err := validateSvcExpirationInUTC(expirationInUTC); err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    		cred.Expiration = expirationInUTC
    	}
    
    	updatedAt, err := sys.store.AddServiceAccount(ctx, cred)
    	if err != nil {
    		return auth.Credentials{}, time.Time{}, err
    	}
    
    	sys.notifyForServiceAccount(ctx, cred.AccessKey)
    	return cred, updatedAt, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top