Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 43 for api_key (0.04 seconds)

  1. tests/test_security_api_key_header_optional.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str | None = Security(api_key)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. docs/iam/policies/pbac-tests.sh

    fi
    
    # Start KES Server
    (./kes server --dev 2>&1 >kes-server.log) &
    kes_pid=$!
    sleep 5s
    API_KEY=$(grep "API Key" <kes-server.log | awk -F" " '{print $3}')
    (openssl s_client -connect 127.0.0.1:7373 2>/dev/null 1>public.crt)
    
    export CI=true
    export MINIO_KMS_KES_ENDPOINT=https://127.0.0.1:7373
    export MINIO_KMS_KES_API_KEY="${API_KEY}"
    export MINIO_KMS_KES_KEY_NAME=minio-default-key
    export MINIO_KMS_KES_CAPATH=public.crt
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 25 01:15:27 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. docs/distributed/decom-encrypted-kes.sh

    fi
    
    # Start KES Server
    (./kes server --dev 2>&1 >kes-server.log) &
    kes_pid=$!
    sleep 5s
    API_KEY=$(grep "API Key" <kes-server.log | awk -F" " '{print $3}')
    (openssl s_client -connect 127.0.0.1:7373 2>/dev/null 1>public.crt)
    
    export CI=true
    export MINIO_KMS_KES_ENDPOINT=https://127.0.0.1:7373
    export MINIO_KMS_KES_API_KEY="${API_KEY}"
    export MINIO_KMS_KES_KEY_NAME=minio-default-key
    export MINIO_KMS_KES_CAPATH=public.crt
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 7.1K bytes
    - Click Count (1)
  4. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

        }
    
        @Test
        public void test_maskSensitiveValue_withKey() {
            assertEquals("********", SystemUtil.maskSensitiveValue("API_KEY", "abc123"));
            assertEquals("********", SystemUtil.maskSensitiveValue("apikey", "abc123"));
            assertEquals("********", SystemUtil.maskSensitiveValue("PRIVATE_KEY", "-----BEGIN RSA PRIVATE KEY-----"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  5. internal/config/config.go

    	EnableOff = madmin.EnableOff
    
    	RegionKey  = "region"
    	NameKey    = "name"
    	RegionName = "name"
    	AccessKey  = "access_key"
    	SecretKey  = "secret_key"
    	License    = "license" // Deprecated Dec 2021
    	APIKey     = "api_key"
    	Proxy      = "proxy"
    )
    
    // Top level config constants.
    const (
    	PolicyOPASubSys      = madmin.PolicyOPASubSys
    	PolicyPluginSubSys   = madmin.PolicyPluginSubSys
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  6. cmd/testdata/undeleteable-object.tgz

    ,{"key":"region","value":""}]},"storage_class":{"_":[{"key":"standard","value":"EC:5"},{"key":"rrs","value":"EC:1"},{"key":"optimize","value":"availability"},{"key":"inline_block","value":""}]},"subnet":{"_":[{"key":"license","value":""},{"key":"api_key","value":""},{"key":"proxy","value":""}]}} multisitea/data/disterasure/xl11/.minio.sys/pool.bin/xl.meta XL2 Æ w Ä$•Ä Ó ÉŸþ¥¹ °Ä ºHØH Å Kƒ¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ 5 A·DoCÁ§slÂ0RÿŦEcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistœ ¨CSumAlgo ¨PartNums‘ ...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Click Count (0)
  7. internal/config/subnet/config.go

    		Value: "",
    	},
    	config.KV{
    		Key:   config.APIKey,
    		Value: "",
    	},
    	config.KV{
    		Key:   config.Proxy,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    type Config struct {
    	// The subnet license token - Deprecated Dec 2021
    	License string `json:"license"`
    
    	// The subnet api key
    	APIKey string `json:"apiKey"`
    
    	// The HTTP(S) proxy URL to use for connecting to SUBNET
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. internal/config/subnet/help.go

    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         config.APIKey,
    			Type:        "string",
    			Description: "Enterprise license API key for the cluster" + defaultHelpPostfix(config.APIKey),
    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         config.Proxy,
    			Type:        "string",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 10 20:16:44 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. fastapi/openapi/models.py

        patch: Operation | None = None
        trace: Operation | None = None
        servers: list[Server] | None = None
        parameters: list[Parameter | Reference] | None = None
    
    
    class SecuritySchemeType(Enum):
        apiKey = "apiKey"
        http = "http"
        oauth2 = "oauth2"
        openIdConnect = "openIdConnect"
    
    
    class SecurityBase(BaseModelWithConfig):
        type_: SecuritySchemeType = Field(alias="type")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // When
            byte[] appKey = Smb3KeyDerivation.dervieApplicationKey(dialect, sessionKey, preauthIntegrity);
    
            // Then
            assertNotNull(appKey, "Application key should not be null");
            assertEquals(16, appKey.length, "Application key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, appKey), "Application key should be different from session key");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top