- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for Secret (0.2 sec)
-
cmd/common-main.go
return nil, err } return ekvs, nil } func readFromSecret(sp string) (string, error) { // Supports reading path from docker secrets, filename is // relative to /run/secrets/ position. if isFile(pathJoin("/run/secrets/", sp)) { sp = pathJoin("/run/secrets/", sp) } credBuf, err := os.ReadFile(sp) if err != nil { if os.IsNotExist(err) { // ignore if file doesn't exist. return "", nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3) -
cmd/auth-handler.go
if cred.ParentUser != globalActiveCred.AccessKey || cred.IsTemp() { secret = nsecret } } if cred.IsServiceAccount() { token = cred.SessionToken secret = cred.SecretKey } if token != "" { claims, err := getClaimsFromTokenWithSecret(token, secret) if err != nil { return nil, toAPIErrorCode(r.Context(), err) } return claims.Map(), ErrNone } claims := xjwt.NewMapClaims()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
void testHandlePasswordOnly() throws Exception { JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "secret"); PasswordCallback pc = new PasswordCallback("pass:", false); auth.handle(new Callback[] { pc }); assertEquals("secret", new String(pc.getPassword())); } @Test @DisplayName("handle: empty user/domain edge yields '@' and null password")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/sts-handlers.go
} return nil } // getTokenSigningKey returns secret key used to sign JWT session tokens func getTokenSigningKey() (string, error) { secret := globalActiveCred.SecretKey if globalSiteReplicationSys.isEnabled() { secretKey, err := globalSiteReplicatorCred.Get(GlobalContext) if err != nil { return "", err } return secretKey, nil } return secret, nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
/// ## Handle JWT tokens { #handle-jwt-tokens } Import the modules installed. Create a random secret key that will be used to sign the JWT tokens. To generate a secure random secret key use the command: <div class="termy"> ```console $ openssl rand -hex 32 09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7 ```Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 10.5K bytes - Viewed (0) -
.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_USERNAMERegistered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Sep 04 04:26:32 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/es/docs/tutorial/security/oauth2-jwt.md
Autoriza la aplicación de la misma manera que antes. Usando las credenciales: Usuario: `johndoe` Contraseña: `secret` /// check | Revisa Observa que en ninguna parte del código está la contraseña en texto claro "`secret`", solo tenemos la versión con hash. /// <img src="/img/tutorial/security/image08.png"> Llama al endpoint `/users/me/`, obtendrás el response como:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 10.9K bytes - Viewed (0) -
docs/de/docs/tutorial/security/oauth2-jwt.md
Melden Sie sich bei der Anwendung auf die gleiche Weise wie zuvor an. Verwenden Sie die Anmeldeinformationen: Benutzername: `johndoe` Passwort: `secret`. /// check Beachten Sie, dass im Code nirgendwo das Klartext-Passwort "`secret`" steht, wir haben nur die gehashte Version. /// <img src="/img/tutorial/security/image08.png">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 12.1K bytes - Viewed (0) -
cmd/signature-v2.go
if !compareSignatureV2(v2Auth, expectedAuth) { return ErrSignatureDoesNotMatch } return ErrNone } func calculateSignatureV2(stringToSign string, secret string) string { hm := hmac.New(sha1.New, []byte(secret)) hm.Write([]byte(stringToSign)) return base64.StdEncoding.EncodeToString(hm.Sum(nil)) } // Return signature-v2 for the presigned request.Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.2K bytes - Viewed (0)