Skip to content

Commit 7947ab1

Browse files
committed
"Release v5.0.16"
1 parent f2d180e commit 7947ab1

File tree

9 files changed

+119
-7
lines changed

9 files changed

+119
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The purpose of this application is to provide access to Akeyless API.
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 3.0
7-
- Package version: 5.0.15
7+
- Package version: 5.0.16
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [http://akeyless.io](http://akeyless.io)
1010

akeyless/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from __future__ import absolute_import
1717

18-
__version__ = "5.0.15"
18+
__version__ = "5.0.16"
1919

2020
# import apis into sdk package
2121
from akeyless.api.v2_api import V2Api

akeyless/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7979
self.default_headers[header_name] = header_value
8080
self.cookie = cookie
8181
# Set default User-Agent.
82-
self.user_agent = 'OpenAPI-Generator/5.0.15/python'
82+
self.user_agent = 'OpenAPI-Generator/5.0.16/python'
8383
self.client_side_validation = configuration.client_side_validation
8484

8585
def __enter__(self):

akeyless/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def to_debug_report(self):
326326
"OS: {env}\n"\
327327
"Python Version: {pyversion}\n"\
328328
"Version of the API: 3.0\n"\
329-
"SDK Package Version: 5.0.15".\
329+
"SDK Package Version: 5.0.16".\
330330
format(env=sys.platform, pyversion=sys.version)
331331

332332
def get_host_settings(self):

akeyless/models/bastion_global_conf.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,42 @@ class BastionGlobalConf(object):
3535
"""
3636
openapi_types = {
3737
'allowed_bastion_urls': 'list[str]',
38+
'allowed_ssh_url': 'str',
39+
'default_session_ttl_minutes': 'int',
3840
'legacy_signing_alg': 'bool',
3941
'rdp_username_sub_claim': 'str',
4042
'ssh_username_sub_claim': 'str'
4143
}
4244

4345
attribute_map = {
4446
'allowed_bastion_urls': 'allowed_bastion_urls',
47+
'allowed_ssh_url': 'allowed_ssh_url',
48+
'default_session_ttl_minutes': 'default_session_ttl_minutes',
4549
'legacy_signing_alg': 'legacy_signing_alg',
4650
'rdp_username_sub_claim': 'rdp_username_sub_claim',
4751
'ssh_username_sub_claim': 'ssh_username_sub_claim'
4852
}
4953

50-
def __init__(self, allowed_bastion_urls=None, legacy_signing_alg=None, rdp_username_sub_claim=None, ssh_username_sub_claim=None, local_vars_configuration=None): # noqa: E501
54+
def __init__(self, allowed_bastion_urls=None, allowed_ssh_url=None, default_session_ttl_minutes=None, legacy_signing_alg=None, rdp_username_sub_claim=None, ssh_username_sub_claim=None, local_vars_configuration=None): # noqa: E501
5155
"""BastionGlobalConf - a model defined in OpenAPI""" # noqa: E501
5256
if local_vars_configuration is None:
5357
local_vars_configuration = Configuration()
5458
self.local_vars_configuration = local_vars_configuration
5559

5660
self._allowed_bastion_urls = None
61+
self._allowed_ssh_url = None
62+
self._default_session_ttl_minutes = None
5763
self._legacy_signing_alg = None
5864
self._rdp_username_sub_claim = None
5965
self._ssh_username_sub_claim = None
6066
self.discriminator = None
6167

6268
if allowed_bastion_urls is not None:
6369
self.allowed_bastion_urls = allowed_bastion_urls
70+
if allowed_ssh_url is not None:
71+
self.allowed_ssh_url = allowed_ssh_url
72+
if default_session_ttl_minutes is not None:
73+
self.default_session_ttl_minutes = default_session_ttl_minutes
6474
if legacy_signing_alg is not None:
6575
self.legacy_signing_alg = legacy_signing_alg
6676
if rdp_username_sub_claim is not None:
@@ -89,6 +99,48 @@ def allowed_bastion_urls(self, allowed_bastion_urls):
8999

90100
self._allowed_bastion_urls = allowed_bastion_urls
91101

102+
@property
103+
def allowed_ssh_url(self):
104+
"""Gets the allowed_ssh_url of this BastionGlobalConf. # noqa: E501
105+
106+
107+
:return: The allowed_ssh_url of this BastionGlobalConf. # noqa: E501
108+
:rtype: str
109+
"""
110+
return self._allowed_ssh_url
111+
112+
@allowed_ssh_url.setter
113+
def allowed_ssh_url(self, allowed_ssh_url):
114+
"""Sets the allowed_ssh_url of this BastionGlobalConf.
115+
116+
117+
:param allowed_ssh_url: The allowed_ssh_url of this BastionGlobalConf. # noqa: E501
118+
:type: str
119+
"""
120+
121+
self._allowed_ssh_url = allowed_ssh_url
122+
123+
@property
124+
def default_session_ttl_minutes(self):
125+
"""Gets the default_session_ttl_minutes of this BastionGlobalConf. # noqa: E501
126+
127+
128+
:return: The default_session_ttl_minutes of this BastionGlobalConf. # noqa: E501
129+
:rtype: int
130+
"""
131+
return self._default_session_ttl_minutes
132+
133+
@default_session_ttl_minutes.setter
134+
def default_session_ttl_minutes(self, default_session_ttl_minutes):
135+
"""Sets the default_session_ttl_minutes of this BastionGlobalConf.
136+
137+
138+
:param default_session_ttl_minutes: The default_session_ttl_minutes of this BastionGlobalConf. # noqa: E501
139+
:type: int
140+
"""
141+
142+
self._default_session_ttl_minutes = default_session_ttl_minutes
143+
92144
@property
93145
def legacy_signing_alg(self):
94146
"""Gets the legacy_signing_alg of this BastionGlobalConf. # noqa: E501

akeyless/models/gateway_update_remote_access.py

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ class GatewayUpdateRemoteAccess(object):
3434
and the value is json key in definition.
3535
"""
3636
openapi_types = {
37+
'allowed_ssh_url': 'str',
3738
'allowed_urls': 'str',
39+
'default_session_ttl_minutes': 'str',
3840
'hide_session_recording': 'str',
3941
'json': 'bool',
4042
'kexalgs': 'str',
@@ -47,7 +49,9 @@ class GatewayUpdateRemoteAccess(object):
4749
}
4850

4951
attribute_map = {
52+
'allowed_ssh_url': 'allowed-ssh-url',
5053
'allowed_urls': 'allowed-urls',
54+
'default_session_ttl_minutes': 'default-session-ttl-minutes',
5155
'hide_session_recording': 'hide-session-recording',
5256
'json': 'json',
5357
'kexalgs': 'kexalgs',
@@ -59,13 +63,15 @@ class GatewayUpdateRemoteAccess(object):
5963
'uid_token': 'uid-token'
6064
}
6165

62-
def __init__(self, allowed_urls='use-existing', hide_session_recording=None, json=False, kexalgs='use-existing', keyboard_layout='use-existing', legacy_ssh_algorithm=None, rdp_target_configuration='use-existing', ssh_target_configuration='use-existing', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501
66+
def __init__(self, allowed_ssh_url='use-existing', allowed_urls='use-existing', default_session_ttl_minutes='use-existing', hide_session_recording=None, json=False, kexalgs='use-existing', keyboard_layout='use-existing', legacy_ssh_algorithm=None, rdp_target_configuration='use-existing', ssh_target_configuration='use-existing', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501
6367
"""GatewayUpdateRemoteAccess - a model defined in OpenAPI""" # noqa: E501
6468
if local_vars_configuration is None:
6569
local_vars_configuration = Configuration()
6670
self.local_vars_configuration = local_vars_configuration
6771

72+
self._allowed_ssh_url = None
6873
self._allowed_urls = None
74+
self._default_session_ttl_minutes = None
6975
self._hide_session_recording = None
7076
self._json = None
7177
self._kexalgs = None
@@ -77,8 +83,12 @@ def __init__(self, allowed_urls='use-existing', hide_session_recording=None, jso
7783
self._uid_token = None
7884
self.discriminator = None
7985

86+
if allowed_ssh_url is not None:
87+
self.allowed_ssh_url = allowed_ssh_url
8088
if allowed_urls is not None:
8189
self.allowed_urls = allowed_urls
90+
if default_session_ttl_minutes is not None:
91+
self.default_session_ttl_minutes = default_session_ttl_minutes
8292
if hide_session_recording is not None:
8393
self.hide_session_recording = hide_session_recording
8494
if json is not None:
@@ -98,6 +108,29 @@ def __init__(self, allowed_urls='use-existing', hide_session_recording=None, jso
98108
if uid_token is not None:
99109
self.uid_token = uid_token
100110

111+
@property
112+
def allowed_ssh_url(self):
113+
"""Gets the allowed_ssh_url of this GatewayUpdateRemoteAccess. # noqa: E501
114+
115+
Specify a valid SSH-URL to tunnel to SSH session # noqa: E501
116+
117+
:return: The allowed_ssh_url of this GatewayUpdateRemoteAccess. # noqa: E501
118+
:rtype: str
119+
"""
120+
return self._allowed_ssh_url
121+
122+
@allowed_ssh_url.setter
123+
def allowed_ssh_url(self, allowed_ssh_url):
124+
"""Sets the allowed_ssh_url of this GatewayUpdateRemoteAccess.
125+
126+
Specify a valid SSH-URL to tunnel to SSH session # noqa: E501
127+
128+
:param allowed_ssh_url: The allowed_ssh_url of this GatewayUpdateRemoteAccess. # noqa: E501
129+
:type: str
130+
"""
131+
132+
self._allowed_ssh_url = allowed_ssh_url
133+
101134
@property
102135
def allowed_urls(self):
103136
"""Gets the allowed_urls of this GatewayUpdateRemoteAccess. # noqa: E501
@@ -121,6 +154,29 @@ def allowed_urls(self, allowed_urls):
121154

122155
self._allowed_urls = allowed_urls
123156

157+
@property
158+
def default_session_ttl_minutes(self):
159+
"""Gets the default_session_ttl_minutes of this GatewayUpdateRemoteAccess. # noqa: E501
160+
161+
Default session TTL in minutes # noqa: E501
162+
163+
:return: The default_session_ttl_minutes of this GatewayUpdateRemoteAccess. # noqa: E501
164+
:rtype: str
165+
"""
166+
return self._default_session_ttl_minutes
167+
168+
@default_session_ttl_minutes.setter
169+
def default_session_ttl_minutes(self, default_session_ttl_minutes):
170+
"""Sets the default_session_ttl_minutes of this GatewayUpdateRemoteAccess.
171+
172+
Default session TTL in minutes # noqa: E501
173+
174+
:param default_session_ttl_minutes: The default_session_ttl_minutes of this GatewayUpdateRemoteAccess. # noqa: E501
175+
:type: str
176+
"""
177+
178+
self._default_session_ttl_minutes = default_session_ttl_minutes
179+
124180
@property
125181
def hide_session_recording(self):
126182
"""Gets the hide_session_recording of this GatewayUpdateRemoteAccess. # noqa: E501

docs/BastionGlobalConf.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**allowed_bastion_urls** | **list[str]** | | [optional]
7+
**allowed_ssh_url** | **str** | | [optional]
8+
**default_session_ttl_minutes** | **int** | | [optional]
79
**legacy_signing_alg** | **bool** | | [optional]
810
**rdp_username_sub_claim** | **str** | | [optional]
911
**ssh_username_sub_claim** | **str** | | [optional]

docs/GatewayUpdateRemoteAccess.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ gatewayUpdateRemoteAccess is a command that update remote access config
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**allowed_ssh_url** | **str** | Specify a valid SSH-URL to tunnel to SSH session | [optional] [default to 'use-existing']
78
**allowed_urls** | **str** | List of valid URLs to redirect from the Portal back to the remote access server (in a comma-delimited list) | [optional] [default to 'use-existing']
9+
**default_session_ttl_minutes** | **str** | Default session TTL in minutes | [optional] [default to 'use-existing']
810
**hide_session_recording** | **str** | Specifies whether to show/hide if the session is currently recorded [true/false] | [optional]
911
**json** | **bool** | Set output format to JSON | [optional] [default to False]
1012
**kexalgs** | **str** | Decide which algorithm will be used as part of the SSH initial hand-shake process | [optional] [default to 'use-existing']

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from setuptools import setup, find_packages # noqa: H301
1515

1616
NAME = "akeyless"
17-
VERSION = "5.0.15"
17+
VERSION = "5.0.16"
1818
# To install the library, run the following
1919
#
2020
# python setup.py install

0 commit comments

Comments
 (0)