- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 436 for secrets (0.47 sec)
-
.ci/init.gradle
.engineVersion(1) .token(vaultToken) .build() ) .withRetries(5, 1000) if (USE_ARTIFACTORY) { final Map<String, String> artifactoryCredentials = vault.logical() .read("secret/elasticsearch-ci/artifactory.elstc.co") .getData() logger.info("Using elastic artifactory repos") Closure configCache = { return { name "artifactory-gradle-release"
Registered: Sun Dec 21 06:47:06 UTC 2025 - Last Modified: Wed Nov 13 10:14:04 UTC 2019 - 3K bytes - Viewed (0) -
tests/test_security_api_key_query.py
return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me?key=secret") assert response.status_code == 200, response.text assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): response = client.get("/users/me") assert response.status_code == 401, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Usuário inativo { #inactive-user } 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" } ``` ## Recapitulando { #recap }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误: ```JSON { "detail": "Not authenticated" } ``` ### 未激活用户 测试未激活用户,输入以下信息,进行身份验证: 用户名:`alice` 密码:`secret2` 然后,执行 `/users/me` 路径的 `GET` 操作。 显示下列**未激活用户**错误信息: ```JSON { "detail": "Inactive user" } ``` ## 小结 使用本章的工具实现基于 `username` 和 `password` 的完整 API 安全系统。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.6K bytes - Viewed (0) -
tests/test_security_api_key_header_optional.py
return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"}) assert response.status_code == 200, response.text assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): response = client.get("/users/me") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
tests/test_security_api_key_cookie.py
return current_user def test_security_api_key(): client = TestClient(app, cookies={"key": "secret"}) response = client.get("/users/me") assert response.status_code == 200, response.text assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): client = TestClient(app) response = client.get("/users/me")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2K bytes - Viewed (0) -
tests/test_security_api_key_cookie_description.py
return current_user def test_security_api_key(): client = TestClient(app, cookies={"key": "secret"}) response = client.get("/users/me") assert response.status_code == 200, response.text assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): client = TestClient(app) response = client.get("/users/me")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.1K bytes - Viewed (0) -
helm/minio/templates/_helper_custom_command.txt
set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ; # The connections to minio are allowed to fail. echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ; MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ; $MC_COMMAND ; STATUS=$? ; until [ $STATUS = 0 ] do
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Feb 19 20:34:14 UTC 2022 - 1.4K bytes - Viewed (0) -
helm/minio/templates/securitycontextconstraints.yaml
uid: {{ .Values.securityContext.runAsUser }} seLinuxContext: type: MustRunAs supplementalGroups: type: RunAsAny volumes: - configMap - downwardAPI - emptyDir - persistentVolumeClaim - projected - secretRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 20 22:30:54 UTC 2021 - 1.1K bytes - Viewed (0) -
docs/extensions/s3zip/examples/minio-go/main.go
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { s3Client, err := minio.New("minio-server-address:9000", &minio.Options{ Creds: credentials.NewStaticV4("access-key", "secret-key", ""), }) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request: opts.Set("x-minio-extract", "true") // Download API.md from the archive
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jun 14 18:04:14 UTC 2021 - 694 bytes - Viewed (0)