akeyless 3.3.18 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/Connect.md +2 -0
- data/docs/CreateDBTarget.md +12 -0
- data/docs/CreateUserEvent.md +3 -3
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DbTargetDetails.md +10 -0
- data/docs/GatewayCreateProducerRdp.md +2 -0
- data/docs/GatewayUpdateProducerRdp.md +2 -0
- data/docs/GetLastUserEventStatus.md +1 -1
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/UpdateDBTarget.md +12 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/V2Api.md +2 -2
- data/lib/akeyless/models/connect.rb +10 -1
- data/lib/akeyless/models/create_db_target.rb +67 -1
- data/lib/akeyless/models/create_user_event.rb +3 -3
- data/lib/akeyless/models/db_target_details.rb +46 -1
- data/lib/akeyless/models/ds_producer_details.rb +46 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
- data/lib/akeyless/models/get_last_user_event_status.rb +1 -1
- data/lib/akeyless/models/secure_remote_access.rb +10 -1
- data/lib/akeyless/models/update_db_target.rb +67 -1
- data/lib/akeyless/models/update_item.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- metadata +686 -686
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0709512ec84eb0054bc423cfcf5436d2d1ab6db32a7e1148d844b3fe7a6e23c6'
|
4
|
+
data.tar.gz: 46989faf9ec0c27b96e31b7e433d9b85506658e5d6d3508335137e1a8ec1fb8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74eec35df0120a1b8b321135423917eb6d4476039439db46cbe97418f2849151ae29278f4e3f2859f7cb509e880e572fa79c48a68199f2038581685e8f1b3fcb
|
7
|
+
data.tar.gz: 3301891c3b242d4b7e309676dd1539a200a340e79935c39024eb50c7f624f50076289b18cc89b88e86122c2c15341d3dcb4d49f6614e0c9c3f2e35134d73fb8a
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The purpose of this application is to provide access to Akeyless API.
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.4.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://akeyless.io](http://akeyless.io)
|
13
13
|
|
data/docs/Connect.md
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
| **cert_issuer_name** | **String** | The Akeyless certificate issuer name | [optional] |
|
14
14
|
| **identity_file** | **String** | The file from which the identity (private key) for public key authentication is read | [optional] |
|
15
15
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
16
|
+
| **justification** | **String** | | [optional] |
|
16
17
|
| **name** | **String** | The Secret name (for database and AWS producers - producer name) | [optional] |
|
17
18
|
| **ssh_command** | **String** | Path to SSH executable. e.g. /usr/bin/ssh | [optional] |
|
18
19
|
| **ssh_extra_args** | **String** | The Use to add offical SSH arguments (except -i) | [optional] |
|
@@ -38,6 +39,7 @@ instance = Akeyless::Connect.new(
|
|
38
39
|
cert_issuer_name: null,
|
39
40
|
identity_file: null,
|
40
41
|
json: null,
|
42
|
+
justification: null,
|
41
43
|
name: null,
|
42
44
|
ssh_command: null,
|
43
45
|
ssh_extra_args: null,
|
data/docs/CreateDBTarget.md
CHANGED
@@ -4,7 +4,13 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **db_defined_connection_type** | **String** | | [optional] |
|
8
|
+
| **azure_client_id** | **String** | (Optional) Client id (relevant for \"cloud-service-provider\" only) | [optional] |
|
9
|
+
| **azure_client_secret** | **String** | (Optional) Client secret (relevant for \"cloud-service-provider\" only) | [optional] |
|
10
|
+
| **azure_tenant_id** | **String** | (Optional) Tenant id (relevant for \"cloud-service-provider\" only) | [optional] |
|
11
|
+
| **cloud_service_provider** | **String** | (Optional) Cloud service provider (currently only supports Azure) | [optional] |
|
7
12
|
| **comment** | **String** | Deprecated - use description | [optional] |
|
13
|
+
| **connection_type** | **String** | (Optional) Type of connection to mssql database [credentials/cloud-identity] | [default to 'credentials'] |
|
8
14
|
| **db_name** | **String** | | [optional] |
|
9
15
|
| **db_server_certificates** | **String** | (Optional) DB server certificates | [optional] |
|
10
16
|
| **db_server_name** | **String** | (Optional) Server name for certificate verification | [optional] |
|
@@ -38,7 +44,13 @@
|
|
38
44
|
require 'akeyless'
|
39
45
|
|
40
46
|
instance = Akeyless::CreateDBTarget.new(
|
47
|
+
db_defined_connection_type: null,
|
48
|
+
azure_client_id: null,
|
49
|
+
azure_client_secret: null,
|
50
|
+
azure_tenant_id: null,
|
51
|
+
cloud_service_provider: null,
|
41
52
|
comment: null,
|
53
|
+
connection_type: null,
|
42
54
|
db_name: null,
|
43
55
|
db_server_certificates: null,
|
44
56
|
db_server_name: null,
|
data/docs/CreateUserEvent.md
CHANGED
@@ -9,10 +9,10 @@
|
|
9
9
|
| **description** | **String** | Description of the object | [optional] |
|
10
10
|
| **event_source** | **String** | | [optional] |
|
11
11
|
| **event_type** | **String** | | |
|
12
|
-
| **item_name** | **String** | Event item name | |
|
13
|
-
| **item_type** | **String** | Event item type
|
12
|
+
| **item_name** | **String** | EventItemName Event item name | |
|
13
|
+
| **item_type** | **String** | EventItemType Event item type | |
|
14
14
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
15
|
-
| **request_access_ttl** | **Integer** |
|
15
|
+
| **request_access_ttl** | **Integer** | For how long to grant the requested access, in minutes | [optional] |
|
16
16
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
17
17
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
18
18
|
|
data/docs/DSProducerDetails.md
CHANGED
@@ -50,7 +50,11 @@
|
|
50
50
|
| **chef_server_username** | **String** | | [optional] |
|
51
51
|
| **chef_skip_ssl** | **Boolean** | | [optional] |
|
52
52
|
| **client_authentication_type** | **String** | | [optional] |
|
53
|
+
| **cloud_service_provider** | **String** | | [optional] |
|
54
|
+
| **connection_type** | **String** | | [optional] |
|
53
55
|
| **create_sync_url** | **String** | | [optional] |
|
56
|
+
| **db_client_id** | **String** | | [optional] |
|
57
|
+
| **db_client_secret** | **String** | | [optional] |
|
54
58
|
| **db_host_name** | **String** | | [optional] |
|
55
59
|
| **db_isolation_level** | **String** | | [optional] |
|
56
60
|
| **db_max_idle_conns** | **String** | | [optional] |
|
@@ -62,6 +66,7 @@
|
|
62
66
|
| **db_pwd** | **String** | | [optional] |
|
63
67
|
| **db_server_certificates** | **String** | (Optional) DBServerCertificates defines the set of root certificate authorities that clients use when verifying server certificates. If DBServerCertificates is empty, TLS uses the host's root CA set. | [optional] |
|
64
68
|
| **db_server_name** | **String** | (Optional) ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address. | [optional] |
|
69
|
+
| **db_tenant_id** | **String** | | [optional] |
|
65
70
|
| **db_user_name** | **String** | | [optional] |
|
66
71
|
| **delete_protection** | **Boolean** | | [optional] |
|
67
72
|
| **dynamic_secret_id** | **Integer** | | [optional] |
|
@@ -269,7 +274,11 @@ instance = Akeyless::DSProducerDetails.new(
|
|
269
274
|
chef_server_username: null,
|
270
275
|
chef_skip_ssl: null,
|
271
276
|
client_authentication_type: null,
|
277
|
+
cloud_service_provider: null,
|
278
|
+
connection_type: null,
|
272
279
|
create_sync_url: null,
|
280
|
+
db_client_id: null,
|
281
|
+
db_client_secret: null,
|
273
282
|
db_host_name: null,
|
274
283
|
db_isolation_level: null,
|
275
284
|
db_max_idle_conns: null,
|
@@ -281,6 +290,7 @@ instance = Akeyless::DSProducerDetails.new(
|
|
281
290
|
db_pwd: null,
|
282
291
|
db_server_certificates: null,
|
283
292
|
db_server_name: null,
|
293
|
+
db_tenant_id: null,
|
284
294
|
db_user_name: null,
|
285
295
|
delete_protection: null,
|
286
296
|
dynamic_secret_id: null,
|
data/docs/DbTargetDetails.md
CHANGED
@@ -4,6 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **cloud_service_provider** | **String** | | [optional] |
|
8
|
+
| **connection_type** | **String** | | [optional] |
|
9
|
+
| **db_client_id** | **String** | | [optional] |
|
10
|
+
| **db_client_secret** | **String** | | [optional] |
|
7
11
|
| **db_host_name** | **String** | | [optional] |
|
8
12
|
| **db_name** | **String** | | [optional] |
|
9
13
|
| **db_port** | **String** | | [optional] |
|
@@ -12,6 +16,7 @@
|
|
12
16
|
| **db_pwd** | **String** | | [optional] |
|
13
17
|
| **db_server_certificates** | **String** | (Optional) DBServerCertificates defines the set of root certificate authorities that clients use when verifying server certificates. If DBServerCertificates is empty, TLS uses the host's root CA set. | [optional] |
|
14
18
|
| **db_server_name** | **String** | (Optional) ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address. | [optional] |
|
19
|
+
| **db_tenant_id** | **String** | | [optional] |
|
15
20
|
| **db_user_name** | **String** | | [optional] |
|
16
21
|
| **sf_account** | **String** | | [optional] |
|
17
22
|
| **ssl_connection_certificate** | **String** | (Optional) SSLConnectionCertificate defines the certificate for SSL connection. Must be base64 certificate loaded by UI using file loader field | [optional] |
|
@@ -23,6 +28,10 @@
|
|
23
28
|
require 'akeyless'
|
24
29
|
|
25
30
|
instance = Akeyless::DbTargetDetails.new(
|
31
|
+
cloud_service_provider: null,
|
32
|
+
connection_type: null,
|
33
|
+
db_client_id: null,
|
34
|
+
db_client_secret: null,
|
26
35
|
db_host_name: null,
|
27
36
|
db_name: null,
|
28
37
|
db_port: null,
|
@@ -31,6 +40,7 @@ instance = Akeyless::DbTargetDetails.new(
|
|
31
40
|
db_pwd: null,
|
32
41
|
db_server_certificates: null,
|
33
42
|
db_server_name: null,
|
43
|
+
db_tenant_id: null,
|
34
44
|
db_user_name: null,
|
35
45
|
sf_account: null,
|
36
46
|
ssl_connection_certificate: null,
|
@@ -18,6 +18,7 @@
|
|
18
18
|
| **secure_access_allow_external_user** | **Boolean** | Allow providing external user for a domain users | [optional][default to false] |
|
19
19
|
| **secure_access_enable** | **String** | Enable/Disable secure remote access [true/false] | [optional] |
|
20
20
|
| **secure_access_host** | **Array<String>** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] |
|
21
|
+
| **secure_access_rd_gateway_server** | **String** | RD Gateway server | [optional] |
|
21
22
|
| **secure_access_rdp_domain** | **String** | Required when the Dynamic Secret is used for a domain user | [optional] |
|
22
23
|
| **secure_access_rdp_user** | **String** | Override the RDP Domain username | [optional] |
|
23
24
|
| **tags** | **Array<String>** | Add tags attached to this object | [optional] |
|
@@ -47,6 +48,7 @@ instance = Akeyless::GatewayCreateProducerRdp.new(
|
|
47
48
|
secure_access_allow_external_user: null,
|
48
49
|
secure_access_enable: null,
|
49
50
|
secure_access_host: null,
|
51
|
+
secure_access_rd_gateway_server: null,
|
50
52
|
secure_access_rdp_domain: null,
|
51
53
|
secure_access_rdp_user: null,
|
52
54
|
tags: null,
|
@@ -19,6 +19,7 @@
|
|
19
19
|
| **secure_access_allow_external_user** | **Boolean** | Allow providing external user for a domain users | [optional][default to false] |
|
20
20
|
| **secure_access_enable** | **String** | Enable/Disable secure remote access [true/false] | [optional] |
|
21
21
|
| **secure_access_host** | **Array<String>** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] |
|
22
|
+
| **secure_access_rd_gateway_server** | **String** | RD Gateway server | [optional] |
|
22
23
|
| **secure_access_rdp_domain** | **String** | Required when the Dynamic Secret is used for a domain user | [optional] |
|
23
24
|
| **secure_access_rdp_user** | **String** | Override the RDP Domain username | [optional] |
|
24
25
|
| **tags** | **Array<String>** | Add tags attached to this object | [optional] |
|
@@ -49,6 +50,7 @@ instance = Akeyless::GatewayUpdateProducerRdp.new(
|
|
49
50
|
secure_access_allow_external_user: null,
|
50
51
|
secure_access_enable: null,
|
51
52
|
secure_access_host: null,
|
53
|
+
secure_access_rd_gateway_server: null,
|
52
54
|
secure_access_rdp_domain: null,
|
53
55
|
secure_access_rdp_user: null,
|
54
56
|
tags: null,
|
@@ -9,7 +9,7 @@
|
|
9
9
|
| **item_name** | **String** | Event item name | |
|
10
10
|
| **item_type** | **String** | Event item type can be either \"target\" or type of item eg \"static_secret\"/\"dynamic_secret\" To get type of some item run `akeyless describe-item -n {ITEM_NAME} --jq-expression .item_type` | |
|
11
11
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
12
|
-
| **time_back** | **String** | The time back to search the event,
|
12
|
+
| **time_back** | **String** | The time back to search the event, for example if the value is \"5m\" we will return the last user event issued in the last 5 minutes. By default, we will search without any time boundary. | [optional] |
|
13
13
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
14
14
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
15
15
|
|
data/docs/SecureRemoteAccess.md
CHANGED
@@ -22,6 +22,7 @@
|
|
22
22
|
| **is_web** | **Boolean** | | [optional] |
|
23
23
|
| **isolated** | **Boolean** | | [optional] |
|
24
24
|
| **native** | **Boolean** | | [optional] |
|
25
|
+
| **rd_gateway_server** | **String** | | [optional] |
|
25
26
|
| **rdp_user** | **String** | | [optional] |
|
26
27
|
| **region** | **String** | | [optional] |
|
27
28
|
| **rotate_after_disconnect** | **Boolean** | | [optional] |
|
@@ -57,6 +58,7 @@ instance = Akeyless::SecureRemoteAccess.new(
|
|
57
58
|
is_web: null,
|
58
59
|
isolated: null,
|
59
60
|
native: null,
|
61
|
+
rd_gateway_server: null,
|
60
62
|
rdp_user: null,
|
61
63
|
region: null,
|
62
64
|
rotate_after_disconnect: null,
|
data/docs/UpdateDBTarget.md
CHANGED
@@ -4,7 +4,13 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **db_defined_connection_type** | **String** | | [optional] |
|
8
|
+
| **azure_client_id** | **String** | (Optional) Client id (relevant for \"cloud-service-provider\" only) | [optional] |
|
9
|
+
| **azure_client_secret** | **String** | (Optional) Client secret (relevant for \"cloud-service-provider\" only) | [optional] |
|
10
|
+
| **azure_tenant_id** | **String** | (Optional) Tenant id (relevant for \"cloud-service-provider\" only) | [optional] |
|
11
|
+
| **cloud_service_provider** | **String** | (Optional) Cloud service provider (currently only supports Azure) | [optional] |
|
7
12
|
| **comment** | **String** | Deprecated - use description | [optional] |
|
13
|
+
| **connection_type** | **String** | (Optional) Type of connection to mssql database [credentials/cloud-identity] | [default to 'credentials'] |
|
8
14
|
| **db_name** | **String** | | [optional] |
|
9
15
|
| **db_server_certificates** | **String** | (Optional) DB server certificates | [optional] |
|
10
16
|
| **db_server_name** | **String** | (Optional) Server name for certificate verification | [optional] |
|
@@ -41,7 +47,13 @@
|
|
41
47
|
require 'akeyless'
|
42
48
|
|
43
49
|
instance = Akeyless::UpdateDBTarget.new(
|
50
|
+
db_defined_connection_type: null,
|
51
|
+
azure_client_id: null,
|
52
|
+
azure_client_secret: null,
|
53
|
+
azure_tenant_id: null,
|
54
|
+
cloud_service_provider: null,
|
44
55
|
comment: null,
|
56
|
+
connection_type: null,
|
45
57
|
db_name: null,
|
46
58
|
db_server_certificates: null,
|
47
59
|
db_server_name: null,
|
data/docs/UpdateItem.md
CHANGED
@@ -30,6 +30,7 @@
|
|
30
30
|
| **secure_access_db_schema** | **String** | The DB schema (relevant only for DB Dynamic-Secret) | [optional] |
|
31
31
|
| **secure_access_enable** | **String** | Enable/Disable secure remote access [true/false] | [optional] |
|
32
32
|
| **secure_access_host** | **Array<String>** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] |
|
33
|
+
| **secure_access_rd_gateway_server** | **String** | RD Gateway server (relevant only for rdp) | [optional] |
|
33
34
|
| **secure_access_rdp_domain** | **String** | Required when the Dynamic Secret is used for a domain user (relevant only for RDP Dynamic-Secret) | [optional] |
|
34
35
|
| **secure_access_rdp_user** | **String** | Override the RDP Domain username | [optional] |
|
35
36
|
| **secure_access_rm_host** | **Array<String>** | List of the existent hosts that will be removed from SRA servers host | [optional] |
|
@@ -74,6 +75,7 @@ instance = Akeyless::UpdateItem.new(
|
|
74
75
|
secure_access_db_schema: null,
|
75
76
|
secure_access_enable: null,
|
76
77
|
secure_access_host: null,
|
78
|
+
secure_access_rd_gateway_server: null,
|
77
79
|
secure_access_rdp_domain: null,
|
78
80
|
secure_access_rdp_user: null,
|
79
81
|
secure_access_rm_host: null,
|
data/docs/V2Api.md
CHANGED
@@ -1744,7 +1744,7 @@ require 'time'
|
|
1744
1744
|
require 'akeyless'
|
1745
1745
|
|
1746
1746
|
api_instance = Akeyless::V2Api.new
|
1747
|
-
body = Akeyless::CreateDBTarget.new({db_type: 'db_type_example', name: 'name_example'}) # CreateDBTarget |
|
1747
|
+
body = Akeyless::CreateDBTarget.new({connection_type: 'connection_type_example', db_type: 'db_type_example', name: 'name_example'}) # CreateDBTarget |
|
1748
1748
|
|
1749
1749
|
begin
|
1750
1750
|
|
@@ -16211,7 +16211,7 @@ require 'time'
|
|
16211
16211
|
require 'akeyless'
|
16212
16212
|
|
16213
16213
|
api_instance = Akeyless::V2Api.new
|
16214
|
-
body = Akeyless::UpdateDBTarget.new({db_type: 'db_type_example', name: 'name_example'}) # UpdateDBTarget |
|
16214
|
+
body = Akeyless::UpdateDBTarget.new({connection_type: 'connection_type_example', db_type: 'db_type_example', name: 'name_example'}) # UpdateDBTarget |
|
16215
16215
|
|
16216
16216
|
begin
|
16217
16217
|
|
@@ -42,6 +42,8 @@ module Akeyless
|
|
42
42
|
# Set output format to JSON
|
43
43
|
attr_accessor :json
|
44
44
|
|
45
|
+
attr_accessor :justification
|
46
|
+
|
45
47
|
# The Secret name (for database and AWS producers - producer name)
|
46
48
|
attr_accessor :name
|
47
49
|
|
@@ -81,6 +83,7 @@ module Akeyless
|
|
81
83
|
:'cert_issuer_name' => :'cert-issuer-name',
|
82
84
|
:'identity_file' => :'identity-file',
|
83
85
|
:'json' => :'json',
|
86
|
+
:'justification' => :'justification',
|
84
87
|
:'name' => :'name',
|
85
88
|
:'ssh_command' => :'ssh-command',
|
86
89
|
:'ssh_extra_args' => :'ssh-extra-args',
|
@@ -110,6 +113,7 @@ module Akeyless
|
|
110
113
|
:'cert_issuer_name' => :'String',
|
111
114
|
:'identity_file' => :'String',
|
112
115
|
:'json' => :'Boolean',
|
116
|
+
:'justification' => :'String',
|
113
117
|
:'name' => :'String',
|
114
118
|
:'ssh_command' => :'String',
|
115
119
|
:'ssh_extra_args' => :'String',
|
@@ -185,6 +189,10 @@ module Akeyless
|
|
185
189
|
self.json = false
|
186
190
|
end
|
187
191
|
|
192
|
+
if attributes.key?(:'justification')
|
193
|
+
self.justification = attributes[:'justification']
|
194
|
+
end
|
195
|
+
|
188
196
|
if attributes.key?(:'name')
|
189
197
|
self.name = attributes[:'name']
|
190
198
|
end
|
@@ -253,6 +261,7 @@ module Akeyless
|
|
253
261
|
cert_issuer_name == o.cert_issuer_name &&
|
254
262
|
identity_file == o.identity_file &&
|
255
263
|
json == o.json &&
|
264
|
+
justification == o.justification &&
|
256
265
|
name == o.name &&
|
257
266
|
ssh_command == o.ssh_command &&
|
258
267
|
ssh_extra_args == o.ssh_extra_args &&
|
@@ -273,7 +282,7 @@ module Akeyless
|
|
273
282
|
# Calculates hash code according to all attributes.
|
274
283
|
# @return [Integer] Hash code
|
275
284
|
def hash
|
276
|
-
[helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, identity_file, json, name, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion].hash
|
285
|
+
[helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, identity_file, json, justification, name, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion].hash
|
277
286
|
end
|
278
287
|
|
279
288
|
# Builds the object from hash
|
@@ -15,9 +15,26 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class CreateDBTarget
|
18
|
+
attr_accessor :db_defined_connection_type
|
19
|
+
|
20
|
+
# (Optional) Client id (relevant for \"cloud-service-provider\" only)
|
21
|
+
attr_accessor :azure_client_id
|
22
|
+
|
23
|
+
# (Optional) Client secret (relevant for \"cloud-service-provider\" only)
|
24
|
+
attr_accessor :azure_client_secret
|
25
|
+
|
26
|
+
# (Optional) Tenant id (relevant for \"cloud-service-provider\" only)
|
27
|
+
attr_accessor :azure_tenant_id
|
28
|
+
|
29
|
+
# (Optional) Cloud service provider (currently only supports Azure)
|
30
|
+
attr_accessor :cloud_service_provider
|
31
|
+
|
18
32
|
# Deprecated - use description
|
19
33
|
attr_accessor :comment
|
20
34
|
|
35
|
+
# (Optional) Type of connection to mssql database [credentials/cloud-identity]
|
36
|
+
attr_accessor :connection_type
|
37
|
+
|
21
38
|
attr_accessor :db_name
|
22
39
|
|
23
40
|
# (Optional) DB server certificates
|
@@ -90,7 +107,13 @@ module Akeyless
|
|
90
107
|
# Attribute mapping from ruby-style variable name to JSON key.
|
91
108
|
def self.attribute_map
|
92
109
|
{
|
110
|
+
:'db_defined_connection_type' => :'DBDefinedConnectionType',
|
111
|
+
:'azure_client_id' => :'azure-client-id',
|
112
|
+
:'azure_client_secret' => :'azure-client-secret',
|
113
|
+
:'azure_tenant_id' => :'azure-tenant-id',
|
114
|
+
:'cloud_service_provider' => :'cloud-service-provider',
|
93
115
|
:'comment' => :'comment',
|
116
|
+
:'connection_type' => :'connection-type',
|
94
117
|
:'db_name' => :'db-name',
|
95
118
|
:'db_server_certificates' => :'db-server-certificates',
|
96
119
|
:'db_server_name' => :'db-server-name',
|
@@ -128,7 +151,13 @@ module Akeyless
|
|
128
151
|
# Attribute type mapping.
|
129
152
|
def self.openapi_types
|
130
153
|
{
|
154
|
+
:'db_defined_connection_type' => :'String',
|
155
|
+
:'azure_client_id' => :'String',
|
156
|
+
:'azure_client_secret' => :'String',
|
157
|
+
:'azure_tenant_id' => :'String',
|
158
|
+
:'cloud_service_provider' => :'String',
|
131
159
|
:'comment' => :'String',
|
160
|
+
:'connection_type' => :'String',
|
132
161
|
:'db_name' => :'String',
|
133
162
|
:'db_server_certificates' => :'String',
|
134
163
|
:'db_server_name' => :'String',
|
@@ -179,10 +208,36 @@ module Akeyless
|
|
179
208
|
h[k.to_sym] = v
|
180
209
|
}
|
181
210
|
|
211
|
+
if attributes.key?(:'db_defined_connection_type')
|
212
|
+
self.db_defined_connection_type = attributes[:'db_defined_connection_type']
|
213
|
+
end
|
214
|
+
|
215
|
+
if attributes.key?(:'azure_client_id')
|
216
|
+
self.azure_client_id = attributes[:'azure_client_id']
|
217
|
+
end
|
218
|
+
|
219
|
+
if attributes.key?(:'azure_client_secret')
|
220
|
+
self.azure_client_secret = attributes[:'azure_client_secret']
|
221
|
+
end
|
222
|
+
|
223
|
+
if attributes.key?(:'azure_tenant_id')
|
224
|
+
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.key?(:'cloud_service_provider')
|
228
|
+
self.cloud_service_provider = attributes[:'cloud_service_provider']
|
229
|
+
end
|
230
|
+
|
182
231
|
if attributes.key?(:'comment')
|
183
232
|
self.comment = attributes[:'comment']
|
184
233
|
end
|
185
234
|
|
235
|
+
if attributes.key?(:'connection_type')
|
236
|
+
self.connection_type = attributes[:'connection_type']
|
237
|
+
else
|
238
|
+
self.connection_type = 'credentials'
|
239
|
+
end
|
240
|
+
|
186
241
|
if attributes.key?(:'db_name')
|
187
242
|
self.db_name = attributes[:'db_name']
|
188
243
|
end
|
@@ -301,6 +356,10 @@ module Akeyless
|
|
301
356
|
def list_invalid_properties
|
302
357
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
303
358
|
invalid_properties = Array.new
|
359
|
+
if @connection_type.nil?
|
360
|
+
invalid_properties.push('invalid value for "connection_type", connection_type cannot be nil.')
|
361
|
+
end
|
362
|
+
|
304
363
|
if @db_type.nil?
|
305
364
|
invalid_properties.push('invalid value for "db_type", db_type cannot be nil.')
|
306
365
|
end
|
@@ -316,6 +375,7 @@ module Akeyless
|
|
316
375
|
# @return true if the model is valid
|
317
376
|
def valid?
|
318
377
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
378
|
+
return false if @connection_type.nil?
|
319
379
|
return false if @db_type.nil?
|
320
380
|
return false if @name.nil?
|
321
381
|
true
|
@@ -326,7 +386,13 @@ module Akeyless
|
|
326
386
|
def ==(o)
|
327
387
|
return true if self.equal?(o)
|
328
388
|
self.class == o.class &&
|
389
|
+
db_defined_connection_type == o.db_defined_connection_type &&
|
390
|
+
azure_client_id == o.azure_client_id &&
|
391
|
+
azure_client_secret == o.azure_client_secret &&
|
392
|
+
azure_tenant_id == o.azure_tenant_id &&
|
393
|
+
cloud_service_provider == o.cloud_service_provider &&
|
329
394
|
comment == o.comment &&
|
395
|
+
connection_type == o.connection_type &&
|
330
396
|
db_name == o.db_name &&
|
331
397
|
db_server_certificates == o.db_server_certificates &&
|
332
398
|
db_server_name == o.db_server_name &&
|
@@ -364,7 +430,7 @@ module Akeyless
|
|
364
430
|
# Calculates hash code according to all attributes.
|
365
431
|
# @return [Integer] Hash code
|
366
432
|
def hash
|
367
|
-
[comment, db_name, db_server_certificates, db_server_name, db_type, description, host, json, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
|
433
|
+
[db_defined_connection_type, azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, host, json, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
|
368
434
|
end
|
369
435
|
|
370
436
|
# Builds the object from hash
|
@@ -28,16 +28,16 @@ module Akeyless
|
|
28
28
|
|
29
29
|
attr_accessor :event_type
|
30
30
|
|
31
|
-
# Event item name
|
31
|
+
# EventItemName Event item name
|
32
32
|
attr_accessor :item_name
|
33
33
|
|
34
|
-
# Event item type
|
34
|
+
# EventItemType Event item type
|
35
35
|
attr_accessor :item_type
|
36
36
|
|
37
37
|
# Set output format to JSON
|
38
38
|
attr_accessor :json
|
39
39
|
|
40
|
-
#
|
40
|
+
# For how long to grant the requested access, in minutes
|
41
41
|
attr_accessor :request_access_ttl
|
42
42
|
|
43
43
|
# Authentication token (see `/auth` and `/configure`)
|
@@ -16,6 +16,14 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# DbTargetDetails
|
18
18
|
class DbTargetDetails
|
19
|
+
attr_accessor :cloud_service_provider
|
20
|
+
|
21
|
+
attr_accessor :connection_type
|
22
|
+
|
23
|
+
attr_accessor :db_client_id
|
24
|
+
|
25
|
+
attr_accessor :db_client_secret
|
26
|
+
|
19
27
|
attr_accessor :db_host_name
|
20
28
|
|
21
29
|
attr_accessor :db_name
|
@@ -35,6 +43,8 @@ module Akeyless
|
|
35
43
|
# (Optional) ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address.
|
36
44
|
attr_accessor :db_server_name
|
37
45
|
|
46
|
+
attr_accessor :db_tenant_id
|
47
|
+
|
38
48
|
attr_accessor :db_user_name
|
39
49
|
|
40
50
|
attr_accessor :sf_account
|
@@ -48,6 +58,10 @@ module Akeyless
|
|
48
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
49
59
|
def self.attribute_map
|
50
60
|
{
|
61
|
+
:'cloud_service_provider' => :'cloud_service_provider',
|
62
|
+
:'connection_type' => :'connection_type',
|
63
|
+
:'db_client_id' => :'db_client_id',
|
64
|
+
:'db_client_secret' => :'db_client_secret',
|
51
65
|
:'db_host_name' => :'db_host_name',
|
52
66
|
:'db_name' => :'db_name',
|
53
67
|
:'db_port' => :'db_port',
|
@@ -56,6 +70,7 @@ module Akeyless
|
|
56
70
|
:'db_pwd' => :'db_pwd',
|
57
71
|
:'db_server_certificates' => :'db_server_certificates',
|
58
72
|
:'db_server_name' => :'db_server_name',
|
73
|
+
:'db_tenant_id' => :'db_tenant_id',
|
59
74
|
:'db_user_name' => :'db_user_name',
|
60
75
|
:'sf_account' => :'sf_account',
|
61
76
|
:'ssl_connection_certificate' => :'ssl_connection_certificate',
|
@@ -71,6 +86,10 @@ module Akeyless
|
|
71
86
|
# Attribute type mapping.
|
72
87
|
def self.openapi_types
|
73
88
|
{
|
89
|
+
:'cloud_service_provider' => :'String',
|
90
|
+
:'connection_type' => :'String',
|
91
|
+
:'db_client_id' => :'String',
|
92
|
+
:'db_client_secret' => :'String',
|
74
93
|
:'db_host_name' => :'String',
|
75
94
|
:'db_name' => :'String',
|
76
95
|
:'db_port' => :'String',
|
@@ -79,6 +98,7 @@ module Akeyless
|
|
79
98
|
:'db_pwd' => :'String',
|
80
99
|
:'db_server_certificates' => :'String',
|
81
100
|
:'db_server_name' => :'String',
|
101
|
+
:'db_tenant_id' => :'String',
|
82
102
|
:'db_user_name' => :'String',
|
83
103
|
:'sf_account' => :'String',
|
84
104
|
:'ssl_connection_certificate' => :'String',
|
@@ -107,6 +127,22 @@ module Akeyless
|
|
107
127
|
h[k.to_sym] = v
|
108
128
|
}
|
109
129
|
|
130
|
+
if attributes.key?(:'cloud_service_provider')
|
131
|
+
self.cloud_service_provider = attributes[:'cloud_service_provider']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.key?(:'connection_type')
|
135
|
+
self.connection_type = attributes[:'connection_type']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes.key?(:'db_client_id')
|
139
|
+
self.db_client_id = attributes[:'db_client_id']
|
140
|
+
end
|
141
|
+
|
142
|
+
if attributes.key?(:'db_client_secret')
|
143
|
+
self.db_client_secret = attributes[:'db_client_secret']
|
144
|
+
end
|
145
|
+
|
110
146
|
if attributes.key?(:'db_host_name')
|
111
147
|
self.db_host_name = attributes[:'db_host_name']
|
112
148
|
end
|
@@ -139,6 +175,10 @@ module Akeyless
|
|
139
175
|
self.db_server_name = attributes[:'db_server_name']
|
140
176
|
end
|
141
177
|
|
178
|
+
if attributes.key?(:'db_tenant_id')
|
179
|
+
self.db_tenant_id = attributes[:'db_tenant_id']
|
180
|
+
end
|
181
|
+
|
142
182
|
if attributes.key?(:'db_user_name')
|
143
183
|
self.db_user_name = attributes[:'db_user_name']
|
144
184
|
end
|
@@ -176,6 +216,10 @@ module Akeyless
|
|
176
216
|
def ==(o)
|
177
217
|
return true if self.equal?(o)
|
178
218
|
self.class == o.class &&
|
219
|
+
cloud_service_provider == o.cloud_service_provider &&
|
220
|
+
connection_type == o.connection_type &&
|
221
|
+
db_client_id == o.db_client_id &&
|
222
|
+
db_client_secret == o.db_client_secret &&
|
179
223
|
db_host_name == o.db_host_name &&
|
180
224
|
db_name == o.db_name &&
|
181
225
|
db_port == o.db_port &&
|
@@ -184,6 +228,7 @@ module Akeyless
|
|
184
228
|
db_pwd == o.db_pwd &&
|
185
229
|
db_server_certificates == o.db_server_certificates &&
|
186
230
|
db_server_name == o.db_server_name &&
|
231
|
+
db_tenant_id == o.db_tenant_id &&
|
187
232
|
db_user_name == o.db_user_name &&
|
188
233
|
sf_account == o.sf_account &&
|
189
234
|
ssl_connection_certificate == o.ssl_connection_certificate &&
|
@@ -199,7 +244,7 @@ module Akeyless
|
|
199
244
|
# Calculates hash code according to all attributes.
|
200
245
|
# @return [Integer] Hash code
|
201
246
|
def hash
|
202
|
-
[db_host_name, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_user_name, sf_account, ssl_connection_certificate, ssl_connection_mode].hash
|
247
|
+
[cloud_service_provider, connection_type, db_client_id, db_client_secret, db_host_name, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_tenant_id, db_user_name, sf_account, ssl_connection_certificate, ssl_connection_mode].hash
|
203
248
|
end
|
204
249
|
|
205
250
|
# Builds the object from hash
|