Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 428 for secret2 (0.05 seconds)

  1. docs_src/bigger_applications/app_an_py310/dependencies.py

    from typing import Annotated
    
    from fastapi import Header, HTTPException
    
    
    async def get_token_header(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def get_query_token(token: str):
        if token != "jessica":
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 409 bytes
    - Click Count (0)
  2. .github/workflows/shfmt.yml

        
    jobs:
      build:
        name: runner / shfmt
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: luizm/action-sh-checker@master
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              SHFMT_OPTS: "-s"
            with:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 22 23:07:14 GMT 2024
    - 443 bytes
    - Click Count (0)
  3. .github/workflows/add-to-project.yml

        name: Add to project
        runs-on: ubuntu-latest
        steps:
          - uses: actions/add-to-project@v1.0.2
            with:
              project-url: https://github.com/orgs/fastapi/projects/2
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Aug 13 02:00:25 GMT 2024
    - 368 bytes
    - Click Count (0)
  4. scripts/contributors.py

    import logging
    import secrets
    import subprocess
    from collections import Counter
    from datetime import datetime
    from pathlib import Path
    from typing import Any
    
    import httpx
    import yaml
    from github import Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    github_graphql_url = "https://api.github.com/graphql"
    
    
    prs_query = """
    query Q($after: String) {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. .github/workflows/topic-repos.yml

            run: uv sync --locked --no-dev --group github-actions
          - name: Update Topic Repos
            run: uv run ./scripts/topic_repos.py
            env:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 969 bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/extra-models.md

    Los modelos Pydantic tienen un método `.model_dump()` que devuelve un `dict` con los datos del modelo.
    
    Así que, si creamos un objeto Pydantic `user_in` como:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    y luego llamamos a:
    
    ```Python
    user_dict = user_in.model_dump()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  7. docs/debugging/s3-check-md5/main.go

    func main() {
    	flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL")
    	flag.StringVar(&accessKey, "access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
    	flag.StringVar(&secretKey, "secret-key", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "S3 Secret Key")
    	flag.StringVar(&bucket, "bucket", "", "Select a specific bucket")
    	flag.StringVar(&prefix, "prefix", "", "Select a prefix")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. internal/crypto/error.go

    	ErrInvalidCustomerKey = Errorf("The SSE-C client key is invalid")
    
    	// ErrSecretKeyMismatch indicates that the provided secret key (SSE-C client key / SSE-S3 KMS key)
    	// does not match the secret key used during encrypting the object.
    	ErrSecretKeyMismatch = Errorf("The secret key does not match the secret key used during upload")
    
    	// ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. .github/workflows/label-approved.yml

        - name: Install GitHub Actions dependencies
          run: uv sync --locked --no-dev --group github-actions
        - name: Label Approved
          run: uv run ./scripts/label_approved.py
          env:
            TOKEN: ${{ secrets.GITHUB_TOKEN }}
            CONFIG: >
              {
                "approved-1":
                  {
                    "number": 1,
                    "await_label": "awaiting-review"
                  }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  10. helm/minio/templates/servicemonitor.yaml

      {{- end }}
    spec:
      endpoints:
        {{- if .Values.tls.enabled }}
        - port: https
          scheme: https
          tlsConfig:
            ca:
              secret:
                name: {{ .Values.tls.certSecret }}
                key: {{ .Values.tls.publicCrt }}
            serverName: {{ template "minio.fullname" . }}
        {{- else }}
        - port: http
          scheme: http
        {{- end }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 3.8K bytes
    - Click Count (0)
Back to Top