If you have an organization on the free plan and you are using a private repository, you cannot use GitHub Environment. You need to use a dynamic Environment instead. It includes a solution for this. If you want to use GitHub Environment, you need to upgrade to the paid version.
Prod Secrets | Value |
---|---|
PROD_OPENVPN_CONFIG | .ovpn client file content. |
PROD_SSH_HOST | Instance private ip information because you are using OpenVPN. |
PROD_SSH_USERNAME | Will connect to Instance and restricted username. |
PROD_SSH_PRIVATE_KEY | Private key to be used when connecting to the instance. |
PROD_SSH_PORT | The port information to make the SSH connection. It is usually used as 22. It would be good if you change this port for security. |
Dev Secrets | Value |
---|---|
DEV_OPENVPN_CONFIG | .ovpn client file content. |
DEV_SSH_HOST | Instance private ip information because you are using OpenVPN. |
DEV_SSH_USERNAME | Will connect to Instance and restricted username. |
DEV_SSH_PRIVATE_KEY | Private key to be used when connecting to the instance. |
DEV_SSH_PORT | The port information to make the SSH connection. It is usually used as 22. It would be good if you change this port for security. |
Test Secrets | Value |
---|---|
TEST_OPENVPN_CONFIG | .ovpn client file content. |
TEST_SSH_HOST | Instance private ip information because you are using OpenVPN. |
TEST_SSH_USERNAME | Will connect to Instance and restricted username. |
TEST_SSH_PRIVATE_KEY | Private key to be used when connecting to the instance. |
TEST_SSH_PORT | The port information to make the SSH connection. It is usually used as 22. It would be good if you change this port for security. |
In many OpenVPN solutions, the .ovpn client file must be included in the repository. This is not a very logical approach. You can use OpenVPN for this by defining the client file as secret.
Secrets | Value |
---|---|
OPENVPN_CONFIG | .ovpn client file content. |
SSH_HOST | Instance private ip information because you are using OpenVPN. |
SSH_USERNAME | Will connect to Instance and restricted username. |
SSH_PRIVATE_KEY | Private key to be used when connecting to the instance. |
SSH_PORT | The port information to make the SSH connection. It is usually used as 22. It would be good if you change this port for security. |