@sanoma-ai/connector-gcp 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -1
- package/dist/authentication.d.ts +4 -2
- package/dist/authentication.js +10 -2
- package/dist/authentication.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/provisioning-identity.d.ts +12 -0
- package/dist/provisioning-identity.js +48 -0
- package/dist/provisioning-identity.js.map +1 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -46,10 +46,36 @@ export default defineConfig({ connectors: [gcp], connections: [provisioning] });
|
|
|
46
46
|
|
|
47
47
|
The mapping contains a file **path**, not its contents. Deliver the file through the trusted deployment environment; keep its contents and source tokens out of code, resource inputs, fixtures, logs and the secret-entry form. Treat this configuration and its file as security-sensitive even though no service-account private key is involved. Connect/verify the named account through the normal connection lifecycle; a declaration alone is not a verified binding.
|
|
48
48
|
|
|
49
|
-
Only
|
|
49
|
+
Only explicit `external_account` OIDC federation configuration is accepted. It must use Google's STS endpoint, a JWT subject token and impersonation of the exact configured service account. Service-account key files, executable sources, AWS environment sources and ambient ADC fallback are refused. A successful token exchange and impersonation verify the selected identity; a configured email alone is not proof. Verification returns the account identity and an empty scope list, not the access token or an attestation of individual IAM grants. Google IAM remains authoritative for permissions.
|
|
50
50
|
|
|
51
51
|
The provider receives that explicit federation configuration inside a fresh session for each authorized operation. The driver checks project IDs/numbers in resource identifiers and fields against the selected deployment. The provisioning account's Google IAM grants must also limit its authority: application-side checks do not replace IAM isolation. Give provisioning and company runtime different service accounts and roles; a company runtime must not inherit the provisioning account's IAM administration permissions.
|
|
52
52
|
|
|
53
|
+
### Provisioning service on a non-Google host
|
|
54
|
+
|
|
55
|
+
Use the separate [provisioning identity service](../../packages/workflows/CLOUD-IDENTITY.md#provisioning-identity-from-a-non-google-host) when the control plane has no native Google identity:
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
import { gcpProvisioningIdentity, gcpWithIdentities } from "@sanoma-ai/connector-gcp";
|
|
59
|
+
|
|
60
|
+
const gcp = gcpWithIdentities({
|
|
61
|
+
"gcp/provisioning": gcpProvisioningIdentity({
|
|
62
|
+
project: "example-company",
|
|
63
|
+
projectNumber: "123456789012",
|
|
64
|
+
serviceAccount: "provisioner@example-company.iam.gserviceaccount.com",
|
|
65
|
+
audience:
|
|
66
|
+
"//iam.googleapis.com/projects/123456789012/locations/global/workloadIdentityPools/provision/providers/google",
|
|
67
|
+
issuer: "https://provisioning.example.test/identity",
|
|
68
|
+
credential: async () => process.env.SANOMA_PROVISIONING_CREDENTIAL ?? "",
|
|
69
|
+
}),
|
|
70
|
+
});
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
This is trusted deployment composition. The host supplies that explicit secret binding; there is no implicit environment fallback. `gcpProvisioningIdentity` generates an HTTPS URL-source configuration in memory, fixes Google STS and the target impersonation URL, and requests ten-minute access tokens. The named account must still be verified normally.
|
|
74
|
+
|
|
75
|
+
The callback is read for each verification and provider operation. A running provider session holds its starting bootstrap header while it renews from the URL, so bootstrap rotation needs enough overlap for active operations to finish. Stopping enrollment does not invalidate already issued Google OIDC tokens, which last up to one hour: remove federation/impersonation trust as part of incident revocation. Runtime identities use the separate company broker and never receive this provisioning bootstrap.
|
|
76
|
+
|
|
77
|
+
For another trusted deployment integration, `GcpIdentity.credentials` can return external-account JSON asynchronously instead of `credentialsFile`. Configure exactly one source. Callback/file/SDK failures are sanitized and never fall back to another identity. Do not call this callback from a workflow or serialize its output into durable state.
|
|
78
|
+
|
|
53
79
|
### First administrator setup
|
|
54
80
|
|
|
55
81
|
An administrator must first establish the project, billing, required APIs, provisioning service account and initial federation trust using an existing authorized administration path. This connector has no project, billing or API-enablement resource. Grant the provisioning account only the KMS/IAM administration needed for its intended declarations, and grant the approved federated principal service-account impersonation access. Once that trust works, Sanoma can manage subsequent resources or import existing ones. See [Google's deployment-pipeline WIF setup](https://docs.cloud.google.com/iam/docs/workload-identity-federation-with-deployment-pipelines).
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type AuthenticationContext } from "@sanoma-ai/workflows";
|
|
2
|
-
/** Trusted deployment configuration
|
|
2
|
+
/** Trusted deployment configuration, resolved inside each authorized invocation. */
|
|
3
3
|
export interface GcpIdentity {
|
|
4
4
|
project: string;
|
|
5
5
|
projectNumber: string;
|
|
6
6
|
serviceAccount: string;
|
|
7
|
-
credentialsFile
|
|
7
|
+
credentialsFile?: string;
|
|
8
|
+
/** Reads protected external-account configuration; never a workflow callback or durable result. */
|
|
9
|
+
credentials?: () => Promise<string>;
|
|
8
10
|
}
|
|
9
11
|
export type GcpIdentities = Readonly<Record<string, GcpIdentity>>;
|
|
10
12
|
export declare function identityFor(identities: GcpIdentities, context?: AuthenticationContext): GcpIdentity;
|
package/dist/authentication.js
CHANGED
|
@@ -7,14 +7,22 @@ export function identityFor(identities, context) {
|
|
|
7
7
|
!/^[a-z][a-z0-9-]{4,28}[a-z0-9]$/.test(identity.project) ||
|
|
8
8
|
!/^[1-9][0-9]+$/.test(identity.projectNumber) ||
|
|
9
9
|
!/^[a-z][a-z0-9-]+@[a-z][a-z0-9-]+\.iam\.gserviceaccount\.com$/.test(identity.serviceAccount) ||
|
|
10
|
-
!identity.credentialsFile)
|
|
10
|
+
!((typeof identity.credentialsFile === "string" && identity.credentialsFile.length > 0 && !identity.credentials) ||
|
|
11
|
+
(typeof identity.credentials === "function" && identity.credentialsFile === undefined)))
|
|
11
12
|
throw new AuthenticationError("missing");
|
|
12
13
|
return identity;
|
|
13
14
|
}
|
|
14
15
|
/** Explicit WIF config only: no ambient ADC fallback, service-account key or executable source. */
|
|
15
16
|
export async function federationCredentials(identity) {
|
|
16
17
|
try {
|
|
17
|
-
|
|
18
|
+
// Refuse ambiguous sources even when called outside identityFor. Never fall back on failure.
|
|
19
|
+
const text = identity.credentials && identity.credentialsFile === undefined
|
|
20
|
+
? await identity.credentials()
|
|
21
|
+
: identity.credentialsFile && !identity.credentials
|
|
22
|
+
? await readFile(identity.credentialsFile, "utf8")
|
|
23
|
+
: (() => {
|
|
24
|
+
throw new Error();
|
|
25
|
+
})();
|
|
18
26
|
if (Buffer.byteLength(text) > 65_536)
|
|
19
27
|
throw new Error();
|
|
20
28
|
const config = JSON.parse(text);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.js","sourceRoot":"","sources":["../src/authentication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAA8B,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"authentication.js","sourceRoot":"","sources":["../src/authentication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAA8B,MAAM,sBAAsB,CAAC;AAa7G,MAAM,UAAU,WAAW,CAAC,UAAyB,EAAE,OAA+B;IACpF,MAAM,QAAQ,GAAG,OAAO,EAAE,MAAM,KAAK,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1F,IACE,CAAC,QAAQ;QACT,CAAC,gCAAgC,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;QACxD,CAAC,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC;QAC7C,CAAC,8DAA8D,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;QAC7F,CAAC,CACC,CAAC,OAAO,QAAQ,CAAC,eAAe,KAAK,QAAQ,IAAI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 +1,7 @@
|
|
|
1
1
|
import { type GcpIdentities } from "./authentication.ts";
|
|
2
|
+
export { gcpProvisioningIdentity } from "./provisioning-identity.ts";
|
|
2
3
|
export type { GcpIdentities, GcpIdentity } from "./authentication.ts";
|
|
3
|
-
/** Bind named connections to trusted deployment WIF
|
|
4
|
+
/** Bind named connections to trusted deployment WIF sources; configuration contains no secret values. */
|
|
4
5
|
export declare function gcpWithIdentities(identities: GcpIdentities): import("@sanoma-ai/workflows").Connector<"gcp", import("@sanoma-ai/bridge/connector").TfResources<"gcp", {
|
|
5
6
|
keyRing: import("zod").ZodObject<{
|
|
6
7
|
id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,8 @@ import { gcpTf } from "./connector.js";
|
|
|
3
3
|
import { gcpAuthentication } from "./authentication.js";
|
|
4
4
|
import { gcpDriver } from "./driver.js";
|
|
5
5
|
import { fakeGcp } from "./fake.js";
|
|
6
|
-
|
|
6
|
+
export { gcpProvisioningIdentity } from "./provisioning-identity.js";
|
|
7
|
+
/** Bind named connections to trusted deployment WIF sources; configuration contains no secret values. */
|
|
7
8
|
export function gcpWithIdentities(identities) {
|
|
8
9
|
const configured = Object.freeze(Object.fromEntries(Object.entries(identities).map(([id, identity]) => [id, Object.freeze({ ...identity })])));
|
|
9
10
|
return withSetup(gcpTf.connector, {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAsB,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAsB,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAGrE,yGAAyG;AACzG,MAAM,UAAU,iBAAiB,CAAC,UAAyB;IACzD,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAC9B,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAC7G,CAAC;IACF,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,EAAE;QAChC,cAAc,EAAE,EAAE,gBAAgB,EAAE,iBAAiB,CAAC,UAAU,CAAC,EAAE;QACnE,MAAM,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC;QACnC,IAAI,EAAE,OAAO;KACd,CAAC,CAAC;AACL,CAAC;AAED,oGAAoG;AACpG,MAAM,CAAC,MAAM,GAAG,GAAG,iBAAiB,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GcpIdentity } from "./authentication.ts";
|
|
2
|
+
/** Build a protected URL-source WIF configuration for the separate provisioning identity service. */
|
|
3
|
+
export declare function gcpProvisioningIdentity(options: {
|
|
4
|
+
project: string;
|
|
5
|
+
projectNumber: string;
|
|
6
|
+
serviceAccount: string;
|
|
7
|
+
audience: string;
|
|
8
|
+
/** HTTPS GET /identity endpoint; fixed by the deployment, never connection input. */
|
|
9
|
+
issuer: string;
|
|
10
|
+
/** Read the current provisioning bearer from protected host configuration. */
|
|
11
|
+
credential(): Promise<string>;
|
|
12
|
+
}): GcpIdentity;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AuthenticationError } from "@sanoma-ai/workflows";
|
|
2
|
+
/** Build a protected URL-source WIF configuration for the separate provisioning identity service. */
|
|
3
|
+
export function gcpProvisioningIdentity(options) {
|
|
4
|
+
const { project, projectNumber, serviceAccount, audience, issuer, credential } = options;
|
|
5
|
+
try {
|
|
6
|
+
const url = new URL(issuer);
|
|
7
|
+
if (url.protocol !== "https:" ||
|
|
8
|
+
url.username ||
|
|
9
|
+
url.password ||
|
|
10
|
+
url.search ||
|
|
11
|
+
url.hash ||
|
|
12
|
+
url.pathname !== "/identity" ||
|
|
13
|
+
!/^\/\/iam\.googleapis\.com\/projects\/[1-9][0-9]+\/locations\/global\/workloadIdentityPools\/[a-z][a-z0-9-]+\/providers\/[a-z][a-z0-9-]+$/.test(audience))
|
|
14
|
+
throw new Error();
|
|
15
|
+
}
|
|
16
|
+
catch {
|
|
17
|
+
throw new AuthenticationError("rejected");
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
project,
|
|
21
|
+
projectNumber,
|
|
22
|
+
serviceAccount,
|
|
23
|
+
credentials: async () => {
|
|
24
|
+
try {
|
|
25
|
+
const bearer = await credential();
|
|
26
|
+
if (!/^[A-Za-z0-9_-]{43}$/.test(bearer))
|
|
27
|
+
throw new Error();
|
|
28
|
+
return JSON.stringify({
|
|
29
|
+
type: "external_account",
|
|
30
|
+
audience,
|
|
31
|
+
subject_token_type: "urn:ietf:params:oauth:token-type:jwt",
|
|
32
|
+
token_url: "https://sts.googleapis.com/v1/token",
|
|
33
|
+
service_account_impersonation_url: `https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/${serviceAccount}:generateAccessToken`,
|
|
34
|
+
service_account_impersonation: { token_lifetime_seconds: 600 },
|
|
35
|
+
credential_source: {
|
|
36
|
+
url: issuer,
|
|
37
|
+
headers: { Authorization: `Bearer ${bearer}` },
|
|
38
|
+
format: { type: "json", subject_token_field_name: "idToken" },
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
catch {
|
|
43
|
+
throw new AuthenticationError("rejected");
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=provisioning-identity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provisioning-identity.js","sourceRoot":"","sources":["../src/provisioning-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAG3D,qGAAqG;AACrG,MAAM,UAAU,uBAAuB,CAAC,OASvC;IACC,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;IACzF,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;QAC5B,IACE,GAAG,CAAC,QAAQ,KAAK,QAAQ;YACzB,GAAG,CAAC,QAAQ;YACZ,GAAG,CAAC,QAAQ;YACZ,GAAG,CAAC,MAAM;YACV,GAAG,CAAC,IAAI;YACR,GAAG,CAAC,QAAQ,KAAK,WAAW;YAC5B,CAAC,0IAA0I,CAAC,IAAI,CAC9I,QAAQ,CACT;YAED,MAAM,IAAI,KAAK,EAAE,CAAC;IACtB,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO;QACL,OAAO;QACP,aAAa;QACb,cAAc;QACd,WAAW,EAAE,KAAK,IAAI,EAAE;YACtB,IAAI,CAAC;gBACH,MAAM,MAAM,GAAG,MAAM,UAAU,EAAE,CAAC;gBAClC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC;oBAAE,MAAM,IAAI,KAAK,EAAE,CAAC;gBAC3D,OAAO,IAAI,CAAC,SAAS,CAAC;oBACpB,IAAI,EAAE,kBAAkB;oBACxB,QAAQ;oBACR,kBAAkB,EAAE,sCAAsC;oBAC1D,SAAS,EAAE,qCAAqC;oBAChD,iCAAiC,EAAE,uEAAuE,cAAc,sBAAsB;oBAC9I,6BAA6B,EAAE,EAAE,sBAAsB,EAAE,GAAG,EAAE;oBAC9D,iBAAiB,EAAE;wBACjB,GAAG,EAAE,MAAM;wBACX,OAAO,EAAE,EAAE,aAAa,EAAE,UAAU,MAAM,EAAE,EAAE;wBAC9C,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,wBAAwB,EAAE,SAAS,EAAE;qBAC9D;iBACF,CAAC,CAAC;YACL,CAAC;YAAC,MAAM,CAAC;gBACP,MAAM,IAAI,mBAAmB,CAAC,UAAU,CAAC,CAAC;YAC5C,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanoma-ai/connector-gcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Google Cloud KMS and IAM provisioning through isolated OpenTofu provider sessions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"connector",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"google-auth-library": "^10.5.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@sanoma-ai/bridge": "0.5.
|
|
58
|
-
"@sanoma-ai/workflows": "0.10.
|
|
57
|
+
"@sanoma-ai/bridge": "0.5.1",
|
|
58
|
+
"@sanoma-ai/workflows": "0.10.7",
|
|
59
59
|
"msw": "^3.0.3",
|
|
60
60
|
"zod": "^4.6.5"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@sanoma-ai/bridge": "^0.5.
|
|
64
|
-
"@sanoma-ai/workflows": "^0.10.
|
|
63
|
+
"@sanoma-ai/bridge": "^0.5.1",
|
|
64
|
+
"@sanoma-ai/workflows": "^0.10.7",
|
|
65
65
|
"zod": "^4"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|