mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 19:26:07 +00:00
Merge pull request #4706 from Infisical/improve-relay-docs
Improve relay docs
This commit is contained in:
@@ -31,6 +31,7 @@ If you are moving from Gateway v1 to Gateway v2, this is NOT a drop-in switch. G
|
|||||||
|
|
||||||
## Subcommands & flags
|
## Subcommands & flags
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="infisical gateway start" defaultOpen="true">
|
<Accordion title="infisical gateway start" defaultOpen="true">
|
||||||
Run the Infisical gateway component within your the network where your target resources are located. The gateway establishes an SSH reverse tunnel to the specified relay server and provides secure access to private resources within your network.
|
Run the Infisical gateway component within your the network where your target resources are located. The gateway establishes an SSH reverse tunnel to the specified relay server and provides secure access to private resources within your network.
|
||||||
|
|
||||||
@@ -245,6 +246,7 @@ The Relay supports multiple authentication methods. Below are the available auth
|
|||||||
|
|
||||||
### Other Flags
|
### Other Flags
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="--relay">
|
<Accordion title="--relay">
|
||||||
The name of the relay that this gateway should connect to. The relay must be running and registered before starting the gateway.
|
The name of the relay that this gateway should connect to. The relay must be running and registered before starting the gateway.
|
||||||
|
|
||||||
@@ -276,6 +278,7 @@ The Relay supports multiple authentication methods. Below are the available auth
|
|||||||
```
|
```
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="infisical gateway systemd install">
|
<Accordion title="infisical gateway systemd install">
|
||||||
@@ -293,6 +296,7 @@ sudo infisical gateway systemd install --token=<token> --domain=<domain> --name=
|
|||||||
|
|
||||||
### Flags
|
### Flags
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="--token">
|
<Accordion title="--token">
|
||||||
The machine identity access token to authenticate with Infisical.
|
The machine identity access token to authenticate with Infisical.
|
||||||
|
|
||||||
@@ -334,6 +338,7 @@ sudo infisical gateway systemd install --token=<token> --domain=<domain> --name=
|
|||||||
```
|
```
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|
||||||
### Service Details
|
### Service Details
|
||||||
|
|
||||||
@@ -360,9 +365,11 @@ sudo systemctl disable infisical-gateway # Disable auto-start on boot
|
|||||||
```
|
```
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|
||||||
## Legacy Gateway Commands
|
## Legacy Gateway Commands
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="infisical gateway (deprecated)">
|
<Accordion title="infisical gateway (deprecated)">
|
||||||
<Warning>
|
<Warning>
|
||||||
**This command is deprecated and will be removed in a future release.**
|
**This command is deprecated and will be removed in a future release.**
|
||||||
@@ -579,6 +586,7 @@ The Infisical CLI supports multiple authentication methods. Below are the availa
|
|||||||
|
|
||||||
### Other Flags
|
### Other Flags
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="--domain">
|
<Accordion title="--domain">
|
||||||
Domain of your self-hosted Infisical instance.
|
Domain of your self-hosted Infisical instance.
|
||||||
|
|
||||||
@@ -588,6 +596,7 @@ The Infisical CLI supports multiple authentication methods. Below are the availa
|
|||||||
```
|
```
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="infisical gateway install (deprecated)">
|
<Accordion title="infisical gateway install (deprecated)">
|
||||||
@@ -614,6 +623,7 @@ sudo infisical gateway install --token=<token> --domain=<domain>
|
|||||||
|
|
||||||
### Flags
|
### Flags
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="--token">
|
<Accordion title="--token">
|
||||||
The machine identity access token to authenticate with Infisical.
|
The machine identity access token to authenticate with Infisical.
|
||||||
|
|
||||||
@@ -635,6 +645,7 @@ sudo infisical gateway install --token=<token> --domain=<domain>
|
|||||||
```
|
```
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|
||||||
### Service Details
|
### Service Details
|
||||||
|
|
||||||
@@ -659,3 +670,4 @@ sudo systemctl disable infisical-gateway # Disable auto-start on boot
|
|||||||
```
|
```
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ description: "Relay-related commands for Infisical"
|
|||||||
```bash
|
```bash
|
||||||
# Install systemd service
|
# Install systemd service
|
||||||
sudo infisical relay systemd install --host=<host> --name=<name> --token=<token>
|
sudo infisical relay systemd install --host=<host> --name=<name> --token=<token>
|
||||||
|
|
||||||
# Uninstall systemd service
|
# Uninstall systemd service
|
||||||
sudo infisical relay systemd uninstall
|
sudo infisical relay systemd uninstall
|
||||||
```
|
```
|
||||||
@@ -26,6 +26,7 @@ Relay-related commands for Infisical that provide identity-aware relay infrastru
|
|||||||
|
|
||||||
## Subcommands & flags
|
## Subcommands & flags
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="infisical relay start" defaultOpen="true">
|
<Accordion title="infisical relay start" defaultOpen="true">
|
||||||
Run the Infisical relay component. The relay handles network traffic routing between Infisical and your gateways.
|
Run the Infisical relay component. The relay handles network traffic routing between Infisical and your gateways.
|
||||||
|
|
||||||
@@ -35,6 +36,7 @@ infisical relay start --host=<host> --name=<name> --auth-method=<auth-method>
|
|||||||
|
|
||||||
### Flags
|
### Flags
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="--host">
|
<Accordion title="--host">
|
||||||
The host (IP address or hostname) of the instance where the relay is deployed. This must be a static public IP or resolvable hostname that gateways can reach.
|
The host (IP address or hostname) of the instance where the relay is deployed. This must be a static public IP or resolvable hostname that gateways can reach.
|
||||||
|
|
||||||
@@ -57,6 +59,7 @@ infisical relay start --host=<host> --name=<name> --auth-method=<auth-method>
|
|||||||
```
|
```
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|
||||||
### Authentication
|
### Authentication
|
||||||
|
|
||||||
@@ -280,6 +283,7 @@ infisical relay systemd <subcommand>
|
|||||||
|
|
||||||
### Subcommands
|
### Subcommands
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="install">
|
<Accordion title="install">
|
||||||
Install and enable systemd service for the relay. Must be run with sudo on Linux systems.
|
Install and enable systemd service for the relay. Must be run with sudo on Linux systems.
|
||||||
|
|
||||||
@@ -289,6 +293,7 @@ sudo infisical relay systemd install --host=<host> --name=<name> --token=<token>
|
|||||||
|
|
||||||
#### Flags
|
#### Flags
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="--host">
|
<Accordion title="--host">
|
||||||
The host (IP address or hostname) of the instance where the relay is deployed. This must be a static public IP or resolvable hostname that gateways can reach.
|
The host (IP address or hostname) of the instance where the relay is deployed. This must be a static public IP or resolvable hostname that gateways can reach.
|
||||||
|
|
||||||
@@ -331,6 +336,7 @@ sudo infisical relay systemd install --domain=http://localhost:8080 --token=<tok
|
|||||||
```
|
```
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|
||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
@@ -386,5 +392,7 @@ sudo infisical relay systemd uninstall
|
|||||||
- Cleans up the service configuration
|
- Cleans up the service configuration
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "Networking"
|
|||||||
description: "Network configuration and firewall requirements for Infisical Gateway"
|
description: "Network configuration and firewall requirements for Infisical Gateway"
|
||||||
---
|
---
|
||||||
|
|
||||||
The Infisical Gateway requires outbound network connectivity to establish secure communication with Infisical's relay infrastructure.
|
The Infisical Gateway requires outbound network connectivity to establish secure communication with Infisical's relay infrastructure.
|
||||||
This page outlines the required ports, protocols, and firewall configurations needed for optimal gateway usage.
|
This page outlines the required ports, protocols, and firewall configurations needed for optimal gateway usage.
|
||||||
|
|
||||||
## Network Architecture
|
## Network Architecture
|
||||||
@@ -67,11 +67,11 @@ The gateway uses QUIC (Quick UDP Internet Connections) for primary communication
|
|||||||
## Understanding Firewall Behavior with UDP
|
## Understanding Firewall Behavior with UDP
|
||||||
|
|
||||||
Unlike TCP connections, UDP is a stateless protocol, and depending on your organization's firewall configuration, you may need to adjust network rules accordingly.
|
Unlike TCP connections, UDP is a stateless protocol, and depending on your organization's firewall configuration, you may need to adjust network rules accordingly.
|
||||||
When the gateway sends UDP packets to a relay server, the return responses need to be allowed back through the firewall.
|
When the gateway sends UDP packets to a relay server, the return responses need to be allowed back through the firewall.
|
||||||
Modern firewalls handle this through "connection tracking" (also called "stateful inspection"), but the behavior can vary depending on your firewall configuration.
|
Modern firewalls handle this through "connection tracking" (also called "stateful inspection"), but the behavior can vary depending on your firewall configuration.
|
||||||
|
|
||||||
|
|
||||||
### Connection Tracking
|
### Connection Tracking
|
||||||
|
|
||||||
Modern firewalls automatically track UDP connections and allow return responses. This is the preferred configuration as it:
|
Modern firewalls automatically track UDP connections and allow return responses. This is the preferred configuration as it:
|
||||||
- Automatically handles return responses
|
- Automatically handles return responses
|
||||||
@@ -100,6 +100,7 @@ Configure security groups to allow:
|
|||||||
|
|
||||||
## Frequently Asked Questions
|
## Frequently Asked Questions
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="What happens if there is a network interruption?">
|
<Accordion title="What happens if there is a network interruption?">
|
||||||
The gateway is designed to handle network interruptions gracefully:
|
The gateway is designed to handle network interruptions gracefully:
|
||||||
|
|
||||||
@@ -139,7 +140,7 @@ This design maintains security by avoiding the need for inbound firewall rules t
|
|||||||
If your firewall has strict UDP restrictions:
|
If your firewall has strict UDP restrictions:
|
||||||
|
|
||||||
1. **Work with your network team** to allow outbound UDP to the specific relay IP addresses
|
1. **Work with your network team** to allow outbound UDP to the specific relay IP addresses
|
||||||
2. **Use explicit IP whitelisting** if connection tracking is disabled
|
2. **Use explicit IP whitelisting** if connection tracking is disabled
|
||||||
3. **Consider network policy exceptions** for the gateway host
|
3. **Consider network policy exceptions** for the gateway host
|
||||||
4. **Monitor firewall logs** to identify which specific rules are blocking traffic
|
4. **Monitor firewall logs** to identify which specific rules are blocking traffic
|
||||||
|
|
||||||
@@ -161,8 +162,9 @@ No, relay servers cannot decrypt any traffic passing through them:
|
|||||||
|
|
||||||
- **End-to-end encryption**: All traffic between the gateway and Infisical Cloud is encrypted using mutual TLS with certificate pinning
|
- **End-to-end encryption**: All traffic between the gateway and Infisical Cloud is encrypted using mutual TLS with certificate pinning
|
||||||
- **Relay acts as a tunnel**: The relay server only forwards encrypted packets - it has no access to encryption keys
|
- **Relay acts as a tunnel**: The relay server only forwards encrypted packets - it has no access to encryption keys
|
||||||
- **No data storage**: Relay servers do not store any traffic or network-identifiable information
|
- **No data storage**: Relay servers do not store any traffic or network-identifiable information
|
||||||
- **Certificate isolation**: Each organization has its own private PKI system, ensuring complete tenant isolation
|
- **Certificate isolation**: Each organization has its own private PKI system, ensuring complete tenant isolation
|
||||||
|
|
||||||
The relay infrastructure is designed as a secure forwarding mechanism, similar to a VPN tunnel, where the relay provider cannot see the contents of the traffic flowing through it.
|
The relay infrastructure is designed as a secure forwarding mechanism, similar to a VPN tunnel, where the relay provider cannot see the contents of the traffic flowing through it.
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: "Gateway Deployment"
|
|||||||
description: "Complete guide to deploying Infisical Gateways including network configuration and firewall requirements"
|
description: "Complete guide to deploying Infisical Gateways including network configuration and firewall requirements"
|
||||||
---
|
---
|
||||||
|
|
||||||
Infisical Gateways enables secure communication between your private resources and the Infisical platform without exposing inbound ports in your network.
|
Infisical Gateways enables secure communication between your private resources and the Infisical platform without exposing inbound ports in your network.
|
||||||
This guide covers everything you need to deploy and configure Infisical Gateways.
|
This guide covers everything you need to deploy and configure Infisical Gateways.
|
||||||
|
|
||||||
## Deployment Steps
|
## Deployment Steps
|
||||||
@@ -18,73 +18,73 @@ To successfully deploy an Infisical Gateway for use, follow these steps in order
|
|||||||
<AccordionGroup>
|
<AccordionGroup>
|
||||||
<Accordion title="Universal Auth">
|
<Accordion title="Universal Auth">
|
||||||
Simple and secure authentication using client ID and client secret.
|
Simple and secure authentication using client ID and client secret.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=universal-auth`
|
- `INFISICAL_AUTH_METHOD=universal-auth`
|
||||||
- `INFISICAL_UNIVERSAL_AUTH_CLIENT_ID=<client-id>`
|
- `INFISICAL_UNIVERSAL_AUTH_CLIENT_ID=<client-id>`
|
||||||
- `INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET=<client-secret>`
|
- `INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET=<client-secret>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Token Auth">
|
<Accordion title="Token Auth">
|
||||||
Direct authentication using a machine identity access token.
|
Direct authentication using a machine identity access token.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_TOKEN=<token>`
|
- `INFISICAL_TOKEN=<token>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Native Kubernetes">
|
<Accordion title="Native Kubernetes">
|
||||||
Authentication using Kubernetes service account tokens.
|
Authentication using Kubernetes service account tokens.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=kubernetes`
|
- `INFISICAL_AUTH_METHOD=kubernetes`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Native AWS IAM">
|
<Accordion title="Native AWS IAM">
|
||||||
Authentication using AWS IAM roles.
|
Authentication using AWS IAM roles.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=aws-iam`
|
- `INFISICAL_AUTH_METHOD=aws-iam`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Native GCP ID Token">
|
<Accordion title="Native GCP ID Token">
|
||||||
Authentication using GCP identity tokens.
|
Authentication using GCP identity tokens.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=gcp-id-token`
|
- `INFISICAL_AUTH_METHOD=gcp-id-token`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="GCP IAM">
|
<Accordion title="GCP IAM">
|
||||||
Authentication using GCP service account keys.
|
Authentication using GCP service account keys.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=gcp-iam`
|
- `INFISICAL_AUTH_METHOD=gcp-iam`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
- `INFISICAL_GCP_SERVICE_ACCOUNT_KEY_FILE_PATH=<path-to-key-file>`
|
- `INFISICAL_GCP_SERVICE_ACCOUNT_KEY_FILE_PATH=<path-to-key-file>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Native Azure">
|
<Accordion title="Native Azure">
|
||||||
Authentication using Azure managed identity.
|
Authentication using Azure managed identity.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=azure`
|
- `INFISICAL_AUTH_METHOD=azure`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="OIDC Auth">
|
<Accordion title="OIDC Auth">
|
||||||
Authentication using OIDC identity tokens.
|
Authentication using OIDC identity tokens.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=oidc-auth`
|
- `INFISICAL_AUTH_METHOD=oidc-auth`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
- `INFISICAL_JWT=<oidc-jwt>`
|
- `INFISICAL_JWT=<oidc-jwt>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="JWT Auth">
|
<Accordion title="JWT Auth">
|
||||||
Authentication using JWT tokens.
|
Authentication using JWT tokens.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=jwt-auth`
|
- `INFISICAL_AUTH_METHOD=jwt-auth`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
@@ -111,7 +111,7 @@ To successfully deploy an Infisical Gateway for use, follow these steps in order
|
|||||||
| TCP | Infisical instance host (US/EU, other) | 443 | API communication and certificate requests |
|
| TCP | Infisical instance host (US/EU, other) | 443 | API communication and certificate requests |
|
||||||
|
|
||||||
For managed relays, allow outbound traffic to the provided relay server IP/hostname. For self-hosted relays, allow outbound traffic to your own relay server address.
|
For managed relays, allow outbound traffic to the provided relay server IP/hostname. For self-hosted relays, allow outbound traffic to your own relay server address.
|
||||||
|
|
||||||
If you are in a corporate environment with strict egress filtering, ensure outbound TCP 2222 to relay servers and outbound HTTPS 443 to Infisical API endpoints are allowed.
|
If you are in a corporate environment with strict egress filtering, ensure outbound TCP 2222 to relay servers and outbound HTTPS 443 to Infisical API endpoints are allowed.
|
||||||
</Step>
|
</Step>
|
||||||
<Step title="Select a Deployment Method">
|
<Step title="Select a Deployment Method">
|
||||||
@@ -185,10 +185,9 @@ To successfully deploy an Infisical Gateway for use, follow these steps in order
|
|||||||
</Step>
|
</Step>
|
||||||
</Steps>
|
</Steps>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Frequently Asked Questions
|
## Frequently Asked Questions
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="Do I need to open any inbound ports on my firewall?">
|
<Accordion title="Do I need to open any inbound ports on my firewall?">
|
||||||
No inbound ports need to be opened for gateways. The gateway only makes outbound connections:
|
No inbound ports need to be opened for gateways. The gateway only makes outbound connections:
|
||||||
|
|
||||||
@@ -263,3 +262,4 @@ The gateway is designed to handle network interruptions gracefully:
|
|||||||
No manual intervention is typically required during network interruptions.
|
No manual intervention is typically required during network interruptions.
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|||||||
@@ -32,73 +32,73 @@ To successfully deploy an Infisical Relay for use, follow these steps in order.
|
|||||||
<AccordionGroup>
|
<AccordionGroup>
|
||||||
<Accordion title="Universal Auth">
|
<Accordion title="Universal Auth">
|
||||||
Simple and secure authentication using client ID and client secret.
|
Simple and secure authentication using client ID and client secret.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=universal-auth`
|
- `INFISICAL_AUTH_METHOD=universal-auth`
|
||||||
- `INFISICAL_UNIVERSAL_AUTH_CLIENT_ID=<client-id>`
|
- `INFISICAL_UNIVERSAL_AUTH_CLIENT_ID=<client-id>`
|
||||||
- `INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET=<client-secret>`
|
- `INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET=<client-secret>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Token Auth">
|
<Accordion title="Token Auth">
|
||||||
Direct authentication using a machine identity access token.
|
Direct authentication using a machine identity access token.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_TOKEN=<token>`
|
- `INFISICAL_TOKEN=<token>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Native Kubernetes">
|
<Accordion title="Native Kubernetes">
|
||||||
Authentication using Kubernetes service account tokens.
|
Authentication using Kubernetes service account tokens.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=kubernetes`
|
- `INFISICAL_AUTH_METHOD=kubernetes`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Native AWS IAM">
|
<Accordion title="Native AWS IAM">
|
||||||
Authentication using AWS IAM roles.
|
Authentication using AWS IAM roles.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=aws-iam`
|
- `INFISICAL_AUTH_METHOD=aws-iam`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Native GCP ID Token">
|
<Accordion title="Native GCP ID Token">
|
||||||
Authentication using GCP identity tokens.
|
Authentication using GCP identity tokens.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=gcp-id-token`
|
- `INFISICAL_AUTH_METHOD=gcp-id-token`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="GCP IAM">
|
<Accordion title="GCP IAM">
|
||||||
Authentication using GCP service account keys.
|
Authentication using GCP service account keys.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=gcp-iam`
|
- `INFISICAL_AUTH_METHOD=gcp-iam`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
- `INFISICAL_GCP_SERVICE_ACCOUNT_KEY_FILE_PATH=<path-to-key-file>`
|
- `INFISICAL_GCP_SERVICE_ACCOUNT_KEY_FILE_PATH=<path-to-key-file>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="Native Azure">
|
<Accordion title="Native Azure">
|
||||||
Authentication using Azure managed identity.
|
Authentication using Azure managed identity.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=azure`
|
- `INFISICAL_AUTH_METHOD=azure`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="OIDC Auth">
|
<Accordion title="OIDC Auth">
|
||||||
Authentication using OIDC identity tokens.
|
Authentication using OIDC identity tokens.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=oidc-auth`
|
- `INFISICAL_AUTH_METHOD=oidc-auth`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
- `INFISICAL_JWT=<oidc-jwt>`
|
- `INFISICAL_JWT=<oidc-jwt>`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="JWT Auth">
|
<Accordion title="JWT Auth">
|
||||||
Authentication using JWT tokens.
|
Authentication using JWT tokens.
|
||||||
|
|
||||||
**Environment Variables:**
|
**Environment Variables:**
|
||||||
- `INFISICAL_AUTH_METHOD=jwt-auth`
|
- `INFISICAL_AUTH_METHOD=jwt-auth`
|
||||||
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
- `INFISICAL_MACHINE_IDENTITY_ID=<machine-identity-id>`
|
||||||
@@ -168,7 +168,6 @@ To successfully deploy an Infisical Relay for use, follow these steps in order.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
infisical relay start \
|
infisical relay start \
|
||||||
--type=<type> \
|
|
||||||
--host=<host> \
|
--host=<host> \
|
||||||
--name=<name> \
|
--name=<name> \
|
||||||
--auth-method=<auth-method>
|
--auth-method=<auth-method>
|
||||||
@@ -185,6 +184,7 @@ To successfully deploy an Infisical Relay for use, follow these steps in order.
|
|||||||
|
|
||||||
## Frequently Asked Questions
|
## Frequently Asked Questions
|
||||||
|
|
||||||
|
<AccordionGroup>
|
||||||
<Accordion title="Can the relay servers decrypt traffic going through them?">
|
<Accordion title="Can the relay servers decrypt traffic going through them?">
|
||||||
No, relay servers cannot decrypt any traffic passing through them due to end-to-end encryption:
|
No, relay servers cannot decrypt any traffic passing through them due to end-to-end encryption:
|
||||||
|
|
||||||
@@ -241,3 +241,4 @@ Relay server outages affect gateway connectivity:
|
|||||||
For production environments, consider deploying multiple relay servers to avoid single points of failure.
|
For production environments, consider deploying multiple relay servers to avoid single points of failure.
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
</AccordionGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user