Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetServiceAccount (0.52 sec)

  1. cmd/admin-handlers-users.go

    	}
    
    	accessKey := mux.Vars(r)["accessKey"]
    	if accessKey == "" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	svcAccount, _, err := globalIAMSys.GetServiceAccount(ctx, accessKey)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // GetServiceAccount - wrapper method to get information about a service account
    func (sys *IAMSys) GetServiceAccount(ctx context.Context, accessKey string) (auth.Credentials, *policy.Policy, error) {
    	sa, embeddedPolicy, err := sys.getServiceAccount(ctx, accessKey)
    	if err != nil {
    		return auth.Credentials{}, nil, err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. pkg/workloadapi/workload.pb.go

    		return x.TunnelProtocol
    	}
    	return TunnelProtocol_NONE
    }
    
    func (x *Workload) GetTrustDomain() string {
    	if x != nil {
    		return x.TrustDomain
    	}
    	return ""
    }
    
    func (x *Workload) GetServiceAccount() string {
    	if x != nil {
    		return x.ServiceAccount
    	}
    	return ""
    }
    
    func (x *Workload) GetWaypoint() *GatewayAddress {
    	if x != nil {
    		return x.Waypoint
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top