Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 180 for secretRef (0.14 sec)

  1. cmd/sftp-server_test.go

    func (s *TestSuiteIAM) SFTPInvalidServiceAccountPassword(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	accessKey, secretKey := mustGenerateCredentials(c)
    	err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	userReq := madmin.PolicyAssociationReq{
    		Policies: []string{"readwrite"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. cmd/tier.go

    			cfg.S3.AWSRoleWebIdentityTokenFile = creds.AWSRoleWebIdentityTokenFile
    		}
    		if creds.AccessKey != "" && creds.SecretKey != "" {
    			cfg.S3.AccessKey = creds.AccessKey
    			cfg.S3.SecretKey = creds.SecretKey
    		}
    	case madmin.Azure:
    		if creds.SecretKey != "" {
    			cfg.Azure.AccountKey = creds.SecretKey
    		}
    		if creds.AzSP.TenantID != "" {
    			cfg.Azure.SPAuth.TenantID = creds.AzSP.TenantID
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. docs/debugging/s3-check-md5/main.go

    	"io"
    	"log"
    	"net/url"
    	"os"
    	"path"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	endpoint, accessKey, secretKey string
    	minModTimeStr                  string
    	bucket, prefix                 string
    	debug                          bool
    	versions                       bool
    	insecure                       bool
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. docs/distributed/samples/myminio-iam-info-openid.zip

    ent":[{"Effect":"Allow","Action":["s3:PutObject"],"Resource":["arn:aws:s3:::*"]}]}} iam-assets/users.json {} iam-assets/groups.json {} iam-assets/svcaccts.json {"dillon-service-2":{"parent":"oCnAoSQFtdVQtKwrB73j","accessKey":"dillon-service-2","secretKey":"dillon-service-2","groups":null,"claims":{"accessKey":"dillon-service-2","at_hash":"LL4jvrkBRNQhOKiC83RL","aud":"minio-client-app","c_hash":"fjGB4ldChsaf9vSFdZ1P","email":"******@****.***","email_verified":true,"groups":["projecta","projectb...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-config.go

    	contentType := r.Header.Get("Content-Type")
    	if contentType != "application/octet-stream" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    	reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL)
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users-race_test.go

    	}
    
    	userCount := 50
    	accessKeys := make([]string, userCount)
    	secretKeys := make([]string, userCount)
    	for i := 0; i < userCount; i++ {
    		accessKey, secretKey := mustGenerateCredentials(c)
    		err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    		if err != nil {
    			c.Fatalf("Unable to set user: %v", err)
    		}
    
    		userReq := madmin.PolicyAssociationReq{
    			Policies: []string{policy},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. docs/batch-jobs/README.md

      source:
    	type: TYPE # valid values are "minio"
    	bucket: BUCKET
    	prefix: PREFIX
    	# NOTE: if source is remote then target must be "local"
    	# endpoint: ENDPOINT
    	# credentials:
    	#   accessKey: ACCESS-KEY
    	#   secretKey: SECRET-KEY
    	#   sessionToken: SESSION-TOKEN # Available when rotating credentials are used
    
      # target where the objects must be replicated
      target:
    	type: TYPE # valid values are "minio"
    	bucket: BUCKET
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    }
    
    type siteReplicatorCred struct {
    	secretKey string
    	sync.RWMutex
    }
    
    // Get or attempt to load site replicator credentials from disk.
    func (s *siteReplicatorCred) Get(ctx context.Context) (string, error) {
    	s.RLock()
    	secretKey := s.secretKey
    	s.RUnlock()
    
    	if secretKey != "" {
    		return secretKey, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  9. cmd/iam.go

    	for k, v := range opts.claims {
    		_, ok := m[k]
    		if !ok {
    			m[k] = v
    		}
    	}
    
    	var accessKey, secretKey string
    	var err error
    	if len(opts.accessKey) > 0 || len(opts.secretKey) > 0 {
    		accessKey, secretKey = opts.accessKey, opts.secretKey
    	} else {
    		accessKey, secretKey, err = auth.GenerateCredentials()
    		if err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    	return calculateSignatureV2(stringToSign, cred.SecretKey)
    }
    
    // Return the signature v2 of a given request.
    func signatureV2(cred auth.Credentials, method string, encodedResource string, encodedQuery string, headers http.Header) string {
    	stringToSign := getStringToSignV2(method, encodedResource, encodedQuery, headers, "")
    	signature := calculateSignatureV2(stringToSign, cred.SecretKey)
    	return signature
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top