Skip to content

Commit 33b2ee1

Browse files
committed
16.6.0
1 parent 6739fb5 commit 33b2ee1

File tree

6 files changed

+83
-18
lines changed

6 files changed

+83
-18
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
setup(
2424
name='strongdm',
2525
packages=['strongdm'],
26-
version='16.5.0',
26+
version='16.6.0',
2727
license='apache-2.0',
2828
description='strongDM SDK for the Python programming language.',
2929
long_description=long_description,
@@ -32,7 +32,7 @@
3232
author_email='sdk-feedback@strongdm.com',
3333
url='https://github.com/strongdm/strongdm-sdk-python',
3434
download_url=
35-
'https://github.com/strongdm/strongdm-sdk-python/archive/v16.5.0.tar.gz',
35+
'https://github.com/strongdm/strongdm-sdk-python/archive/v16.6.0.tar.gz',
3636
keywords=[
3737
'strongDM', 'sdm', 'api', 'automation', 'security', 'audit',
3838
'database', 'server', 'ssh', 'rdp'

strongdm.egg-info/PKG-INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Metadata-Version: 2.1
22
Name: strongdm
3-
Version: 16.5.0
3+
Version: 16.6.0
44
Summary: strongDM SDK for the Python programming language.
55
Home-page: https://github.com/strongdm/strongdm-sdk-python
66
Author: strongDM Team
77
Author-email: sdk-feedback@strongdm.com
88
License: apache-2.0
9-
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v16.5.0.tar.gz
9+
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v16.6.0.tar.gz
1010
Keywords: strongDM,sdm,api,automation,security,audit,database,server,ssh,rdp
1111
Platform: UNKNOWN
1212
Classifier: Development Status :: 4 - Beta

strongdm/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
DEFAULT_RETRY_FACTOR = 1.6
4141
DEFAULT_RETRY_JITTER = 0.2
4242
API_VERSION = '2025-04-14'
43-
USER_AGENT = 'strongdm-sdk-python/16.5.0'
43+
USER_AGENT = 'strongdm-sdk-python/16.6.0'
4444

4545
method_regexp = re.compile(r'\W+')
4646

strongdm/models.py

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4116,6 +4116,7 @@ class ActiveDirectoryEngine:
41164116
'key_rotation_interval_days',
41174117
'max_backoff_duration',
41184118
'name',
4119+
'node_selector',
41194120
'policy',
41204121
'public_key',
41214122
'request_timeout',
@@ -4142,6 +4143,7 @@ def __init__(
41424143
key_rotation_interval_days=None,
41434144
max_backoff_duration=None,
41444145
name=None,
4146+
node_selector=None,
41454147
policy=None,
41464148
public_key=None,
41474149
request_timeout=None,
@@ -4199,6 +4201,10 @@ def __init__(
41994201
'''
42004202
Unique human-readable name of the Secret Engine.
42014203
'''
4204+
self.node_selector = node_selector if node_selector is not None else ''
4205+
'''
4206+
node selector is used to narrow down the nodes used to communicate with with secret engine
4207+
'''
42024208
self.policy = policy if policy is not None else None
42034209
'''
42044210
Policy for password creation
@@ -4257,6 +4263,7 @@ def __repr__(self):
42574263
'key_rotation_interval_days: ' + repr(self.key_rotation_interval_days) + ' ' +\
42584264
'max_backoff_duration: ' + repr(self.max_backoff_duration) + ' ' +\
42594265
'name: ' + repr(self.name) + ' ' +\
4266+
'node_selector: ' + repr(self.node_selector) + ' ' +\
42604267
'policy: ' + repr(self.policy) + ' ' +\
42614268
'public_key: ' + repr(self.public_key) + ' ' +\
42624269
'request_timeout: ' + repr(self.request_timeout) + ' ' +\
@@ -4283,6 +4290,7 @@ def to_dict(self):
42834290
'key_rotation_interval_days': self.key_rotation_interval_days,
42844291
'max_backoff_duration': self.max_backoff_duration,
42854292
'name': self.name,
4293+
'node_selector': self.node_selector,
42864294
'policy': self.policy,
42874295
'public_key': self.public_key,
42884296
'request_timeout': self.request_timeout,
@@ -4310,6 +4318,7 @@ def from_dict(cls, d):
43104318
key_rotation_interval_days=d.get('key_rotation_interval_days'),
43114319
max_backoff_duration=d.get('max_backoff_duration'),
43124320
name=d.get('name'),
4321+
node_selector=d.get('node_selector'),
43134322
policy=d.get('policy'),
43144323
public_key=d.get('public_key'),
43154324
request_timeout=d.get('request_timeout'),
@@ -18165,6 +18174,7 @@ class KeyValueEngine:
1816518174
'id',
1816618175
'key_rotation_interval_days',
1816718176
'name',
18177+
'node_selector',
1816818178
'public_key',
1816918179
'secret_store_id',
1817018180
'secret_store_root_path',
@@ -18176,6 +18186,7 @@ def __init__(
1817618186
id=None,
1817718187
key_rotation_interval_days=None,
1817818188
name=None,
18189+
node_selector=None,
1817918190
public_key=None,
1818018191
secret_store_id=None,
1818118192
secret_store_root_path=None,
@@ -18193,6 +18204,10 @@ def __init__(
1819318204
'''
1819418205
Unique human-readable name of the Secret Engine.
1819518206
'''
18207+
self.node_selector = node_selector if node_selector is not None else ''
18208+
'''
18209+
node selector is used to narrow down the nodes used to communicate with with secret engine
18210+
'''
1819618211
self.public_key = public_key if public_key is not None else b''
1819718212
'''
1819818213
Public key linked with a secret engine
@@ -18215,6 +18230,7 @@ def __repr__(self):
1821518230
'id: ' + repr(self.id) + ' ' +\
1821618231
'key_rotation_interval_days: ' + repr(self.key_rotation_interval_days) + ' ' +\
1821718232
'name: ' + repr(self.name) + ' ' +\
18233+
'node_selector: ' + repr(self.node_selector) + ' ' +\
1821818234
'public_key: ' + repr(self.public_key) + ' ' +\
1821918235
'secret_store_id: ' + repr(self.secret_store_id) + ' ' +\
1822018236
'secret_store_root_path: ' + repr(self.secret_store_root_path) + ' ' +\
@@ -18226,6 +18242,7 @@ def to_dict(self):
1822618242
'id': self.id,
1822718243
'key_rotation_interval_days': self.key_rotation_interval_days,
1822818244
'name': self.name,
18245+
'node_selector': self.node_selector,
1822918246
'public_key': self.public_key,
1823018247
'secret_store_id': self.secret_store_id,
1823118248
'secret_store_root_path': self.secret_store_root_path,
@@ -18238,6 +18255,7 @@ def from_dict(cls, d):
1823818255
id=d.get('id'),
1823918256
key_rotation_interval_days=d.get('key_rotation_interval_days'),
1824018257
name=d.get('name'),
18258+
node_selector=d.get('node_selector'),
1824118259
public_key=d.get('public_key'),
1824218260
secret_store_id=d.get('secret_store_id'),
1824318261
secret_store_root_path=d.get('secret_store_root_path'),
@@ -23017,6 +23035,7 @@ class MysqlEngine:
2301723035
'id',
2301823036
'key_rotation_interval_days',
2301923037
'name',
23038+
'node_selector',
2302023039
'password',
2302123040
'policy',
2302223041
'port',
@@ -23038,6 +23057,7 @@ def __init__(
2303823057
id=None,
2303923058
key_rotation_interval_days=None,
2304023059
name=None,
23060+
node_selector=None,
2304123061
password=None,
2304223062
policy=None,
2304323063
port=None,
@@ -23074,6 +23094,10 @@ def __init__(
2307423094
'''
2307523095
Unique human-readable name of the Secret Engine.
2307623096
'''
23097+
self.node_selector = node_selector if node_selector is not None else ''
23098+
'''
23099+
node selector is used to narrow down the nodes used to communicate with with secret engine
23100+
'''
2307723101
self.password = password if password is not None else ''
2307823102
'''
2307923103
Password is the password to connect to the MySQL server.
@@ -23127,6 +23151,7 @@ def __repr__(self):
2312723151
'id: ' + repr(self.id) + ' ' +\
2312823152
'key_rotation_interval_days: ' + repr(self.key_rotation_interval_days) + ' ' +\
2312923153
'name: ' + repr(self.name) + ' ' +\
23154+
'node_selector: ' + repr(self.node_selector) + ' ' +\
2313023155
'password: ' + repr(self.password) + ' ' +\
2313123156
'policy: ' + repr(self.policy) + ' ' +\
2313223157
'port: ' + repr(self.port) + ' ' +\
@@ -23148,6 +23173,7 @@ def to_dict(self):
2314823173
'id': self.id,
2314923174
'key_rotation_interval_days': self.key_rotation_interval_days,
2315023175
'name': self.name,
23176+
'node_selector': self.node_selector,
2315123177
'password': self.password,
2315223178
'policy': self.policy,
2315323179
'port': self.port,
@@ -23170,6 +23196,7 @@ def from_dict(cls, d):
2317023196
id=d.get('id'),
2317123197
key_rotation_interval_days=d.get('key_rotation_interval_days'),
2317223198
name=d.get('name'),
23199+
node_selector=d.get('node_selector'),
2317323200
password=d.get('password'),
2317423201
policy=d.get('policy'),
2317523202
port=d.get('port'),
@@ -26016,6 +26043,7 @@ class PostgresEngine:
2601626043
'id',
2601726044
'key_rotation_interval_days',
2601826045
'name',
26046+
'node_selector',
2601926047
'password',
2602026048
'policy',
2602126049
'port',
@@ -26036,6 +26064,7 @@ def __init__(
2603626064
id=None,
2603726065
key_rotation_interval_days=None,
2603826066
name=None,
26067+
node_selector=None,
2603926068
password=None,
2604026069
policy=None,
2604126070
port=None,
@@ -26071,6 +26100,10 @@ def __init__(
2607126100
'''
2607226101
Unique human-readable name of the Secret Engine.
2607326102
'''
26103+
self.node_selector = node_selector if node_selector is not None else ''
26104+
'''
26105+
node selector is used to narrow down the nodes used to communicate with with secret engine
26106+
'''
2607426107
self.password = password if password is not None else ''
2607526108
'''
2607626109
Password is the password to connect to the Postgres server.
@@ -26120,6 +26153,7 @@ def __repr__(self):
2612026153
'id: ' + repr(self.id) + ' ' +\
2612126154
'key_rotation_interval_days: ' + repr(self.key_rotation_interval_days) + ' ' +\
2612226155
'name: ' + repr(self.name) + ' ' +\
26156+
'node_selector: ' + repr(self.node_selector) + ' ' +\
2612326157
'password: ' + repr(self.password) + ' ' +\
2612426158
'policy: ' + repr(self.policy) + ' ' +\
2612526159
'port: ' + repr(self.port) + ' ' +\
@@ -26140,6 +26174,7 @@ def to_dict(self):
2614026174
'id': self.id,
2614126175
'key_rotation_interval_days': self.key_rotation_interval_days,
2614226176
'name': self.name,
26177+
'node_selector': self.node_selector,
2614326178
'password': self.password,
2614426179
'policy': self.policy,
2614526180
'port': self.port,
@@ -26161,6 +26196,7 @@ def from_dict(cls, d):
2616126196
id=d.get('id'),
2616226197
key_rotation_interval_days=d.get('key_rotation_interval_days'),
2616326198
name=d.get('name'),
26199+
node_selector=d.get('node_selector'),
2616426200
password=d.get('password'),
2616526201
policy=d.get('policy'),
2616626202
port=d.get('port'),
@@ -33325,6 +33361,7 @@ class SqlserverEngine:
3332533361
'id',
3332633362
'key_rotation_interval_days',
3332733363
'name',
33364+
'node_selector',
3332833365
'password',
3332933366
'policy',
3333033367
'port',
@@ -33346,6 +33383,7 @@ def __init__(
3334633383
id=None,
3334733384
key_rotation_interval_days=None,
3334833385
name=None,
33386+
node_selector=None,
3334933387
password=None,
3335033388
policy=None,
3335133389
port=None,
@@ -33382,6 +33420,10 @@ def __init__(
3338233420
'''
3338333421
Unique human-readable name of the Secret Engine.
3338433422
'''
33423+
self.node_selector = node_selector if node_selector is not None else ''
33424+
'''
33425+
node selector is used to narrow down the nodes used to communicate with with secret engine
33426+
'''
3338533427
self.password = password if password is not None else ''
3338633428
'''
3338733429
Password is the password to connect to the SQL Server server.
@@ -33435,6 +33477,7 @@ def __repr__(self):
3343533477
'id: ' + repr(self.id) + ' ' +\
3343633478
'key_rotation_interval_days: ' + repr(self.key_rotation_interval_days) + ' ' +\
3343733479
'name: ' + repr(self.name) + ' ' +\
33480+
'node_selector: ' + repr(self.node_selector) + ' ' +\
3343833481
'password: ' + repr(self.password) + ' ' +\
3343933482
'policy: ' + repr(self.policy) + ' ' +\
3344033483
'port: ' + repr(self.port) + ' ' +\
@@ -33456,6 +33499,7 @@ def to_dict(self):
3345633499
'id': self.id,
3345733500
'key_rotation_interval_days': self.key_rotation_interval_days,
3345833501
'name': self.name,
33502+
'node_selector': self.node_selector,
3345933503
'password': self.password,
3346033504
'policy': self.policy,
3346133505
'port': self.port,
@@ -33478,6 +33522,7 @@ def from_dict(cls, d):
3347833522
id=d.get('id'),
3347933523
key_rotation_interval_days=d.get('key_rotation_interval_days'),
3348033524
name=d.get('name'),
33525+
node_selector=d.get('node_selector'),
3348133526
password=d.get('password'),
3348233527
policy=d.get('policy'),
3348333528
port=d.get('port'),

strongdm/plumbing.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2346,6 +2346,7 @@ def convert_active_directory_engine_to_porcelain(plumbing):
23462346
porcelain.max_backoff_duration = convert_duration_to_porcelain(
23472347
plumbing.max_backoff_duration)
23482348
porcelain.name = (plumbing.name)
2349+
porcelain.node_selector = (plumbing.node_selector)
23492350
porcelain.policy = convert_secret_engine_policy_to_porcelain(
23502351
plumbing.policy)
23512352
porcelain.public_key = (plumbing.public_key)
@@ -2380,6 +2381,7 @@ def convert_active_directory_engine_to_plumbing(porcelain):
23802381
plumbing.max_backoff_duration.CopyFrom(
23812382
convert_duration_to_plumbing(porcelain.max_backoff_duration))
23822383
plumbing.name = (porcelain.name)
2384+
plumbing.node_selector = (porcelain.node_selector)
23832385
plumbing.policy.CopyFrom(
23842386
convert_secret_engine_policy_to_plumbing(porcelain.policy))
23852387
plumbing.public_key = (porcelain.public_key)
@@ -9152,6 +9154,7 @@ def convert_key_value_engine_to_porcelain(plumbing):
91529154
porcelain.key_rotation_interval_days = (
91539155
plumbing.key_rotation_interval_days)
91549156
porcelain.name = (plumbing.name)
9157+
porcelain.node_selector = (plumbing.node_selector)
91559158
porcelain.public_key = (plumbing.public_key)
91569159
porcelain.secret_store_id = (plumbing.secret_store_id)
91579160
porcelain.secret_store_root_path = (plumbing.secret_store_root_path)
@@ -9167,6 +9170,7 @@ def convert_key_value_engine_to_plumbing(porcelain):
91679170
plumbing.key_rotation_interval_days = (
91689171
porcelain.key_rotation_interval_days)
91699172
plumbing.name = (porcelain.name)
9173+
plumbing.node_selector = (porcelain.node_selector)
91709174
plumbing.public_key = (porcelain.public_key)
91719175
plumbing.secret_store_id = (porcelain.secret_store_id)
91729176
plumbing.secret_store_root_path = (porcelain.secret_store_root_path)
@@ -11345,6 +11349,7 @@ def convert_mysql_engine_to_porcelain(plumbing):
1134511349
porcelain.key_rotation_interval_days = (
1134611350
plumbing.key_rotation_interval_days)
1134711351
porcelain.name = (plumbing.name)
11352+
porcelain.node_selector = (plumbing.node_selector)
1134811353
porcelain.password = (plumbing.password)
1134911354
porcelain.policy = convert_secret_engine_policy_to_porcelain(
1135011355
plumbing.policy)
@@ -11372,6 +11377,7 @@ def convert_mysql_engine_to_plumbing(porcelain):
1137211377
plumbing.key_rotation_interval_days = (
1137311378
porcelain.key_rotation_interval_days)
1137411379
plumbing.name = (porcelain.name)
11380+
plumbing.node_selector = (porcelain.node_selector)
1137511381
plumbing.password = (porcelain.password)
1137611382
plumbing.policy.CopyFrom(
1137711383
convert_secret_engine_policy_to_plumbing(porcelain.policy))
@@ -13015,6 +13021,7 @@ def convert_postgres_engine_to_porcelain(plumbing):
1301513021
porcelain.key_rotation_interval_days = (
1301613022
plumbing.key_rotation_interval_days)
1301713023
porcelain.name = (plumbing.name)
13024+
porcelain.node_selector = (plumbing.node_selector)
1301813025
porcelain.password = (plumbing.password)
1301913026
porcelain.policy = convert_secret_engine_policy_to_porcelain(
1302013027
plumbing.policy)
@@ -13041,6 +13048,7 @@ def convert_postgres_engine_to_plumbing(porcelain):
1304113048
plumbing.key_rotation_interval_days = (
1304213049
porcelain.key_rotation_interval_days)
1304313050
plumbing.name = (porcelain.name)
13051+
plumbing.node_selector = (porcelain.node_selector)
1304413052
plumbing.password = (porcelain.password)
1304513053
plumbing.policy.CopyFrom(
1304613054
convert_secret_engine_policy_to_plumbing(porcelain.policy))
@@ -17398,6 +17406,7 @@ def convert_sqlserver_engine_to_porcelain(plumbing):
1739817406
porcelain.key_rotation_interval_days = (
1739917407
plumbing.key_rotation_interval_days)
1740017408
porcelain.name = (plumbing.name)
17409+
porcelain.node_selector = (plumbing.node_selector)
1740117410
porcelain.password = (plumbing.password)
1740217411
porcelain.policy = convert_secret_engine_policy_to_porcelain(
1740317412
plumbing.policy)
@@ -17425,6 +17434,7 @@ def convert_sqlserver_engine_to_plumbing(porcelain):
1742517434
plumbing.key_rotation_interval_days = (
1742617435
porcelain.key_rotation_interval_days)
1742717436
plumbing.name = (porcelain.name)
17437+
plumbing.node_selector = (porcelain.node_selector)
1742817438
plumbing.password = (porcelain.password)
1742917439
plumbing.policy.CopyFrom(
1743017440
convert_secret_engine_policy_to_plumbing(porcelain.policy))

0 commit comments

Comments
 (0)