mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 23:27:14 +00:00
docs: wrap accordions in accordiongroup for CLI reference
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>
|
||||||
|
|||||||
Reference in New Issue
Block a user