@atlasauth/cli 0.9.0 → 0.11.0

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/dist/help.js CHANGED
@@ -27,6 +27,14 @@ Commands:
27
27
  csp --framework next|express|nginx
28
28
  Print the Content Security Policy sources Atlas needs
29
29
  integrations list|get|set|remove|deliveries Identity integrations (chat, docs, consent, referrals, custom)
30
+ partner-platforms list|get|set|registration|token|deliveries|remove
31
+ This instance as a partner platform (signed consent deliveries in)
32
+ id-accounts provision|list|rotate|remove
33
+ Test and review accounts for a Sign in with Atlas app (passwords go to 0600 files)
34
+ admin id-accounts list|provision|extend|rotate|revoke
35
+ admin developer-accounts provision|revoke
36
+ Atlas staff: accounts for other platforms' integration teams
37
+ (operator sign-in with a recent second factor; passwords to 0600 files)
30
38
  sessions revoke
31
39
  config export|import|plan Config-as-code: round-trip the instance's config; plan = drift diff
32
40
  actions list|deploy|test|logs|gallery|show|install|installs|update|publish
@@ -277,7 +285,13 @@ Opens Atlas's sign-in (passkey, multi-factor) with a device code. Only
277
285
  short-lived tokens are stored: the operator token, and with --resource a
278
286
  one-hour token bound to that instance or app (scope "read" by default).
279
287
  Creating apps or instances and minting keys need a multi-factor sign-in
280
- within the last 5 minutes.`,
288
+ within the last 5 minutes.
289
+
290
+ An operator token for another product that trusts Atlas operators:
291
+ atlas login --device --audience <id> [--json]
292
+ <id> is one of the audiences GET /v1/operator lists. The token carries
293
+ aud=<id>, auth_time, amr/acr and your verified email; it is printed (for
294
+ that product's own token exchange), never stored, and Atlas refuses it.`,
281
295
  token: `atlas token — a one-hour token bound to one instance or app
282
296
 
283
297
  Usage: atlas token --resource <ins_…|app_…|acct_…> [--scope "<scopes>"] [--json]
@@ -383,6 +397,78 @@ Any provider that publishes the open embed-manifest format ({surfaces:{name:{csp
383
397
  usually at /.well-known/atlas-embed.json) can be merged in with --manifest <url|file>
384
398
  (repeatable): a consent platform, chat widget, captcha or analytics vendor. --no-atlas
385
399
  skips the Atlas instance and uses only the manifests you list.`,
