Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for sts (0.02 sec)

  1. cmd/sts-handlers_test.go

    			AccessKey: "dillon",
    			SecretKey: "dillon-123",
    			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),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. docs/site-replication/run-multi-site-oidc.sh

    sleep 5
    
    # Generate STS credential with STS call to minio1
    STS_CRED=$(MINIO_ENDPOINT=http://localhost:9001 go run ./docs/site-replication/gen-oidc-sts-cred.go)
    
    MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    fi
    
    sleep 2
    
    # Check that the STS credential works on minio2 and minio3.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. cmd/iam-object-store_test.go

    		{
    			"policydb/sts-users/uid=slash/user,ou=people,ou=swengg,dc=min,dc=io.json", true,
    			"policydb/sts-users/", "uid=slash/user,ou=people,ou=swengg,dc=min,dc=io.json",
    		},
    		{
    			"policydb/sts-users/uid=slash/user/twice,ou=people,ou=swengg,dc=min,dc=io.json", true,
    			"policydb/sts-users/", "uid=slash/user/twice,ou=people,ou=swengg,dc=min,dc=io.json",
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. cmd/admin-handlers-idp-ldap.go

    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    				return
    			}
    			for _, sts := range stsKeys {
    				accessKeys.STSKeys = append(accessKeys.STSKeys, madmin.ServiceAccountInfo{
    					AccessKey:  sts.AccessKey,
    					Expiration: &sts.Expiration,
    				})
    			}
    			// if only STS keys, skip if user has no STS keys
    			if !listServiceAccounts && len(stsKeys) == 0 {
    				continue
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		cache.iamUsersMap = newCache.iamUsersMap
    		// For STS policy map, we need to merge the new cache with the existing
    		// cache because the periodic IAM reload is partial. The periodic load
    		// here is to account for STS policy mapping changes that should apply
    		// for service accounts derived from such STS accounts (i.e. LDAP STS
    		// accounts).
    		newCache.iamSTSPolicyMap.Range(func(k string, v MappedPolicy) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  6. cmd/iam-object-store.go

    	svcAccListKey           = "service-accounts/"
    	groupsListKey           = "groups/"
    	policiesListKey         = "policies/"
    	stsListKey              = "sts/"
    	policyDBPrefix          = "policydb/"
    	policyDBUsersListKey    = "policydb/users/"
    	policyDBSTSUsersListKey = "policydb/sts-users/"
    	policyDBGroupsListKey   = "policydb/groups/"
    )
    
    func findSecondIndex(s string, substr string) int {
    	first := strings.Index(s, substr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    		// string containing a StringOrURI value
    		azpValues, ok := policy.GetValuesFromClaims(mclaims, azpClaim)
    		if !ok {
    			return errors.New("STS JWT Token has `azp` claim invalid, `azp` must match configured OpenID Client ID")
    		}
    		if !azpValues.Contains(pCfg.ClientID) {
    			return errors.New("STS JWT Token has `azp` claim invalid, `azp` must match configured OpenID Client ID")
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/iam.go

    // policy for the STS credential. The policy mapping can be updated by the
    // administrator.
    //
    // - from `Subject.CommonName` field from the STS request for
    // AssumeRoleWithCertificate. In this case, the policy for the STS credential
    // has the same name as the value of this field.
    //
    // - from special JWT claim from STS request for AssumeRoleWithOIDC API (when
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  9. cmd/warm-backend-s3.go

    		})
    	case conf.AWSRoleWebIdentityTokenFile != "" && conf.AWSRoleARN != "":
    		sessionName := conf.AWSRoleSessionName
    		if sessionName == "" {
    			// RoleSessionName has a limited set of characters (https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)
    			sessionName = "minio-tier-" + mustGetUUID()
    		}
    		s3WebIdentityIAM := credentials.IAM{
    			Client: &http.Client{
    				Transport: NewHTTPTransport(),
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. cmd/http-tracer.go

    	op = strings.Replace(op, "(*storageRESTServer)", "storageR", 1)
    	op = strings.Replace(op, "(*peerRESTServer)", "peer", 1)
    	op = strings.Replace(op, "(*lockRESTServer)", "lockR", 1)
    	op = strings.Replace(op, "(*stsAPIHandlers)", "sts", 1)
    	op = strings.Replace(op, "(*peerS3Server)", "s3", 1)
    	op = strings.Replace(op, "ClusterCheckHandler", "health.Cluster", 1)
    	op = strings.Replace(op, "ClusterReadCheckHandler", "health.ClusterRead", 1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top