Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateSessionDetails

The configuration details for a new bastion session. A session lets authorized users connect to a target resource for a predetermined amount of time. The Bastion service recognizes two types of sessions, managed SSH sessions and SSH port forwarding sessions. Managed SSH sessions require that the target resource has an OpenSSH server and the Oracle Cloud Agent both running.

Properties

bastionId

bastionId: string

The unique identifier (OCID) of the bastion on which to create this session.

Optional displayName

displayName: undefined | string

The name of the session.

keyDetails

keyDetails: PublicKeyDetails

Optional keyType

keyType: KeyType

The type of the key used to connect to the session. PUB is a standard public key in OpenSSH format.

Optional sessionTtlInSeconds

sessionTtlInSeconds: undefined | number

The amount of time the session can remain active. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

targetResourceDetails

Functions

getDeserializedJsonObj

getJsonObj