Skip to content

Commit 815031d

Browse files
authored
feat(VpcInstanceAuthenticator): add support for new VPC authentication flow (#153)
This commit introduces the VpcInstanceAuthenticator. This authenticator implements the authentication flow within a VPC-managed compute resource that is configured to use the compute resource identity feature. This involves the use of the compute resource's local VPC Instance Metadata Service API to retrieve an instance identity token, and then exchange that token for an IAM access token. The IAM access token is then used to authenticate outbound REST API requests by adding an Authorization containing the access token.
1 parent cbe84fc commit 815031d

19 files changed

+1330
-93
lines changed

.secrets.baseline

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "package-lock.json|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2021-10-05T00:34:30Z",
6+
"generated_at": "2021-10-25T15:49:19Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -67,26 +67,26 @@
6767
"results": {
6868
"Authentication.md": [
6969
{
70-
"hashed_secret": "47fcf185ee7e15fe05cae31fbe9e4ebe4a06a40d",
70+
"hashed_secret": "91dfd9ddb4198affc5c194cd8ce6d338fde470e2",
7171
"is_secret": false,
7272
"is_verified": false,
73-
"line_number": 192,
73+
"line_number": 71,
7474
"type": "Secret Keyword",
7575
"verified_result": null
7676
},
7777
{
7878
"hashed_secret": "98635b2eaa2379f28cd6d72a38299f286b81b459",
7979
"is_secret": false,
8080
"is_verified": false,
81-
"line_number": 316,
81+
"line_number": 404,
8282
"type": "Secret Keyword",
8383
"verified_result": null
8484
},
8585
{
86-
"hashed_secret": "91dfd9ddb4198affc5c194cd8ce6d338fde470e2",
86+
"hashed_secret": "47fcf185ee7e15fe05cae31fbe9e4ebe4a06a40d",
8787
"is_secret": false,
8888
"is_verified": false,
89-
"line_number": 348,
89+
"line_number": 439,
9090
"type": "Secret Keyword",
9191
"verified_result": null
9292
}
@@ -104,23 +104,23 @@
104104
"hashed_secret": "d4c3d66fd0c38547a3c7a4c6bdc29c36911bc030",
105105
"is_secret": false,
106106
"is_verified": false,
107-
"line_number": 43,
107+
"line_number": 44,
108108
"type": "Secret Keyword",
109109
"verified_result": null
110110
},
111111
{
112112
"hashed_secret": "8318df9ecda039deac9868adf1944a29a95c7114",
113113
"is_secret": false,
114114
"is_verified": false,
115-
"line_number": 45,
115+
"line_number": 46,
116116
"type": "Secret Keyword",
117117
"verified_result": null
118118
},
119119
{
120120
"hashed_secret": "9a66213cc16d178fdbf9f4da6b7bd92497fda404",
121121
"is_secret": false,
122122
"is_verified": false,
123-
"line_number": 51,
123+
"line_number": 52,
124124
"type": "Secret Keyword",
125125
"verified_result": null
126126
}
@@ -196,7 +196,7 @@
196196
"hashed_secret": "028b5586cf1cd56839aa65b4546373e12fb60396",
197197
"is_secret": false,
198198
"is_verified": false,
199-
"line_number": 678,
199+
"line_number": 706,
200200
"type": "Secret Keyword",
201201
"verified_result": null
202202
}
@@ -248,15 +248,15 @@
248248
"hashed_secret": "f2e7745f43b0ef0e2c2faf61d6c6a28be2965750",
249249
"is_secret": false,
250250
"is_verified": false,
251-
"line_number": 71,
251+
"line_number": 96,
252252
"type": "Secret Keyword",
253253
"verified_result": null
254254
},
255255
{
256256
"hashed_secret": "e4f50034475acff058e17b35679f8ef1e54f86c5",
257257
"is_secret": false,
258258
"is_verified": false,
259-
"line_number": 85,
259+
"line_number": 98,
260260
"type": "Secret Keyword",
261261
"verified_result": null
262262
}

0 commit comments

Comments
 (0)