Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 257 for wspolicy (0.19 sec)

  1. cmd/bucket-policy-handlers_test.go

    	"github.com/minio/pkg/v2/policy"
    	"github.com/minio/pkg/v2/policy/condition"
    )
    
    func getAnonReadOnlyBucketPolicy(bucketName string) *policy.BucketPolicy {
    	return &policy.BucketPolicy{
    		Version: policy.DefaultVersion,
    		Statements: []policy.BPStatement{
    			policy.NewBPStatement(
    				"",
    				policy.Allow,
    				policy.NewPrincipal("*"),
    				policy.NewActionSet(policy.GetBucketLocationAction, policy.ListBucketAction),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    	// Generate the final policy document
    	policy = fmt.Sprintf(policy, dates...)
    
    	region := "us-east-1"
    	// Create a new POST request with success_action_redirect field specified
    	req, perr := newPostRequestV4Generic("", bucketName, keyName, []byte("objData"),
    		credentials.AccessKey, credentials.SecretKey, region, curTime,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  3. docs/sts/ldap.md

    ```
    
    To associate the policy with an LDAP user or group, use the full DN of the user or group:
    
    ```sh
    mc idp ldap policy attach myminio mypolicy --user='uid=james,cn=accounts,dc=myldapserver,dc=com'
    ```
    
    ```sh
    mc idp ldap policy attach myminio mypolicy ----group='cn=projectx,ou=groups,ou=hwengg,dc=min,dc=io'
    ```
    
    To remove a policy association, use the similar `detach` command:
    
    ```sh
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.4K bytes
    - Viewed (1)
  4. cmd/admin-handlers-users_test.go

    	}
    
    	// 4. Verify the policy appears in listing
    	ps, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    		c.Fatalf("policy list err: %v", err)
    	}
    	_, ok := ps[policy]
    	if !ok {
    		c.Fatalf("policy was missing!")
    	}
    
    	// 5. Check that policy cannot be deleted when attached to a user.
    	err = s.adm.RemoveCannedPolicy(ctx, policy)
    	if err == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    		sessionPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(sessionPolicyStr)))
    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    			return
    		}
    
    		// Version in policy must not be empty
    		if sessionPolicy.Version == "" {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Invalid session policy version"))
    			return
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  6. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    }
                }
                return "";
            }
        }
    
        private static RepositoryPolicy toPolicy(ArtifactRepositoryPolicy policy) {
            RepositoryPolicy result = null;
            if (policy != null) {
                result = new RepositoryPolicy(policy.isEnabled(), policy.getUpdatePolicy(), policy.getChecksumPolicy());
            }
            return result;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

       Matching subsets: 
          (Non-matching subsets v1)
       No Traffic Policy
    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
       Route to host "productpage3" with weight 50%
       Match: /prefix*
    `,
    		},
    		// have traffic policy
    		{
    			k8sConfigs: []runtime.Object{
    				&corev1.Service{
    					ObjectMeta: metav1.ObjectMeta{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. helm/minio/README.md

    ```
    kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}"
    ```
    
    When using `Cilium` as a CNI in your cluster, please edit the `flavor` field to `cilium`.
    
    With NetworkPolicy enabled, traffic will be limited to just port 9000.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 24 07:27:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  9. helm-releases/minio-3.5.5.tgz

    /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached."...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 16 19:44:53 GMT 2022
    - 17.2K bytes
    - Viewed (0)
  10. helm-releases/minio-3.6.4.tgz

    /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached."...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 12 01:30:28 GMT 2022
    - 17.9K bytes
    - Viewed (0)
Back to top