Repository navigation
Commit 38db4c9
committed
feat(gateway): configure provider workload identity
Add the gateway setting that turns on per-sandbox SPIFFE provider grants
for dedicated supervisors, and document the mode.
- [openshell.gateway.spiffe_workload_identity] sets the SPIFFE ID prefix
and the gateway's Workload API socket. It needs a positive
gateway_jwt.ttl_secs and excludes spiffe_broker.
- Preflight and startup require an explicit compute driver, reject the
Kubernetes driver, and check the selected Docker, Podman, or VM table
for a Workload API Unix socket and a supervisor endpoint that uses
HTTPS or numeric loopback. A socket value that is set but invalid is
reported with the rule it broke. Diagnostics carry no configuration
values.
- The gateway tells managed Docker, Podman, and VM drivers that the mode
is selected through one Configure field.
- The docs cover issuer registration for both identities, the evidence
each runtime gives an attestor, turning the mode on and off, what an
extension driver must implement, and a two-sandbox verification
procedure.
Signed-off-by: Shiju <shiju@nvidia.com>1 parent 92f4f84 commit 38db4c9
9 files changed
Lines changed: 625 additions & 24 deletions
File tree
- crates
- openshell-gateway/src
- launcher
- openshell-server/src
- docs/how-it-works
- gateways
- providers
- examples/spiffe-token-exchange-demo/podman
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
765 | 765 | | |
766 | 766 | | |
767 | 767 | | |
| 768 | + | |
768 | 769 | | |
769 | 770 | | |
770 | 771 | | |
| |||
790 | 791 | | |
791 | 792 | | |
792 | 793 | | |
| 794 | + | |
793 | 795 | | |
794 | 796 | | |
795 | 797 | | |
| |||
802 | 804 | | |
803 | 805 | | |
804 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
805 | 818 | | |
806 | 819 | | |
807 | 820 | | |
| |||
872 | 885 | | |
873 | 886 | | |
874 | 887 | | |
875 | | - | |
| 888 | + | |
876 | 889 | | |
877 | 890 | | |
878 | 891 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| 601 | + | |
601 | 602 | | |
602 | 603 | | |
603 | 604 | | |
604 | 605 | | |
605 | 606 | | |
606 | 607 | | |
| 608 | + | |
| 609 | + | |
607 | 610 | | |
608 | 611 | | |
609 | 612 | | |
| |||
645 | 648 | | |
646 | 649 | | |
647 | 650 | | |
| 651 | + | |
648 | 652 | | |
649 | 653 | | |
650 | 654 | | |
| |||
654 | 658 | | |
655 | 659 | | |
656 | 660 | | |
| 661 | + | |
657 | 662 | | |
658 | 663 | | |
659 | 664 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
| 427 | + | |
427 | 428 | | |
428 | 429 | | |
429 | 430 | | |
| |||
488 | 489 | | |
489 | 490 | | |
490 | 491 | | |
491 | | - | |
| 492 | + | |
| 493 | + | |
492 | 494 | | |
493 | 495 | | |
494 | 496 | | |
| |||
559 | 561 | | |
560 | 562 | | |
561 | 563 | | |
562 | | - | |
| 564 | + | |
| 565 | + | |
563 | 566 | | |
564 | 567 | | |
565 | 568 | | |
| |||
0 commit comments