Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for policy_plugin (0.17 sec)

  1. docs/iam/access-management-plugin.md

    ```sh
    $ mc admin config set myminio policy_plugin --env
    KEY:
    policy_plugin  enable Access Management Plugin for policy enforcement
    
    ARGS:
    MINIO_POLICY_PLUGIN_URL*          (url)       plugin hook endpoint (HTTP(S)) e.g. "http://localhost:8181/v1/data/httpapi/authz/allow"
    MINIO_POLICY_PLUGIN_AUTH_TOKEN    (string)    authorization header for plugin hook endpoint
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  2. internal/config/policy/plugin/config.go

    const (
    	URL         = "url"
    	AuthToken   = "auth_token"
    	EnableHTTP2 = "enable_http2"
    
    	EnvPolicyPluginURL         = "MINIO_POLICY_PLUGIN_URL"
    	EnvPolicyPluginAuthToken   = "MINIO_POLICY_PLUGIN_AUTH_TOKEN"
    	EnvPolicyPluginEnableHTTP2 = "MINIO_POLICY_PLUGIN_ENABLE_HTTP2"
    )
    
    // DefaultKVS - default config for Authz plugin config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: "",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. docs/iam/opa.md

    ```
    curl -X PUT --data-binary @example.rego \
      localhost:8181/v1/policies/putobject
    ```
    
    ### 4. Setup MinIO with OPA
    
    Set the `MINIO_POLICY_PLUGIN_URL` as the endpoint that MinIO should send authorization requests to. Then start the server.
    
    ```sh
    export MINIO_POLICY_PLUGIN_URL=http://localhost:8181/v1/data/httpapi/authz/allow
    export MINIO_CI_CD=1
    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio123
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. .github/workflows/iam-integrations.yaml

            env:
              _MINIO_LDAP_TEST_SERVER: ${{ matrix.ldap }}
              _MINIO_ETCD_TEST_SERVER: ${{ matrix.etcd }}
              _MINIO_OPENID_TEST_SERVER: ${{ matrix.openid }}
              _MINIO_POLICY_PLUGIN_TEST_ENDPOINT: "http://127.0.0.1:8080"
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              go run docs/iam/access-manager-plugin.go &
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	pluginEndpoint := env.Get("_MINIO_POLICY_PLUGIN_ENDPOINT", "")
    	if pluginEndpoint == "" {
    		c.Skip("_MINIO_POLICY_PLUGIN_ENDPOINT not given - skipping.")
    	}
    
    	configCmds := []string{
    		"policy_plugin",
    		"url=" + pluginEndpoint,
    	}
    
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  6. cmd/config-current.go

    			Description: "[DEPRECATED - use `site` instead] label the location of the server",
    		},
    		config.PolicyOPASubSys: {
    			Key:         config.PolicyOPASubSys,
    			Description: "[DEPRECATED - use `policy_plugin` instead] enable external OPA for policy enforcement",
    		},
    	}
    
    	config.RegisterHelpDeprecatedSubSys(deprecatedHelpKVMap)
    }
    
    var (
    	// globalServerConfig server config.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  7. cmd/testdata/undeleteable-object.tgz

    {"key":"auth_token","value":""},{"key":"queue_limit","value":"0"},{"key":"queue_dir","value":""},{"key":"client_cert","value":""},{"key":"client_key","value":""}]},"policy_opa":{"_":[{"key":"url","value":""},{"key":"auth_token","value":""}]},"policy_plugin":{"_":[{"key":"url","value":""},{"key":"auth_token","value":""},{"key":"enable_http2","value":"off"}]},"region":{"_":[{"key":"name","value":""}]},"scanner":{"_":[{"key":"speed","value":"default"},{"key":"idle_speed","value":""},{"key":"alert_e...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
Back to top