domenikk/oci-bastion-action

Fast NodeJS action to automate creation of OCI Bastion sessions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
oci-userOCID of the user calling the API. Example: `ocid1.user.oc1..<unique_ID>`no
oci-tenancyOCID of your tenancy. Example: `ocid1.tenancy.oc1..<unique_ID>`no
oci-fingerprintFingerprint for the public key that was added for `oci-user`.no
oci-key-contentPrivate key content in PEM format.no
oci-regionAn Oracle Cloud Infrastructure region. Example: `us-ashburn-1`no
bastion-idOCID of the bastion. Example: `ocid1.bastion.oc1..<unique_ID>`yes
public-keyThe 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-secondsThe amount of time (in seconds) the session can remain active.no3600
session-typeSession 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-idThe unique identifier (OCID) of the target resource.no
target-resource-fqdnThe Fully Qualified Domain Name of the target resource that the session connects to.no
target-resource-private-ipThe private IP address of the target resource that the session connects to.no
target-resource-portThe port number to connect to on the target resource.no
target-resource-userThe 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-pluginAutomatically enable the Bastion plugin on the target resource, which is required if `session-type` is `MANAGED_SSH`.nofalse

no outputs