Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for secret2 (0.07 sec)

  1. tests/test_response_model_as_return_annotation.py

        return DBUser(name="John", surname="Doe", password_hash="secret")
    
    
    @app.get("/response_model_list_of_model-no_annotation", response_model=List[User])
    def response_model_list_of_model_no_annotation():
        return [
            DBUser(name="John", surname="Doe", password_hash="secret"),
            DBUser(name="Jane", surname="Does", password_hash="secret2"),
        ]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inactive user
    
    Now try with an inactive user, authenticate with:
    
    User: `alice`
    
    Password: `secret2`
    
    And try to use the operation `GET` with the path `/users/me`.
    
    You will get an "Inactive user" error, like:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inaktiver Benutzer
    
    Versuchen Sie es nun mit einem inaktiven Benutzer und authentisieren Sie sich mit:
    
    Benutzer: `alice`.
    
    Passwort: `secret2`.
    
    Und versuchen Sie, die Operation `GET` mit dem Pfad `/users/me` zu verwenden.
    
    Sie erhalten die Fehlermeldung „Inactive user“:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Usuário inativo
    
    Agora tente com um usuário inativo, autentique-se com:
    
    User: `alice`
    
    Password: `secret2`
    
    E tente usar a operação `GET` com o caminho `/users/me`.
    
    Você receberá um erro "Usuário inativo", como:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recaptulando
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/security/simple-oauth2.md

    잠금 아이콘을 클릭하고 로그아웃한 다음 동일한 작업을 다시 시도하면 다음과 같은 HTTP 401 오류가 발생합니다.
    
    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### 비활성된 유저
    
    이제 비활성된 사용자로 시도하고, 인증해봅시다:
    
    유저명: `alice`
    
    패스워드: `secret2`
    
    그리고 `/users/me` 경로와 함께 `GET` 작업을 사용해 봅시다.
    
    다음과 같은 "Inactive user" 오류가 발생합니다:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## 요약
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret_test.go

    	testServiceAccountName = "test-service-account"
    )
    
    func makeServiceAccount(secrets ...string) *v1.ServiceAccount {
    	sa := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testServiceAccountName,
    			Namespace: testNamespace,
    		},
    	}
    
    	for _, secret := range secrets {
    		sa.Secrets = append(sa.Secrets, v1.ObjectReference{
    			Name:      secret,
    			Namespace: testNamespace,
    		})
    	}
    
    	return sa
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret.go

    	return saName + "-istio-remote-secret-token"
    }
    
    func secretReferencesServiceAccount(serviceAccount *v1.ServiceAccount, secret *v1.Secret) error {
    	if secret.Type != v1.SecretTypeServiceAccountToken ||
    		secret.Annotations[v1.ServiceAccountNameKey] != serviceAccount.Name {
    		return fmt.Errorf("secret %s/%s does not reference ServiceAccount %s",
    			secret.Namespace, secret.Name, serviceAccount.Name)
    	}
    	return nil
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  8. helm-releases/minio-3.6.4.tgz

    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 PersistentVolumeClai. First, create the secret: ```bash kubectl create secret generic my-minio-secret --from-literal=rootUser=foobarbaz --from-literal=rootPassword=foobarbazqux ``` Then install the chart, specifying that you want to use an existing secret: ```bash helm install --set existingSecret=my-minio-secret minio/minio...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 12 01:30:28 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  9. helm-releases/minio-4.0.12.tgz

    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 PersistentVolumeClai. First, create the secret: ```bash kubectl create secret generic my-minio-secret --from-literal=rootUser=foobarbaz --from-literal=rootPassword=foobarbazqux ``` Then install the chart, specifying that you want to use an existing secret: ```bash helm install --set existingSecret=my-minio-secret minio/minio...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 14 05:50:43 UTC 2022
    - 19.4K bytes
    - Viewed (0)
  10. helm-releases/minio-4.0.13.tgz

    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 PersistentVolumeClai. First, create the secret: ```bash kubectl create secret generic my-minio-secret --from-literal=rootUser=foobarbaz --from-literal=rootPassword=foobarbazqux ``` Then install the chart, specifying that you want to use an existing secret: ```bash helm install --set existingSecret=my-minio-secret minio/minio...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 23 18:18:14 UTC 2022
    - 19.5K bytes
    - Viewed (0)
Back to top