Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for policyName (0.19 sec)

  1. cmd/iam-store.go

    	if accessKey == "" || !cred.IsTemp() || cred.IsExpired() || cred.ParentUser == "" {
    		return time.Time{}, errInvalidArgument
    	}
    
    	ttl := int64(cred.Expiration.Sub(UTCNow()).Seconds())
    
    	cache := store.lock()
    	defer store.unlock()
    
    	if policyName != "" {
    		mp := newMappedPolicy(policyName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  2. cmd/admin-handlers-users.go

    				return
    			}
    			for policyName, policy := range allPolicies {
    				if policy.IsEmpty() {
    					err = globalIAMSys.DeletePolicy(ctx, policyName, true)
    				} else {
    					_, err = globalIAMSys.SetPolicy(ctx, policyName, policy)
    				}
    				if err != nil {
    					writeErrorResponseJSON(ctx, w, importError(ctx, err, allPoliciesFile, policyName), r.URL)
    					return
    				}
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    	policiesList := listedConfigItems[policiesListKey]
    	for _, item := range policiesList {
    		policyName := path.Dir(item)
    		if err := iamOS.loadPolicyDoc(ctx, policyName, cache.iamPolicyDocsMap); err != nil && !errors.Is(err, errNoSuchPolicy) {
    			return fmt.Errorf("unable to load the policy doc `%s`: %w", policyName, err)
    		}
    	}
    	setDefaultCannedPolicies(cache.iamPolicyDocsMap)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  4. cmd/iam.go

    func (sys *IAMSys) DeletePolicy(ctx context.Context, policyName string, notifyPeers bool) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	for _, v := range policy.DefaultPolicies {
    		if v.Name == policyName {
    			if err := checkConfig(ctx, globalObjectAPI, getPolicyDocPath(policyName)); err != nil && err == errConfigNotFound {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/sts-handlers.go

    		if ok {
    			policyName = globalIAMSys.CurrentPolicies(policies)
    		}
    
    		if newGlobalAuthZPluginFn() == nil {
    			if !ok {
    				writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,
    					fmt.Errorf("%s claim missing from the JWT token, credentials will not be generated", iamPolicyClaimNameOpenID()))
    				return
    			} else if policyName == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  6. cmd/peer-rest-server.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	policyName := mss.Get(peerRESTPolicy)
    	if policyName == "" {
    		return np, grid.NewRemoteErr(errors.New("policyName is missing"))
    	}
    
    	if err := globalIAMSys.DeletePolicy(context.Background(), policyName, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/templates/validatingadmissionpolicy.yaml

    kind: ValidatingAdmissionPolicyBinding
    metadata:
      name: "stable-channel-policy-binding{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}-{{ .Values.global.istioNamespace }}.istio.io"
    spec:
      policyName: "stable-channel-policy{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}-{{ .Values.global.istioNamespace }}.istio.io"
      validationActions: [Deny]
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 29 21:07:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. manifests/charts/base/templates/validatingadmissionpolicy.yaml

              )
            )
    ---
    apiVersion: admissionregistration.k8s.io/v1
    kind: ValidatingAdmissionPolicyBinding
    metadata:
      name: "stable-channel-default-policy-binding.istio.io"
    spec:
      policyName: "stable-channel-default-policy.istio.io"
      validationActions: [Deny]
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 29 21:07:45 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. cmd/peer-rest-client.go

    func (client *peerRESTClient) DeletePolicy(policyName string) (err error) {
    	_, err = deletePolicyRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTPolicy: policyName,
    	}))
    	return err
    }
    
    // LoadPolicy - reload a specific canned policy.
    func (client *peerRESTClient) LoadPolicy(policyName string) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. internal/config/identity/openid/openid.go

    			p.DiscoveryDoc.ScopesSupported = scopes
    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    			// In the unlikely event that the user specifies
    			// `policy.PolicyName` as the claim name explicitly and sets
    			// a role policy, this check is thwarted, but we will be using
    			// the role policy anyway.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top