Dashboard
PHP:
8.3.33
OS:
Linux
User:
letter7
/
/
usr
/
libexec
/
oracle-cloud-agent
/
plugins
/
osms
/
oci
/
bastion
📤 Upload
📝 New File
📁 New Folder
Close
Editing: bastion_client.pyc
a N��fDN � @ s� d dl mZ d dlmZ d dlmZ d dlmZmZ d dlm Z d dl mZmZ d dl mZ d dlmZmZmZ d d lmZ ed�ZG dd � d e�ZdS )� )�absolute_import)�requests)�six)�retry�circuit_breaker)� BaseClient)�get_config_value_or_default�validate_config)�Signer)�Sentinel�#get_signer_from_authentication_type�AUTHENTICATION_TYPE_FIELD_NAME� )�bastion_type_mapping�Missingc @ s� e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"S )#� BastionClientaP Use the Bastion API to provide restricted and time-limited access to target resources that don't have public endpoints. Bastions let authorized users connect from specific IP addresses to target resources using Secure Shell (SSH) sessions. For more information, see [the Bastion documentation](/iaas/Content/Bastion/home.htm). c K s t ||�d�d� d|v r$|d }nDt|v r6t|�}n2t|d |d |d |�d�t|d�|�d�d �}d |�d�dd |�dd�|�dtj�d�}d|v r�|�d�|d<