How it Works
RWX issues OIDC tokens that identify specific vaults within your organization. Namespace verifies these tokens and grants access to workspace resources based on the configured trust relationships.- Issuer:
https://cloud.rwx.com/mint - Subject Format:
org:{org-slug}:vault:{vault-name}
Trust relationships allow you to specify which RWX vaults can access your workspace. You can grant access to specific vaults or use wildcards to allow all vaults in your organization.
Setup
Configure Trust Relationship
Use the Namespace CLI to establish a trust relationship with your RWX organization:For a specific vault:For all vaults in your organization:
Usage Examples
Once the trust relationship is configured, your RWX workflows can access Namespace resources using the federated identity.Triggering Remote Builds
Downloading Artifacts
Accessing Bazel Cache
Security Considerations
- Least Privilege: Configure trust relationships to grant access only to the specific vaults that need it
- Subject Patterns: Use specific vault names rather than wildcards when possible
- Audit Logging: All access through federated identity is logged in Namespace audit logs
Common Use Cases
- CI/CD Pipelines: Trigger Namespace builds as part of your RWX workflows
- Artifact Management: Upload build outputs to Namespace or download dependencies
- Cache Sharing: Leverage Namespace’s remote caching for Bazel, Go modules, and more
- Preview Deployments: Create and manage preview environments from RWX
Related Topics
- Trust Relationships CLI Reference - Detailed CLI documentation
- Workspace Access Controls - Overview of authentication and access control
- OpenID Connect Federation - General OIDC federation concepts
- Security - Security best practices and audit logging