Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 436 for secrets (1.41 sec)

  1. docs_src/security/tutorial007_py39.py

    import secrets
    
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    def get_current_username(credentials: HTTPBasicCredentials = Depends(security)):
        current_username_bytes = credentials.username.encode("utf8")
        correct_username_bytes = b"stanleyjobson"
        is_correct_username = secrets.compare_digest(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. .github/workflows/validate-codeowners.yml

        runs-on: ubuntu-latest
        steps:
          - name: Get Secrets
            uses: gradle/actions-internal/get-aws-secrets@v1
            if: (github.event_name != 'pull_request' && github.repository_owner == 'gradle') || github.event.pull_request.head.repo.full_name == github.repository
            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              secret-ids: |
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 22:15:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. .github/workflows/update-perf-test-buckets.yml

            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              aws-region: "eu-central-1"
          - name: get secrets
            uses: aws-actions/aws-secretsmanager-get-secrets@v2
            with:
              secret-ids: |
                PERFORMANCE_DB_URL, gha/gradle/_all/PERFORMANCE_DB_URL
                PERFORMANCE_DB_USERNAME, gha/gradle/_all/PERFORMANCE_DB_USERNAME
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 22:14:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. scripts/sponsors.py

    import logging
    import secrets
    import subprocess
    from collections import defaultdict
    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"
    
    
    sponsors_query = """
    query Q($after: String) {
      user(login: "tiangolo") {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. .github/workflows/cleanup-stale-performance-data.yml

            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              aws-region: "eu-central-1"
          
          - name: Get secrets
            uses: aws-actions/aws-secretsmanager-get-secrets@v2
            with:
              secret-ids: |
                PERFORMANCE_DB_URL, gha/gradle/_all/PERFORMANCE_DB_URL
                PERFORMANCE_DB_USERNAME, gha/gradle/_all/PERFORMANCE_DB_USERNAME
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 22:15:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. 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) {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. .github/workflows/latest-changes.yml

          # Ref: https://github.com/actions/checkout/issues/2313
          - uses: actions/checkout@v5
            with:
              # To allow latest-changes to commit to the main branch
              token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 14:58:32 UTC 2025
    - 1.4K bytes
    - Viewed (1)
  8. .github/workflows/pre-commit.yml

    name: pre-commit
    
    on:
      pull_request:
        types:
          - opened
          - synchronize
    
    env:
      # Forks and Dependabot don't have access to secrets
      HAS_SECRETS: ${{ secrets.PRE_COMMIT != '' }}
    
    jobs:
      pre-commit:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 23 11:17:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. .github/workflows/build.yml

            env:
              ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
              ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
              ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
              ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }}
    
      validation:
        name: "Validation"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 12 04:49:37 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. .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:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 443 bytes
    - Viewed (0)
Back to top