Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Ucred (0.05 sec)

  1. cmd/iam-store.go

    	for _, ui := range cache.iamUsersMap {
    		cred := ui.Credentials
    		// Only consider service account or STS credentials with
    		// non-empty session tokens.
    		if !(cred.IsServiceAccount() || cred.IsTemp()) ||
    			cred.SessionToken == "" {
    			continue
    		}
    
    		var (
    			err    error
    			claims map[string]interface{} = cred.Claims
    		)
    
    		if cred.IsServiceAccount() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    		STSCredential: &madmin.SRSTSCredential{
    			AccessKey:    cred.AccessKey,
    			SecretKey:    cred.SecretKey,
    			SessionToken: cred.SessionToken,
    			ParentUser:   cred.ParentUser,
    		},
    		UpdatedAt: updatedAt,
    	}))
    
    	ldapIdentityResponse := &AssumeRoleWithLDAPResponse{
    		Result: LDAPIdentityResult{
    			Credentials: cred,
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    			if u.Credentials.Status == auth.AccountOff {
    				return cred, false, ErrAccessKeyDisabled
    			}
    			return cred, false, ErrInvalidAccessKeyID
    		}
    		cred = u.Credentials
    	}
    
    	claims, s3Err := checkClaimsFromToken(r, cred)
    	if s3Err != ErrNone {
    		return cred, false, s3Err
    	}
    	cred.Claims = claims
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. cmd/iam.go

    			return auth.Credentials{}, time.Time{}, err
    		}
    	}
    	cred, err := auth.CreateNewCredentialsWithMetadata(accessKey, secretKey, m, secretKey)
    	if err != nil {
    		return auth.Credentials{}, time.Time{}, err
    	}
    	cred.ParentUser = parentUser
    	cred.Groups = groups
    	cred.Status = string(auth.AccountOn)
    	cred.Name = opts.name
    	cred.Description = opts.description
    
    	if opts.expiration != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. cmd/handler-utils.go

    	return nil
    }
    
    // Returns access credentials in the request Authorization header.
    func getReqAccessCred(r *http.Request, region string) (cred auth.Credentials) {
    	cred, _, _ = getReqAccessKeyV4(r, region, serviceS3)
    	if cred.AccessKey == "" {
    		cred, _, _ = getReqAccessKeyV2(r)
    	}
    	return cred
    }
    
    // Extract request params to be sent with event notification.
    func extractReqParams(r *http.Request) map[string]string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PutObjectFanOutAction,
    			ConditionValues: getConditionValues(r, "", cred),
    			BucketName:      bucket,
    			ObjectName:      object,
    			IsOwner:         globalActiveCred.AccessKey == cred.AccessKey,
    			Claims:          cred.Claims,
    		}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    		return false
    	}
    
    	u, err := url.Parse(r.Source.Endpoint)
    	if err != nil {
    		return err
    	}
    
    	cred := r.Source.Creds
    
    	c, err := miniogo.New(u.Host, &miniogo.Options{
    		Creds:        credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:       u.Scheme == "https",
    		Transport:    getRemoteInstanceTransport(),
    		BucketLookup: lookupStyle(r.Source.Path),
    	})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    			Location:  "",
    		},
    	}
    
    	value, err := assumeRole.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    
    	// Check that the LDAP sts cred is actually working.
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure:    s.secure,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    var getRemoteInstanceClient = func(r *http.Request, host string) (*miniogo.Core, error) {
    	cred := getReqAccessCred(r, globalSite.Region())
    	// In a federated deployment, all the instances share config files
    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: getRemoteInstanceTransport(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conversion.go

    		}
    		cred, err := buildSecretReference(ctx, tls.CertificateRefs[0], gw)
    		if err != nil {
    			return out, err
    		}
    		credNs := ptr.OrDefault((*string)(tls.CertificateRefs[0].Namespace), namespace)
    		sameNamespace := credNs == namespace
    		if !sameNamespace && !ctx.AllowedReferences.SecretAllowed(creds.ToResourceName(cred), namespace) {
    			return out, &ConfigError{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top