Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for secrets (0.1 sec)

  1. istioctl/pkg/writer/compare/sds/writer.go

    )
    
    // printSecretItemsTabular prints the secret in table format
    func (w *sdsWriter) printSecretItemsTabular(secrets []SecretItem) error {
    	if len(secrets) == 0 {
    		fmt.Fprintln(w.w, "No secret items to show.")
    		return nil
    	}
    	var hasUnknownTrustDomain bool
    	for _, secret := range secrets {
    		if secret.SecretMeta.TrustDomain == "" {
    			hasUnknownTrustDomain = true
    			break
    		}
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/util.go

    			return nil, fmt.Errorf("failed building warming secret %s: %v",
    				activeSecret.Name, err)
    		}
    		for _, secret := range secrets {
    			if activeSecret.VersionInfo == "uninitialized" {
    				secret.State = "UNINITIALIZED"
    			}
    		}
    		proxySecretItems = append(proxySecretItems, secrets...)
    	}
    	return proxySecretItems, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. .github/workflows/deploy-docs.yml

            with:
              apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
              accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
              command: pages deploy ./site --project-name=${{ env.PROJECT_NAME }} --branch=${{ env.BRANCH }}
          - name: Comment Deploy
            run: python ./scripts/deploy_docs_status.py
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 09:37:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. docs/en/docs/advanced/security/http-basic-auth.md

    Use a dependency to check if the username and password are correct.
    
    For this, use the Python standard module <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> to check the username and password.
    
    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. .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)
  8. .github/workflows/sigbuild-docker.yml

            with:
              username: ${{ secrets.DOCKERHUB_USERNAME }}
              password: ${{ secrets.DOCKERHUB_TOKEN }}
          -
            name: Login to GCR
            uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
            with:
              registry: gcr.io
              username: _json_key
              password: ${{ secrets.GCP_CREDS }}
          -
            name: Login to AR
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. docs/pt/docs/advanced/security/http-basic-auth.md

    Utilize uma dependência para verificar se o usuário e a senha estão corretos.
    
    Para isso, utilize o módulo padrão do Python <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> para verificar o usuário e senha.
    
    O `secrets.compare_digest()` necessita receber `bytes` ou `str` que possuem apenas caracteres ASCII (os em inglês). Isso significa que não funcionaria com caracteres como o `á`, como em `Sebastián`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top