domenikk/oci-bastion-action
Fast NodeJS action to automate creation of OCI Bastion sessions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| oci-user | OCID of the user calling the API. Example: `ocid1.user.oc1..<unique_ID>` | no | — |
| oci-tenancy | OCID of your tenancy. Example: `ocid1.tenancy.oc1..<unique_ID>` | no | — |
| oci-fingerprint | Fingerprint for the public key that was added for `oci-user`. | no | — |
| oci-key-content | Private key content in PEM format. | no | — |
| oci-region | An Oracle Cloud Infrastructure region. Example: `us-ashburn-1` | no | — |
| bastion-id | OCID of the bastion. Example: `ocid1.bastion.oc1..<unique_ID>` | yes | — |
| public-key | The public key in OpenSSH format of the SSH key pair for the session. When you connect to the session, you must provide the private key of the same SSH key pair. | yes | — |
| session-ttl-seconds | The amount of time (in seconds) the session can remain active. | no | 3600 |
| session-type | Session type as described in: https://docs.oracle.com/en-us/iaas/Content/Bastion/Concepts/bastionoverview.htm#session_types. One of: `MANAGED_SSH`, `PORT_FORWARDING` or `DYNAMIC_PORT_FORWARDING`. | yes | — |
| target-resource-id | The unique identifier (OCID) of the target resource. | no | — |
| target-resource-fqdn | The Fully Qualified Domain Name of the target resource that the session connects to. | no | — |
| target-resource-private-ip | The private IP address of the target resource that the session connects to. | no | — |
| target-resource-port | The port number to connect to on the target resource. | no | — |
| target-resource-user | The name of the user on the target resource operating system that the session uses for the connection. Required if `session-type` is `MANAGED_SSH`. | no | — |
| auto-enable-bastion-plugin | Automatically enable the Bastion plugin on the target resource, which is required if `session-type` is `MANAGED_SSH`. | no | false |
Outputs
no outputs