|
6 | 6 |
|
7 | 7 | # Type Alias: ExternalAccount |
8 | 8 |
|
9 | | -> **ExternalAccount**: `object` |
| 9 | +> **ExternalAccount** = `object` |
10 | 10 |
|
11 | 11 | Defined in: [auth.ts:45](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L45) |
12 | 12 |
|
13 | 13 | ExternalAccount is an exported credential for an external account |
14 | 14 | like a workload identity pool. |
15 | 15 |
|
16 | | -## Type declaration |
| 16 | +## Properties |
17 | 17 |
|
18 | 18 | ### audience |
19 | 19 |
|
20 | 20 | > **audience**: `string` |
21 | 21 |
|
| 22 | +Defined in: [auth.ts:47](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L47) |
| 23 | + |
| 24 | +*** |
| 25 | + |
22 | 26 | ### client\_id? |
23 | 27 |
|
24 | 28 | > `optional` **client\_id**: `string` |
25 | 29 |
|
| 30 | +Defined in: [auth.ts:52](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L52) |
| 31 | + |
| 32 | +*** |
| 33 | + |
26 | 34 | ### client\_secret? |
27 | 35 |
|
28 | 36 | > `optional` **client\_secret**: `string` |
29 | 37 |
|
| 38 | +Defined in: [auth.ts:53](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L53) |
| 39 | + |
| 40 | +*** |
| 41 | + |
30 | 42 | ### credential\_source |
31 | 43 |
|
32 | 44 | > **credential\_source**: `object` |
33 | 45 |
|
34 | | -#### credential\_source.environment\_id? |
| 46 | +Defined in: [auth.ts:57](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L57) |
| 47 | + |
| 48 | +#### environment\_id? |
35 | 49 |
|
36 | 50 | > `optional` **environment\_id**: `string` |
37 | 51 |
|
38 | | -#### credential\_source.file? |
| 52 | +#### file? |
39 | 53 |
|
40 | 54 | > `optional` **file**: `string` |
41 | 55 |
|
42 | | -#### credential\_source.format? |
| 56 | +#### format? |
43 | 57 |
|
44 | 58 | > `optional` **format**: `object` |
45 | 59 |
|
46 | | -#### credential\_source.format.subject\_token\_field\_name? |
| 60 | +##### format.subject\_token\_field\_name? |
47 | 61 |
|
48 | 62 | > `optional` **subject\_token\_field\_name**: `string` |
49 | 63 |
|
50 | | -#### credential\_source.format.type |
| 64 | +##### format.type |
51 | 65 |
|
52 | 66 | > **type**: `"json"` \| `"text"` |
53 | 67 |
|
54 | | -#### credential\_source.headers? |
| 68 | +#### headers? |
55 | 69 |
|
56 | 70 | > `optional` **headers**: `object` |
57 | 71 |
|
58 | 72 | ##### Index Signature |
59 | 73 |
|
60 | 74 | \[`key`: `string`\]: `string` |
61 | 75 |
|
62 | | -#### credential\_source.region\_url? |
| 76 | +#### region\_url? |
63 | 77 |
|
64 | 78 | > `optional` **region\_url**: `string` |
65 | 79 |
|
66 | | -#### credential\_source.regional\_cred\_verification\_url |
| 80 | +#### regional\_cred\_verification\_url |
67 | 81 |
|
68 | 82 | > **regional\_cred\_verification\_url**: `string` |
69 | 83 |
|
70 | | -#### credential\_source.url? |
| 84 | +#### url? |
71 | 85 |
|
72 | 86 | > `optional` **url**: `string` |
73 | 87 |
|
| 88 | +*** |
| 89 | + |
74 | 90 | ### quota\_project\_id? |
75 | 91 |
|
76 | 92 | > `optional` **quota\_project\_id**: `string` |
77 | 93 |
|
| 94 | +Defined in: [auth.ts:54](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L54) |
| 95 | + |
| 96 | +*** |
| 97 | + |
78 | 98 | ### service\_account\_impersonation\_url? |
79 | 99 |
|
80 | 100 | > `optional` **service\_account\_impersonation\_url**: `string` |
81 | 101 |
|
| 102 | +Defined in: [auth.ts:49](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L49) |
| 103 | + |
| 104 | +*** |
| 105 | + |
82 | 106 | ### subject\_token\_type |
83 | 107 |
|
84 | 108 | > **subject\_token\_type**: `string` |
85 | 109 |
|
| 110 | +Defined in: [auth.ts:48](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L48) |
| 111 | + |
| 112 | +*** |
| 113 | + |
86 | 114 | ### token\_info\_url? |
87 | 115 |
|
88 | 116 | > `optional` **token\_info\_url**: `string` |
89 | 117 |
|
| 118 | +Defined in: [auth.ts:51](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L51) |
| 119 | + |
| 120 | +*** |
| 121 | + |
90 | 122 | ### token\_url |
91 | 123 |
|
92 | 124 | > **token\_url**: `string` |
93 | 125 |
|
| 126 | +Defined in: [auth.ts:50](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L50) |
| 127 | + |
| 128 | +*** |
| 129 | + |
94 | 130 | ### type |
95 | 131 |
|
96 | 132 | > **type**: `string` |
97 | 133 |
|
| 134 | +Defined in: [auth.ts:46](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L46) |
| 135 | + |
| 136 | +*** |
| 137 | + |
98 | 138 | ### workforce\_pool\_user\_project? |
99 | 139 |
|
100 | 140 | > `optional` **workforce\_pool\_user\_project**: `string` |
| 141 | +
|
| 142 | +Defined in: [auth.ts:55](https://github.com/google-github-actions/actions-utils/blob/main/src/auth.ts#L55) |
0 commit comments