Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 430 for secret2 (0.06 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. docs/sts/client-grants.md

    export MINIO_IDENTITY_OPENID_CLIENT_ID="843351d4-1080-11ea-aa20-271ecba3924a"
    minio server /mnt/export
    ```
    
    Testing with an example
    > Obtaining client ID and secrets follow [Keycloak configuring documentation](https://github.com/minio/minio/blob/master/docs/sts/keycloak.md)
    
    ```
    $ go run client-grants.go -cid PoEgXP6uVO45IsENRngDXj5Au5Ya -csec eKsw6z8CtOJVBtrOWvhRWL4TUCga
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

                return
              }
    
              // https://timothybasanov.com/2016/05/26/java-pre-master-secret.html
              // https://security.stackexchange.com/questions/35639/decrypting-tls-in-wireshark-when-using-dhe-rsa-ciphersuites
              // https://stackoverflow.com/questions/36240279/how-do-i-extract-the-pre-master-secret-using-an-openssl-based-client
    
              // TLSv1.2 Events
              // Produced ClientHello handshake message
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. common/scripts/metallb-native.yaml

                  passwordSecret:
                    description: passwordSecret is name of the authentication secret for
                      BGP Peer. the secret must be of type "kubernetes.io/basic-auth",
                      and created in the same namespace as the MetalLB deployment. The
                      password is stored in the secret as the key "password".
                    properties:
                      name:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  5. internal/config/config.go

    	// values.
    	resultKVS := make([]KV, 0, len(store[target]))
    	hkvs := HelpSubSysMap[subSys]
    	for _, kv := range store[target] {
    		hkv, _ := hkvs.Lookup(kv.Key)
    		if hkv.Secret && redactSecrets && kv.Value != "" {
    			// Skip returning secrets.
    			continue
    			// clonedKV := kv
    			// clonedKV.Value = redactedSecret
    			// resultKVS = append(resultKVS, clonedKV)
    		}
    		resultKVS = append(resultKVS, kv)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. helm/minio/README.md

    This label will be displayed in the output of a successful install.
    
    ### Existing secret
    
    Instead of having this chart create the secret for you, you can supply a preexisting secret, much
    like an existing PersistentVolumeClaim.
    
    First, create the secret:
    
    ```bash
    kubectl create secret generic my-minio-secret --from-literal=rootUser=foobarbaz --from-literal=rootPassword=foobarbazqux
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/security/http-basic-auth.md

    以下是更完整的示例。
    
    使用依赖项检查用户名与密码是否正确。
    
    为此要使用 Python 标准模块 <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> 检查用户名与密码。
    
    `secrets.compare_digest()` 需要仅包含 ASCII 字符(英语字符)的 `bytes` 或 `str`,这意味着它不适用于像`á`一样的字符,如 `Sebastián`。
    
    为了解决这个问题,我们首先将 `username` 和 `password` 转换为使用 UTF-8 编码的 `bytes` 。
    
    然后我们可以使用 `secrets.compare_digest()` 来确保 `credentials.username` 是 `"stanleyjobson"`,且 `credentials.password` 是`"swordfish"`。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_form_models/test_tutorial002_an.py

        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
        assert response.status_code == 200
        assert response.json() == {"username": "Foo", "password": "secret"}
    
    
    @needs_pydanticv2
    def test_post_body_extra_form(client: TestClient):
        response = client.post(
            "/login/", data={"username": "Foo", "password": "secret", "extra": "extra"}
        )
        assert response.status_code == 422
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. docs_src/security/tutorial007.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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 14:33:05 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. .github/workflows/smokeshow.yml

              path: htmlcov
              github-token: ${{ secrets.GITHUB_TOKEN }}
              run-id: ${{ github.event.workflow_run.id }}
          - run: smokeshow upload htmlcov
            env:
              SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
              SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100
              SMOKESHOW_GITHUB_CONTEXT: coverage
              SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:47:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top