400
+ 'partner-platforms': `atlas partner-platforms — this instance as a partner platform of another product
401
+
402
+ Usage:
403
+ atlas partner-platforms list [--json]
404
+ atlas partner-platforms get <partner>
405
+ atlas partner-platforms set <partner> [--platform-id <id>] [--jwks-url <url>] [--signature-header <name>]
406
+ [--allowed-source <site id>]... [--disable] [--json]
407
+ atlas partner-platforms registration <partner> [--json]
408
+ atlas partner-platforms token <partner> --token-file <path|-> [--rotate] [--base-url <partner api>]
409
+ atlas partner-platforms deliveries <partner> [--limit <n>] [--json]
410
+ atlas partner-platforms remove <partner> [--json]
411
+
412
+ <partner> is a preset (cookiemunch) or your own id (then --platform-id, --jwks-url
413
+ and --signature-header are required). "registration" prints what to send the
414
+ partner; the partner registers the receiver and hands back a partner token once.
415
+ "token" stores it encrypted (from a file, stdin with -, or ATLAS_PARTNER_TOKEN);
416
+ it is never printed or shown again.`,
417
+ admin: `atlas admin — Atlas staff: Sign in with Atlas accounts for other platforms' integration teams
418
+
419
+ Usage:
420
+ atlas admin id-accounts list [--team <team>] [--kind provisioned|developer] [--limit <n>] [--json]
421
+ atlas admin id-accounts provision --email <address> --team <team> (--app <id[,id…]> | --any-app)
422
+ [--days <n> | --expires-at <ISO date|epoch ms>] [--two-factor-exempt]
423
+ [--password-file <path|->] [--unverified] [--product <name>] [--print-secret] [--json]
424
+ atlas admin id-accounts extend <account id> [--days <n> | --expires-at <ISO date|epoch ms>] [--json]
425
+ atlas admin id-accounts rotate <account id> [--password-file <path|->] [--print-secret] [--json]
426
+ atlas admin id-accounts revoke <account id> [--json]
427
+ atlas admin developer-accounts provision --email <address> --team <team>
428
+ [--account-name <name>] [--application-name <name>]
429
+ [--days <n> | --expires-at <ISO date|epoch ms>] [--password-file <path|->] [--json]
430
+ atlas admin developer-accounts revoke <account id> [--json]
431
+
432
+ Common: [--profile <name>] [--staff-account <acct_…>] [--no-step-up]
433
+
434
+ Only owners and admins of Atlas's own account can use these. The credential is your
435
+ operator sign-in ('atlas login --device'), exchanged for a one-hour token on Atlas's
436
+ account (--staff-account, or ATLAS_STAFF_ACCOUNT_ID; remembered on the profile) with
437
+ the platform:atlas_id_apps:provision scope. Every call needs a sign-in verified with a
438
+ second factor; writes need one from the last 5 minutes. When Atlas asks for that, the
439
+ CLI starts the operator sign-in again and retries once (--no-step-up: just fail).
440
+
441
+ Accounts expire (30 days by default, at most a year; never "never"). An "id-account"
442
+ signs in only to the named apps (or any customer app with --any-app), never to the
443
+ Atlas dashboard, the CLI or account settings. A developer account is a dashboard
444
+ account owning a test application. Passwords come back sealed to a key made for the
445
+ run and are written to a 0600 file (staff-account-<id>.env under ~/.config/<product>/),
446
+ never printed unless you pass --print-secret.`,
447
+ 'id-accounts': `atlas id-accounts — test and review accounts for a Sign in with Atlas app
448
+
449
+ Usage:
450
+ atlas id-accounts provision --app <app id> --email <address> --label <purpose>
451
+ [--password-file <path|->] [--two-factor-exempt]
452
+ [--expires-at <ISO date|epoch ms>] [--unverified]
453
+ [--product <name>] [--print-secret] [--json]
454
+ atlas id-accounts list --app <app id> [--json]
455
+ atlas id-accounts rotate <account id> --app <app id> [--password-file <path|->]
456
+ [--product <name>] [--print-secret] [--json]
457
+ atlas id-accounts remove <account id> --app <app id> [--json]
458
+
459
+ For directory and app-store reviewer logins, end-to-end tests in CI, demos and
460
+ partner testing. The account is a real Atlas account that works with THIS app
461
+ only (never other apps, the Atlas dashboard or account settings). Needs a
462
+ platform key scoped platform:atlas_id_apps:provision, or atlas_id_apps:<app id>:provision
463
+ for one app (ATLAS_PLATFORM_KEY, or a psk_ profile from atlas login).
464
+
465
+ Without --password-file Atlas generates a strong password. Either way the password
466
+ is returned once and written to a 0600 file (id-account-<id>.env under
467
+ ~/.config/<product>/); it is never printed unless you pass --print-secret.
468
+ --two-factor-exempt lets the account skip the second factor for this app: anyone who
469
+ holds the password can sign in, so use it only for reviewer logins. Without
470
+ --expires-at the account never expires. "remove" deletes the account and ends its
471
+ sessions and grants.`,
386
472
  integrations: `atlas integrations — identity integrations (presets and custom)
387
473
 
388
474
  Usage:
package/dist/help.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"help.js","sourceRoot":"","sources":["../src/help.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEU,QAAA,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAqEgC,CAAC;AAEzD,oDAAoD;AACvC,QAAA,YAAY,GAA2B;IAClD,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAyDmC;IAC5C,IAAI,EAAE;;;;;;;;;;gEAUwD;IAC9D,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAmCiE;IACzE,GAAG,EAAE;;;;;;;;;;;;;;;+CAewC;IAC7C,MAAM,EAAE;;;;;;;;;;;;sCAY4B;IACpC,SAAS,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEAkD4D;IAEvE,KAAK,EAAE;;;;;;;;;;;;;;2BAckB;IAEzB,KAAK,EAAE;;;;;4CAKmC;IAE1C,IAAI,EAAE;;;;;;;;;;;;qBAYa;IAEnB,MAAM,EAAE;;uCAE6B;IAErC,MAAM,EAAE;;gDAEsC;IAE9C,KAAK,EAAE;;;;;;wCAM+B;IAEtC,IAAI,EAAE;;;;;uCAK+B;IAErC,UAAU,EAAE;;;;;;8CAMgC;IAE5C,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;4DAoBgD;IAC1D,MAAM,EAAE;;;;;;;;;;;;gFAYsE;IAC9E,aAAa,EAAE;;;;;;;;;gFAS+D;IAC9E,GAAG,EAAE;;;;;;;;;;;;;;;+DAewD;IAE7D,YAAY,EAAE;;;;;;;;;;;;;;qCAcqB;IAEnC,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;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AE5C,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;4DAoBgD;IAC1D,MAAM,EAAE;;;;;;;;;;;;gFAYsE;IAC9E,aAAa,EAAE;;;;;;;;;gFAS+D;IAC9E,GAAG,EAAE;;;;;;;;;;;;;;;+DAewD;IAE7D,mBAAmB,EAAE;;;;;;;;;;;;;;;;oCAgBa;IAElC,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CA6BqC;IAE5C,aAAa,EAAE;;;;;;;;;;;;;;;;;;;;;;;;qBAwBI;IAEnB,YAAY,EAAE;;;;;;;;;;;;;;qCAcqB;IAEnC,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEA+BiE;IAEvE,SAAS,EAAE;;;;;;oDAMuC;IAElD,MAAM,EAAE;;;;;;;;iEAQuD;IAE/D,GAAG,EAAE;;;;;;;;;;mDAU4C;IAEjD,MAAM,EAAE;;;;;;;;wDAQ8C;IAEtD,QAAQ,EAAE;;;8CAGkC;IAE5C,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;8EAyBoE;IAC5E,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;qEA0B0D;CACpE,CAAC"}
package/dist/project.d.ts CHANGED
@@ -58,6 +58,7 @@ export declare function parseInstanceEnv(raw: string | undefined, fallback: Inst
58
58
  export declare function httpFor(ctx: RunContext, opts: {
59
59
  secretKey: string;
60
60
  apiUrl: string;
61
+ headers?: Record<string, string>;
61
62
  }): ConfigHttp;
62
63
  /** Read the instance secret key from the project's secret file. */
63
64
  export declare function instanceSecretFromFile(instance: ProjectInstance): string;
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":";;;AA0CA,oCAEC;AAED,oCAMC;AAED,sCAOC;AAGD,oCAaC;AAkBD,4CAMC;AAGD,0BAEC;AAGD,wDAQC;AArHD,qCAAyF;AACzF,qCAAkC;AAClC,yCAAiC;AACjC,+CAAk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,GAAG,CAAC;AACb,CAAC"}
package/dist/run.js CHANGED
@@ -24,6 +24,9 @@ const status_1 = require("./commands/status");
24
24
  const users_1 = require("./commands/users");
25
25
  const webhooks_1 = require("./commands/webhooks");
26
26
  const integrations_1 = require("./commands/integrations");
27
+ const id_accounts_1 = require("./commands/id-accounts");
28
+ const admin_1 = require("./commands/admin");
29
+ const partner_platforms_1 = require("./commands/partner-platforms");
27
30
  const errors_1 = require("./errors");
28
31
  const help_1 = require("./help");
29
32
  const version_1 = require("./version");
@@ -39,6 +42,9 @@ const COMMANDS = {
39
42
  'api-keys': api_keys_1.apiKeys,
40
43
  webhooks: webhooks_1.webhooks,
41
44
  integrations: integrations_1.integrations,
45
+ 'partner-platforms': partner_platforms_1.partnerPlatforms,
46
+ 'id-accounts': id_accounts_1.idAccounts,
47
+ admin: admin_1.admin,
42
48
  sessions: sessions_1.sessions,
43
49
  config: config_1.config,
44
50
  actions: actions_1.actions,
package/dist/run.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":";;AAqEA,kBAwCC;AA7GD,gDAAmD;AACnD,iCAAgD;AAChD,gDAA6C;AAC7C,kDAA8C;AAC9C,0CAAwD;AACxD,kDAAkD;AAClD,8CAA2C;AAC3C,0CAAuC;AACvC,8CAAgD;AAChD,0CAAuC;AACvC,wCAAqC;AACrC,8CAA2C;AAC3C,gDAA6C;AAC7C,wDAAoD;AACpD,wCAAqC;AACrC,kEAAoF;AACpF,0CAAuC;AACvC,oDAAiD;AACjD,kDAA+C;AAC/C,8CAA2C;AAC3C,4CAAyC;AACzC,kDAA+C;AAC/C,0DAAuD;AAEvD,qCAAoC;AACpC,iCAAgD;AAChD,uCAAuC;AAKvC,kFAAkF;AAClF,MAAM,QAAQ,GAA4B;IACxC,KAAK,EAAL,YAAK;IACL,MAAM,EAAN,aAAM;IACN,MAAM,EAAN,aAAM;IACN,KAAK,EAAL,gBAAK;IACL,IAAI,E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0.11.0",
4
4
  "description": "atlas — manage an Atlas instance from the terminal via the Backend API.",
5
5
  "bin": {
6
6
  "atlas": "dist/cli.js"
@@ -16,9 +16,9 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@atlasauth/actions": "0.3.0",
19
- "@atlasauth/backend": "0.19.0",
20
19
  "@atlasauth/upgrade": "0.4.0",
21
- "@atlasauth/referral-conformance": "0.1.0"
20
+ "@atlasauth/referral-conformance": "0.1.0",
21
+ "@atlasauth/backend": "0.22.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^22.9.0",
@@ -30,12 +30,13 @@
30
30
  },
31
31
  "files": [
32
32
  "dist",
33
+ "!dist/*.tsbuildinfo",
33
34
  "README.md",
34
35
  "CHANGELOG.md"
35
36
  ],
36
37
  "scripts": {
37
38
  "build": "tsc -p tsconfig.build.json",
38
- "typecheck": "tsc -p tsconfig.json --noEmit",
39
- "test": "vitest run"
39
+ "typecheck": "tsgo -p tsconfig.json --noEmit --module preserve --moduleResolution bundler --incremental --tsBuildInfoFile node_modules/.cache/typecheck.tsbuildinfo",
40
+ "test": "vitest run --no-isolate"
40
41
  }
41
42
  }