Commit 44c93d2
authored
fix(auth): allowlist agents-nonprod trust domains for agent identity (googleapis#17155)
Allow `agents-nonprod` SPIFFE trust domains
(`agents-nonprod.global.org-<id>.system.id.goog` and
`agents-nonprod.global.proj-<id>.system.id.goog`) in addition to the
production `agents` ones. This enables support for Agent Identity
testing and validation in non-production environments (e.g., GKE
autopush, staging), resolving pool format validation failures for
non-prod agent pools.
Bug: b/5135749811 parent ff52983 commit 44c93d2Copy full SHA for 44c93d2
2 files changed
+15-10Lines changed: 15 additions & 10 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/google-auth
- google/auth
- tests
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/google-auth/google/auth/_agent_identity_utils.py
Copy file name to clipboardExpand all lines: packages/google-auth/google/auth/_agent_identity_utils.py+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
26 | | - |
27 | | - |
| 25 | + |
28 | 26 | |
29 | 27 | |
30 | 28 | |
| ||
37 | 35 | |
38 | 36 | |
39 | 37 | |
| 38 | + |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
|
Collapse file
packages/google-auth/tests/test_agent_identity_utils.py
Copy file name to clipboardExpand all lines: packages/google-auth/tests/test_agent_identity_utils.py+12-7Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
25 | | - |
26 | | - |
| 24 | + |
27 | 25 | |
28 | 26 | |
29 | 27 | |
| ||
60 | 58 | |
61 | 59 | |
62 | 60 | |
63 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
64 | 71 | |
65 | 72 | |
66 | 73 | |
67 | 74 | |
68 | 75 | |
69 | | - |
70 | | - |
71 | | - |
| 76 | + |
72 | 77 | |
73 | 78 | |
74 | 79 | |
|
0 commit comments