Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Muth (0.16 sec)

  1. cmd/iam.go

    	if !sys.Initialized() {
    		return auth.Credentials{}, time.Time{}, errServerNotInitialized
    	}
    
    	if parentUser == "" {
    		return auth.Credentials{}, time.Time{}, errInvalidArgument
    	}
    
    	if len(opts.accessKey) > 0 && len(opts.secretKey) == 0 {
    		return auth.Credentials{}, time.Time{}, auth.ErrNoSecretKeyWithAccessKey
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/iam-store.go

    		return updatedAt, errIAMActionNotAllowed
    	}
    
    	uinfo := newUserIdentity(auth.Credentials{
    		AccessKey: accessKey,
    		SecretKey: cred.SecretKey,
    		Status: func() string {
    			switch string(status) {
    			case string(madmin.AccountEnabled), string(auth.AccountOn):
    				return auth.AccountOn
    			}
    			return auth.AccountOff
    		}(),
    	})
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. internal/config/identity/ldap/ldap.go

    	if dsecs == "" {
    		return l.stsExpiryDuration, nil
    	}
    
    	d, err := strconv.Atoi(dsecs)
    	if err != nil {
    		return 0, auth.ErrInvalidDuration
    	}
    
    	dur := time.Duration(d) * time.Second
    
    	if dur < minLDAPExpiry || dur > maxLDAPExpiry {
    		return 0, auth.ErrInvalidDuration
    	}
    	return dur, nil
    }
    
    // ParsesAsDN determines if the given string could be a valid DN based on
    // parsing alone.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. cmd/admin-handlers-idp-ldap.go

    	}
    
    	listType := r.Form.Get("listType")
    	if listType != "sts-only" && listType != "svcacc-only" && listType != "" {
    		// default to both
    		listType = ""
    	}
    
    	var serviceAccounts []auth.Credentials
    	var stsKeys []auth.Credentials
    
    	if listType == "" || listType == "sts-only" {
    		stsKeys, err = globalIAMSys.ListSTSAccounts(ctx, targetAccount)
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    }
    
    func commonAddServiceAccount(r *http.Request) (context.Context, auth.Credentials, newServiceAccountOpts, madmin.AddServiceAccountReq, string, APIError) {
    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	"github.com/minio/console/api/operations"
    	consoleoauth2 "github.com/minio/console/pkg/auth/idp/oauth2"
    	consoleCerts "github.com/minio/console/pkg/certs"
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/config"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  7. cmd/object-handlers_test.go

    	"hash/crc32"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"path"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	ioutilx "github.com/minio/minio/internal/ioutil"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. cmd/utils.go

    	}
    
    	// Start the user auth flow. This page would present the login with
    	// email or LDAP option.
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, u.String(), nil)
    	if err != nil {
    		return "", fmt.Errorf("new request err: %v", err)
    	}
    	_, err = dexClient.Do(req)
    	// fmt.Printf("Do: %#v %#v\n", resp, err)
    	if err != nil {
    		return "", fmt.Errorf("auth url request err: %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	claims, err := auth.ExtractClaims(stsCred.SessionToken, secretKey)
    	if err != nil {
    		return fmt.Errorf("STS credential could not be verified: %w", err)
    	}
    
    	mapClaims := claims.Map()
    	expiry, err := auth.ExpToInt64(mapClaims["exp"])
    	if err != nil {
    		return fmt.Errorf("Expiry claim was not found: %v: %w", mapClaims, err)
    	}
    
    	cred := auth.Credentials{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  10. cmd/globals.go

    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/minio/internal/handlers"
    	"github.com/minio/minio/internal/kms"
    	"go.uber.org/atomic"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config/cache"
    	"github.com/minio/minio/internal/config/callhome"
    	"github.com/minio/minio/internal/config/compress"
    	"github.com/minio/minio/internal/config/dns"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top