Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 204 of 204 for secret_key (0.06 sec)

  1. cmd/iam-object-store.go

    	err := iamOS.loadIAMConfig(ctx, &u, getUserIdentityPath(user, userType))
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			return "", errNoSuchUser
    		}
    		return "", err
    	}
    	return u.Credentials.SecretKey, nil
    }
    
    func (iamOS *IAMObjectStore) loadUserIdentity(ctx context.Context, user string, userType IAMUserType) (UserIdentity, error) {
    	var u UserIdentity
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	}
    	bootstrapTrace("globalMinioClient", func() {
    		globalMinioClient, err = minio.New(globalLocalNodeName, &minio.Options{
    			Creds:     credentials.NewStaticV4(globalActiveCred.AccessKey, globalActiveCred.SecretKey, ""),
    			Secure:    globalIsTLS,
    			Transport: globalRemoteTargetTransport,
    			Region:    region,
    		})
    		logger.FatalIf(err, "Unable to initialize MinIO client")
    	})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  3. cmd/storage-rest-server.go

    func validateStorageRequestToken(token string) error {
    	claims := xjwt.NewStandardClaims()
    	if err := xjwt.ParseWithStandardClaims(token, claims, []byte(globalActiveCred.SecretKey)); err != nil {
    		return errAuthentication
    	}
    
    	owner := claims.AccessKey == globalActiveCred.AccessKey || claims.Subject == globalActiveCred.AccessKey
    	if !owner {
    		return errAuthentication
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    	// 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(),
    	})
    	if err != nil {
    		return nil, err
    	}
    	core.SetAppInfo("minio-federated", ReleaseTag)
    	return core, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top