Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for credentials (0.12 sec)

  1. cmd/warm-backend-s3.go

    		return nil, errors.New("AWS Role cannot be activated with static credentials or the web identity token file")
    	case conf.Bucket == "":
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	// Credentials initialization
    	var creds *credentials.Credentials
    	switch {
    	case conf.AWSRole:
    		creds = credentials.New(&credentials.IAM{
    			Client: &http.Client{
    				Transport: NewHTTPTransport(),
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/iam.go

    func (sys *IAMSys) GetServiceAccount(ctx context.Context, accessKey string) (auth.Credentials, *policy.Policy, error) {
    	sa, embeddedPolicy, err := sys.getServiceAccount(ctx, accessKey)
    	if err != nil {
    		return auth.Credentials{}, nil, err
    	}
    	// Hide secret & session keys
    	sa.Credentials.SecretKey = ""
    	sa.Credentials.SessionToken = ""
    	return sa.Credentials, embeddedPolicy, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/http-basic-auth.md

    Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`.
    
    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    This would be similar to:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/security/http-basic-auth.md

    Dann können wir `secrets.compare_digest()` verwenden, um sicherzustellen, dass `credentials.username` `"stanleyjobson"` und `credentials.password` `"swordfish"` ist.
    
    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    Dies wäre das gleiche wie:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Einen Error zurückgeben
        ...
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/warm-backend-minio.go

    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    	creds := credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

         * server, its credentials will be updated to match the values from the server specification. Repositories without a
         * matching server will have their credentials cleared. Note: This method must be called after
         * {@link #injectMirror(List, List)} or the repositories will end up with the wrong credentials.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. .github/workflows/update-jdks.yml

        permissions:
          contents: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - name: Checkout repository
            uses: actions/checkout@v3
            with:
              persist-credentials: false
              fetch-depth: 0
          - name: Update jdks.yaml
            uses: gradle/update-jdks-action@main
          - name: Create Pull Request
            uses: peter-evans/create-pull-request@v7
            with:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 03:45:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. .github/workflows/scorecards-analysis.yml

          id-token: write
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
            with:
              persist-credentials: false
    
          - name: "Run analysis"
            uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
            with:
              results_file: results.sarif
              results_format: sarif
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. .github/workflows/scorecard.yml

          # contents: read
          # actions: read
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
            with:
              persist-credentials: false
    
          - name: "Run analysis"
            uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
            with:
              results_file: results.sarif
              results_format: sarif
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 29 18:53:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/custom-docs-ui-assets.md

    /// tip
    
    The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2.
    
    If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
    Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ///
    
    ### Create a *path operation* to test it
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top