Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 354 for credential (0.05 sec)

  1. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. cmd/signature-v2.go

    	if len(authFields) != 2 {
    		return auth.Credentials{}, false, ErrMissingFields
    	}
    
    	// Then will be splitting on ":", this will separate `AWSAccessKeyId` and `Signature` string.
    	keySignFields := strings.Split(strings.TrimSpace(authFields[1]), ":")
    	if len(keySignFields) != 2 {
    		return auth.Credentials{}, false, ErrMissingFields
    	}
    
    	return checkKeyValid(r, keySignFields[0])
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNoContent,
    		},
    		// Test case - 2.
    		// Case with non-existent-bucket.
    		{
    			bucketName:         "non-existent-bucket",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNotFound,
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils.go

    		u, ok, err := globalIAMSys.CheckKey(r.Context(), accessKey)
    		if err != nil {
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    		if !ok {
    			// Credentials could be valid but disabled - return a different
    			// error in such a scenario.
    			if u.Credentials.Status == auth.AccountOff {
    				return cred, false, ErrAccessKeyDisabled
    			}
    			return cred, false, ErrInvalidAccessKeyID
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/es/docs/advanced/security/http-basic-auth.md

    Luego podemos usar `secrets.compare_digest()` para asegurar que `credentials.username` es `"stanleyjobson"`, y que `credentials.password` es `"swordfish"`.
    
    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    Esto sería similar a:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    
    /**
     * Simple memory management tests to validate basic resource cleanup functionality
     */
    public class SimpleMemoryManagementTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
        private Configuration mockConfig;
        private Credentials mockCredentials;
        private CredentialsInternal mockCredentialsInternal;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionImplTest.java

        void setup() {
            // Base context configuration - always needed
            when(cifsContext.getConfig()).thenReturn(configuration);
    
            // Context and credentials wiring - used by most tests
            when(cifsContext.getCredentials()).thenReturn(credentials);
            when(credentials.unwrap(CredentialsInternal.class)).thenReturn(credentialsInternal);
            when(credentialsInternal.clone()).thenReturn(credentialsInternal);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. .github/workflows/update-perf-test-buckets.yml

        runs-on: ubuntu-latest
    
        if: github.repository == 'gradle/gradle'
    
        steps:
          - name: Checkout repository
            uses: actions/checkout@v5
          - name: configure aws credentials
            uses: aws-actions/configure-aws-credentials@v5
            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              aws-region: "eu-central-1"
          - name: get secrets
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 04:26:32 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. ci/official/envs/rbe

      # ci/official/utilities/setup_docker.sh.
    else
      # The volume mapping flag below shares the user's gcloud credentials, if any,
      # with the container, in case the user has credentials stored there.
      # This would allow Bazel to authenticate for RBE.
      # Note: TF's CI does not have any credentials stored there.
      TFCI_DOCKER_ARGS="$TFCI_DOCKER_ARGS -v $HOME/.config/gcloud:/root/.config/gcloud"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 09 16:05:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top