- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 47 for credential (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/signature-v4-parser.go
return psv, ErrInvalidQuerySignatureAlgo } // Initialize signature version '4' structured header. preSignV4Values := preSignValues{} // Save credential. preSignV4Values.Credential, aec = parseCredentialHeader("Credential="+query.Get(xhttp.AmzCredential), region, stype) if aec != ErrNone { return psv, aec } var e error // Save date in native time.Time.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:35 GMT 2025 - 9.4K bytes - Click Count (0) -
cmd/signature-v4-parser_test.go
} } // TestParseCredentialHeader - validates the format validator and extractor for the Credential header in an aws v4 request. // A valid format of credential should be of the following format. // Credential = accessKey + SlashSeparator+ scope // where scope = string.Join([]string{ currTime.Format(yyyymmdd), // // globalMinioDefaultRegion, // "s3",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:35 GMT 2025 - 27.8K bytes - Click Count (0) -
cmd/streaming-signature-v4.go
if errCode != ErrNone { return cred, "", "", time.Time{}, errCode } cred, _, errCode = checkKeyValid(r, signV4Values.Credential.accessKey) if errCode != ErrNone { return cred, "", "", time.Time{}, errCode } // Verify if region is valid. region = signV4Values.Credential.scope.region // Extract date, if not present throw error. var dateStr stringCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
"CHROME_BIN" ) val credentialsKeywords = listOf( "api_key", "access_key", "apikey", "accesskey", "password", "token", "credential", "auth" ) fun Test.filterEnvironmentVariables(inheritDevelocityAccessToken: Boolean) { environment = makePropagatedEnvironment() environment.forEach { (key, _) ->
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 15 18:27:39 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/sts-handlers_test.go
} // Retrieve the STS account's credential object. u, ok := globalIAMSys.GetUser(ctx, value.AccessKeyID) if !ok { c.Fatalf("Expected to find user %s", value.AccessKeyID) } if u.Credentials.AccessKey != value.AccessKeyID { c.Fatalf("Expected access key %s, got %s", value.AccessKeyID, u.Credentials.AccessKey) } // Retrieve the credential's claims. secret, err := getTokenSigningKey()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1) -
cmd/postpolicyform.go
"$expires": true, "$key": true, "$success_action_redirect": true, "$redirect": true, "$success_action_status": true, "$x-amz-algorithm": false, "$x-amz-credential": false, "$x-amz-date": false, "$tagging": false, } // Add policy conditionals. const ( policyCondEqual = "eq" policyCondStartsWith = "starts-with"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/metrics-v2.go
return MetricDescription{ Namespace: namespace, Subsystem: replicationSubsystem, Name: credentialErrors, Help: "Total number of replication credential errors since server uptime", Type: counterMetric, } } func getClusterReplCurrQueuedOperationsMD() MetricDescription { return MetricDescription{ Namespace: nodeMetricNamespace,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 133.6K bytes - Click Count (0) -
docs/pt/docs/advanced/security/http-basic-auth.md
Então nós podemos utilizar o `secrets.compare_digest()` para garantir que o `credentials.username` é `"stanleyjobson"`, e que o `credentials.password` é `"swordfish"`. {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} Isso seria parecido com: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Return some error ... ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/object-handlers_test.go
objectName: objectName, accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedRespStatus: http.StatusOK, }, // Test case - 2. // Case with non-existent object name. { bucketName: bucketName, objectName: "abcd", accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedRespStatus: http.StatusNotFound,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
tests/test_security_http_base.py
from fastapi.testclient import TestClient app = FastAPI() security = HTTPBase(scheme="Other") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_base(): response = client.get("/users/me", headers={"Authorization": "Other foobar"})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 1.8K bytes - Click Count (0)