Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for api_key (0.09 sec)

  1. fastapi/security/api_key.py

        from fastapi import Depends, FastAPI
        from fastapi.security import APIKeyQuery
    
        app = FastAPI()
    
        query_scheme = APIKeyQuery(name="api_key")
    
    
        @app.get("/items/")
        async def read_items(api_key: str = Depends(query_scheme)):
            return {"api_key": api_key}
        ```
        """
    
        def __init__(
            self,
            *,
            name: Annotated[
                str,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 23 22:29:18 UTC 2024
    - 9.1K bytes
    - Viewed (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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (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‘ ...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 00:31:12 UTC 2024
    - 8.7M bytes
    - Viewed (0)
  7. 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",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. fastapi/openapi/models.py

        trace: Optional[Operation] = None
        servers: Optional[List[Server]] = None
        parameters: Optional[List[Union[Parameter, Reference]]] = None
    
    
    class SecuritySchemeType(Enum):
        apiKey = "apiKey"
        http = "http"
        oauth2 = "oauth2"
        openIdConnect = "openIdConnect"
    
    
    class SecurityBase(BaseModelWithConfig):
        type_: SecuritySchemeType = Field(alias="type")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/security/index.md

    **FastAPI** ⚓️ 🔛 **🗄**.
    
    👈 ⚫️❔ ⚒ ⚫️ 💪 ✔️ 💗 🏧 🎓 🧾 🔢, 📟 ⚡, ♒️.
    
    🗄 ✔️ 🌌 🔬 💗 💂‍♂ "⚖".
    
    ⚙️ 👫, 👆 💪 ✊ 📈 🌐 👫 🐩-⚓️ 🧰, 🔌 👉 🎓 🧾 ⚙️.
    
    🗄 🔬 📄 💂‍♂ ⚖:
    
    * `apiKey`: 🈸 🎯 🔑 👈 💪 👟 ⚪️➡️:
        * 🔢 🔢.
        * 🎚.
        * 🍪.
    * `http`: 🐩 🇺🇸🔍 🤝 ⚙️, 🔌:
        * `bearer`: 🎚 `Authorization` ⏮️ 💲 `Bearer ` ➕ 🤝. 👉 😖 ⚪️➡️ Oauth2️⃣.
        * 🇺🇸🔍 🔰 🤝.
        * 🇺🇸🔍 📰, ♒️.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/security/index.md

    Por usá-los, você pode ter vantagens de todas essas ferramentas baseadas nos padrões, incluindo os sistemas de documentação interativa.
    
    OpenAPI define os seguintes esquemas de segurança:
    
    * `apiKey`: uma chave específica de aplicação que pode vir de:
        * Um parâmetro query.
        * Um header.
        * Um cookie.
    * `http`: padrão HTTP de sistemas autenticação, incluindo:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top