Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for serviceAccounts (0.11 sec)

  1. cmd/admin-handlers-idp-ldap.go

    				continue
    			}
    		}
    
    		if listServiceAccounts {
    			serviceAccounts, err := globalIAMSys.ListServiceAccounts(ctx, internalDN)
    			if err != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    				return
    			}
    			for _, svc := range serviceAccounts {
    				accessKeys.ServiceAccounts = append(accessKeys.ServiceAccounts, madmin.ServiceAccountInfo{
    					AccessKey:  svc.AccessKey,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    				continue
    			}
    		}
    
    		if listServiceAccounts {
    			serviceAccounts, err := globalIAMSys.ListServiceAccounts(ctx, user)
    			if err != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    				return
    			}
    			for _, svc := range serviceAccounts {
    				accessKeys.ServiceAccounts = append(accessKeys.ServiceAccounts, madmin.ServiceAccountInfo{
    					AccessKey:  svc.AccessKey,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    			}
    		})
    		t.Run(dir.Name(), func(t *testing.T) {
    			createClientFunc := func(client kube.CLIClient) {
    				client.Kube().CoreV1().ServiceAccounts("bar").Create(context.Background(), &v1.ServiceAccount{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "vm-serviceaccount"},
    					Secrets:    []v1.ObjectReference{{Name: "test"}},
    				}, metav1.CreateOptions{})
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret.go

    }
    
    func secretReferencesServiceAccount(serviceAccount *v1.ServiceAccount, secret *v1.Secret) error {
    	if secret.Type != v1.SecretTypeServiceAccountToken ||
    		secret.Annotations[v1.ServiceAccountNameKey] != serviceAccount.Name {
    		return fmt.Errorf("secret %s/%s does not reference ServiceAccount %s",
    			secret.Namespace, secret.Name, serviceAccount.Name)
    	}
    	return nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret_test.go

    		},
    	}
    )
    
    const (
    	testNamespace          = "istio-system-test"
    	testServiceAccountName = "test-service-account"
    )
    
    func makeServiceAccount(secrets ...string) *v1.ServiceAccount {
    	sa := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testServiceAccountName,
    			Namespace: testNamespace,
    		},
    	}
    
    	for _, secret := range secrets {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

    		{
    			namespace: istioNamespace,
    			group:     "rbac.authorization.k8s.io",
    			version:   "v1",
    			resource:  "roles",
    		},
    		{
    			namespace: istioNamespace,
    			version:   "v1",
    			resource:  "serviceaccounts",
    		},
    		{
    			namespace: istioNamespace,
    			version:   "v1",
    			resource:  "services",
    		},
    		{
    			namespace: istioNamespace,
    			group:     "apps",
    			version:   "v1",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    	cache := store.rlock()
    	defer store.runlock()
    
    	var serviceAccounts []auth.Credentials
    	for _, u := range cache.iamUsersMap {
    		v := u.Credentials
    		if accessKey != "" && v.ParentUser == accessKey {
    			if v.IsServiceAccount() {
    				// Hide secret key & session key here
    				v.SecretKey = ""
    				v.SessionToken = ""
    				serviceAccounts = append(serviceAccounts, v)
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload.go

    		},
    	}
    	tokenReq, err := kubeClient.Kube().CoreV1().ServiceAccounts(wg.Namespace).CreateToken(context.Background(), serviceAccount, token, metav1.CreateOptions{})
    	// errors if the token could not be created with the given service account in the given namespace
    	if err != nil {
    		return fmt.Errorf("could not create a token under service account %s in namespace %s: %v", serviceAccount, wg.Namespace, err)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	// Service accounts are the static accounts that should be synced with
    	// valid claims.
    	{
    		serviceAccounts := make(map[string]UserIdentity)
    		err := globalIAMSys.store.loadUsers(ctx, svcUser, serviceAccounts)
    		if err != nil {
    			return errSRBackendIssue(err)
    		}
    
    		for user, acc := range serviceAccounts {
    			if user == siteReplicatorSvcAcc {
    				// skip the site replicate svc account as it is
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("Unable to list access keys: %v", err)
    	}
    
    	epochTime := time.Unix(0, 0).UTC()
    	expectedAccKeys := madmin.ListAccessKeysLDAPResp{
    		ServiceAccounts: []madmin.ServiceAccountInfo{
    			{
    				AccessKey:  "u4ccRswj62HV3Ifwima7",
    				Expiration: &epochTime,
    			},
    		},
    	}
    
    	if !reflect.DeepEqual(expectedAccKeys, res) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top