akeyless 3.3.17 → 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 +2 -2
- 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 +65 -62
- data/lib/akeyless/api/v2_api.rb +64 -53
- 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
|
|
@@ -239,6 +239,7 @@ Class | Method | HTTP request | Description
|
|
239
239
|
*Akeyless::V2Api* | [**get_event_forwarder**](docs/V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder |
|
240
240
|
*Akeyless::V2Api* | [**get_group**](docs/V2Api.md#get_group) | **POST** /get-group |
|
241
241
|
*Akeyless::V2Api* | [**get_kube_exec_creds**](docs/V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds |
|
242
|
+
*Akeyless::V2Api* | [**get_last_user_event_status**](docs/V2Api.md#get_last_user_event_status) | **POST** /user-event-last-status |
|
242
243
|
*Akeyless::V2Api* | [**get_pki_certificate**](docs/V2Api.md#get_pki_certificate) | **POST** /get-pki-certificate |
|
243
244
|
*Akeyless::V2Api* | [**get_role**](docs/V2Api.md#get_role) | **POST** /get-role |
|
244
245
|
*Akeyless::V2Api* | [**get_rotated_secret_value**](docs/V2Api.md#get_rotated_secret_value) | **POST** /get-rotated-secret-value |
|
@@ -248,7 +249,6 @@ Class | Method | HTTP request | Description
|
|
248
249
|
*Akeyless::V2Api* | [**get_tags**](docs/V2Api.md#get_tags) | **POST** /get-tags |
|
249
250
|
*Akeyless::V2Api* | [**get_target**](docs/V2Api.md#get_target) | **POST** /get-target |
|
250
251
|
*Akeyless::V2Api* | [**get_target_details**](docs/V2Api.md#get_target_details) | **POST** /get-target-details |
|
251
|
-
*Akeyless::V2Api* | [**get_user_last_event_status**](docs/V2Api.md#get_user_last_event_status) | **POST** /user-event-last-status |
|
252
252
|
*Akeyless::V2Api* | [**hmac**](docs/V2Api.md#hmac) | **POST** /hmac |
|
253
253
|
*Akeyless::V2Api* | [**import_passwords**](docs/V2Api.md#import_passwords) | **POST** /import-passwords |
|
254
254
|
*Akeyless::V2Api* | [**kmip_client_delete_rule**](docs/V2Api.md#kmip_client_delete_rule) | **POST** /kmip-client-delete-rule |
|
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
@@ -184,6 +184,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
184
184
|
| [**get_event_forwarder**](V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder | |
|
185
185
|
| [**get_group**](V2Api.md#get_group) | **POST** /get-group | |
|
186
186
|
| [**get_kube_exec_creds**](V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds | |
|
187
|
+
| [**get_last_user_event_status**](V2Api.md#get_last_user_event_status) | **POST** /user-event-last-status | |
|
187
188
|
| [**get_pki_certificate**](V2Api.md#get_pki_certificate) | **POST** /get-pki-certificate | |
|
188
189
|
| [**get_role**](V2Api.md#get_role) | **POST** /get-role | |
|
189
190
|
| [**get_rotated_secret_value**](V2Api.md#get_rotated_secret_value) | **POST** /get-rotated-secret-value | |
|
@@ -193,7 +194,6 @@ All URIs are relative to *https://api.akeyless.io*
|
|
193
194
|
| [**get_tags**](V2Api.md#get_tags) | **POST** /get-tags | |
|
194
195
|
| [**get_target**](V2Api.md#get_target) | **POST** /get-target | |
|
195
196
|
| [**get_target_details**](V2Api.md#get_target_details) | **POST** /get-target-details | |
|
196
|
-
| [**get_user_last_event_status**](V2Api.md#get_user_last_event_status) | **POST** /user-event-last-status | |
|
197
197
|
| [**hmac**](V2Api.md#hmac) | **POST** /hmac | |
|
198
198
|
| [**import_passwords**](V2Api.md#import_passwords) | **POST** /import-passwords | |
|
199
199
|
| [**kmip_client_delete_rule**](V2Api.md#kmip_client_delete_rule) | **POST** /kmip-client-delete-rule | |
|
@@ -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
|
|
@@ -11463,6 +11463,68 @@ No authorization required
|
|
11463
11463
|
- **Accept**: application/json
|
11464
11464
|
|
11465
11465
|
|
11466
|
+
## get_last_user_event_status
|
11467
|
+
|
11468
|
+
> <GetUserEventStatusOutput> get_last_user_event_status(body)
|
11469
|
+
|
11470
|
+
|
11471
|
+
|
11472
|
+
### Examples
|
11473
|
+
|
11474
|
+
```ruby
|
11475
|
+
require 'time'
|
11476
|
+
require 'akeyless'
|
11477
|
+
|
11478
|
+
api_instance = Akeyless::V2Api.new
|
11479
|
+
body = Akeyless::GetLastUserEventStatus.new({event_type: 'event_type_example', item_name: 'item_name_example', item_type: 'item_type_example'}) # GetLastUserEventStatus |
|
11480
|
+
|
11481
|
+
begin
|
11482
|
+
|
11483
|
+
result = api_instance.get_last_user_event_status(body)
|
11484
|
+
p result
|
11485
|
+
rescue Akeyless::ApiError => e
|
11486
|
+
puts "Error when calling V2Api->get_last_user_event_status: #{e}"
|
11487
|
+
end
|
11488
|
+
```
|
11489
|
+
|
11490
|
+
#### Using the get_last_user_event_status_with_http_info variant
|
11491
|
+
|
11492
|
+
This returns an Array which contains the response data, status code and headers.
|
11493
|
+
|
11494
|
+
> <Array(<GetUserEventStatusOutput>, Integer, Hash)> get_last_user_event_status_with_http_info(body)
|
11495
|
+
|
11496
|
+
```ruby
|
11497
|
+
begin
|
11498
|
+
|
11499
|
+
data, status_code, headers = api_instance.get_last_user_event_status_with_http_info(body)
|
11500
|
+
p status_code # => 2xx
|
11501
|
+
p headers # => { ... }
|
11502
|
+
p data # => <GetUserEventStatusOutput>
|
11503
|
+
rescue Akeyless::ApiError => e
|
11504
|
+
puts "Error when calling V2Api->get_last_user_event_status_with_http_info: #{e}"
|
11505
|
+
end
|
11506
|
+
```
|
11507
|
+
|
11508
|
+
### Parameters
|
11509
|
+
|
11510
|
+
| Name | Type | Description | Notes |
|
11511
|
+
| ---- | ---- | ----------- | ----- |
|
11512
|
+
| **body** | [**GetLastUserEventStatus**](GetLastUserEventStatus.md) | | |
|
11513
|
+
|
11514
|
+
### Return type
|
11515
|
+
|
11516
|
+
[**GetUserEventStatusOutput**](GetUserEventStatusOutput.md)
|
11517
|
+
|
11518
|
+
### Authorization
|
11519
|
+
|
11520
|
+
No authorization required
|
11521
|
+
|
11522
|
+
### HTTP request headers
|
11523
|
+
|
11524
|
+
- **Content-Type**: application/json
|
11525
|
+
- **Accept**: application/json
|
11526
|
+
|
11527
|
+
|
11466
11528
|
## get_pki_certificate
|
11467
11529
|
|
11468
11530
|
> <GetPKICertificateOutput> get_pki_certificate(body)
|
@@ -12021,65 +12083,6 @@ No authorization required
|
|
12021
12083
|
- **Accept**: application/json
|
12022
12084
|
|
12023
12085
|
|
12024
|
-
## get_user_last_event_status
|
12025
|
-
|
12026
|
-
> <GetUserEventStatusOutput> get_user_last_event_status
|
12027
|
-
|
12028
|
-
|
12029
|
-
|
12030
|
-
### Examples
|
12031
|
-
|
12032
|
-
```ruby
|
12033
|
-
require 'time'
|
12034
|
-
require 'akeyless'
|
12035
|
-
|
12036
|
-
api_instance = Akeyless::V2Api.new
|
12037
|
-
|
12038
|
-
begin
|
12039
|
-
|
12040
|
-
result = api_instance.get_user_last_event_status
|
12041
|
-
p result
|
12042
|
-
rescue Akeyless::ApiError => e
|
12043
|
-
puts "Error when calling V2Api->get_user_last_event_status: #{e}"
|
12044
|
-
end
|
12045
|
-
```
|
12046
|
-
|
12047
|
-
#### Using the get_user_last_event_status_with_http_info variant
|
12048
|
-
|
12049
|
-
This returns an Array which contains the response data, status code and headers.
|
12050
|
-
|
12051
|
-
> <Array(<GetUserEventStatusOutput>, Integer, Hash)> get_user_last_event_status_with_http_info
|
12052
|
-
|
12053
|
-
```ruby
|
12054
|
-
begin
|
12055
|
-
|
12056
|
-
data, status_code, headers = api_instance.get_user_last_event_status_with_http_info
|
12057
|
-
p status_code # => 2xx
|
12058
|
-
p headers # => { ... }
|
12059
|
-
p data # => <GetUserEventStatusOutput>
|
12060
|
-
rescue Akeyless::ApiError => e
|
12061
|
-
puts "Error when calling V2Api->get_user_last_event_status_with_http_info: #{e}"
|
12062
|
-
end
|
12063
|
-
```
|
12064
|
-
|
12065
|
-
### Parameters
|
12066
|
-
|
12067
|
-
This endpoint does not need any parameter.
|
12068
|
-
|
12069
|
-
### Return type
|
12070
|
-
|
12071
|
-
[**GetUserEventStatusOutput**](GetUserEventStatusOutput.md)
|
12072
|
-
|
12073
|
-
### Authorization
|
12074
|
-
|
12075
|
-
No authorization required
|
12076
|
-
|
12077
|
-
### HTTP request headers
|
12078
|
-
|
12079
|
-
- **Content-Type**: Not defined
|
12080
|
-
- **Accept**: application/json
|
12081
|
-
|
12082
|
-
|
12083
12086
|
## hmac
|
12084
12087
|
|
12085
12088
|
> <HmacOutput> hmac(body)
|
@@ -16208,7 +16211,7 @@ require 'time'
|
|
16208
16211
|
require 'akeyless'
|
16209
16212
|
|
16210
16213
|
api_instance = Akeyless::V2Api.new
|
16211
|
-
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 |
|
16212
16215
|
|
16213
16216
|
begin
|
16214
16217
|
|
data/lib/akeyless/api/v2_api.rb
CHANGED
@@ -11505,6 +11505,70 @@ module Akeyless
|
|
11505
11505
|
return data, status_code, headers
|
11506
11506
|
end
|
11507
11507
|
|
11508
|
+
# @param body [GetLastUserEventStatus]
|
11509
|
+
# @param [Hash] opts the optional parameters
|
11510
|
+
# @return [GetUserEventStatusOutput]
|
11511
|
+
def get_last_user_event_status(body, opts = {})
|
11512
|
+
data, _status_code, _headers = get_last_user_event_status_with_http_info(body, opts)
|
11513
|
+
data
|
11514
|
+
end
|
11515
|
+
|
11516
|
+
# @param body [GetLastUserEventStatus]
|
11517
|
+
# @param [Hash] opts the optional parameters
|
11518
|
+
# @return [Array<(GetUserEventStatusOutput, Integer, Hash)>] GetUserEventStatusOutput data, response status code and response headers
|
11519
|
+
def get_last_user_event_status_with_http_info(body, opts = {})
|
11520
|
+
if @api_client.config.debugging
|
11521
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_last_user_event_status ...'
|
11522
|
+
end
|
11523
|
+
# verify the required parameter 'body' is set
|
11524
|
+
if @api_client.config.client_side_validation && body.nil?
|
11525
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_last_user_event_status"
|
11526
|
+
end
|
11527
|
+
# resource path
|
11528
|
+
local_var_path = '/user-event-last-status'
|
11529
|
+
|
11530
|
+
# query parameters
|
11531
|
+
query_params = opts[:query_params] || {}
|
11532
|
+
|
11533
|
+
# header parameters
|
11534
|
+
header_params = opts[:header_params] || {}
|
11535
|
+
# HTTP header 'Accept' (if needed)
|
11536
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
11537
|
+
# HTTP header 'Content-Type'
|
11538
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
11539
|
+
if !content_type.nil?
|
11540
|
+
header_params['Content-Type'] = content_type
|
11541
|
+
end
|
11542
|
+
|
11543
|
+
# form parameters
|
11544
|
+
form_params = opts[:form_params] || {}
|
11545
|
+
|
11546
|
+
# http body (model)
|
11547
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
11548
|
+
|
11549
|
+
# return_type
|
11550
|
+
return_type = opts[:debug_return_type] || 'GetUserEventStatusOutput'
|
11551
|
+
|
11552
|
+
# auth_names
|
11553
|
+
auth_names = opts[:debug_auth_names] || []
|
11554
|
+
|
11555
|
+
new_options = opts.merge(
|
11556
|
+
:operation => :"V2Api.get_last_user_event_status",
|
11557
|
+
:header_params => header_params,
|
11558
|
+
:query_params => query_params,
|
11559
|
+
:form_params => form_params,
|
11560
|
+
:body => post_body,
|
11561
|
+
:auth_names => auth_names,
|
11562
|
+
:return_type => return_type
|
11563
|
+
)
|
11564
|
+
|
11565
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
11566
|
+
if @api_client.config.debugging
|
11567
|
+
@api_client.config.logger.debug "API called: V2Api#get_last_user_event_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
11568
|
+
end
|
11569
|
+
return data, status_code, headers
|
11570
|
+
end
|
11571
|
+
|
11508
11572
|
# @param body [GetPKICertificate]
|
11509
11573
|
# @param [Hash] opts the optional parameters
|
11510
11574
|
# @return [GetPKICertificateOutput]
|
@@ -12081,59 +12145,6 @@ module Akeyless
|
|
12081
12145
|
return data, status_code, headers
|
12082
12146
|
end
|
12083
12147
|
|
12084
|
-
# @param [Hash] opts the optional parameters
|
12085
|
-
# @return [GetUserEventStatusOutput]
|
12086
|
-
def get_user_last_event_status(opts = {})
|
12087
|
-
data, _status_code, _headers = get_user_last_event_status_with_http_info(opts)
|
12088
|
-
data
|
12089
|
-
end
|
12090
|
-
|
12091
|
-
# @param [Hash] opts the optional parameters
|
12092
|
-
# @return [Array<(GetUserEventStatusOutput, Integer, Hash)>] GetUserEventStatusOutput data, response status code and response headers
|
12093
|
-
def get_user_last_event_status_with_http_info(opts = {})
|
12094
|
-
if @api_client.config.debugging
|
12095
|
-
@api_client.config.logger.debug 'Calling API: V2Api.get_user_last_event_status ...'
|
12096
|
-
end
|
12097
|
-
# resource path
|
12098
|
-
local_var_path = '/user-event-last-status'
|
12099
|
-
|
12100
|
-
# query parameters
|
12101
|
-
query_params = opts[:query_params] || {}
|
12102
|
-
|
12103
|
-
# header parameters
|
12104
|
-
header_params = opts[:header_params] || {}
|
12105
|
-
# HTTP header 'Accept' (if needed)
|
12106
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
12107
|
-
|
12108
|
-
# form parameters
|
12109
|
-
form_params = opts[:form_params] || {}
|
12110
|
-
|
12111
|
-
# http body (model)
|
12112
|
-
post_body = opts[:debug_body]
|
12113
|
-
|
12114
|
-
# return_type
|
12115
|
-
return_type = opts[:debug_return_type] || 'GetUserEventStatusOutput'
|
12116
|
-
|
12117
|
-
# auth_names
|
12118
|
-
auth_names = opts[:debug_auth_names] || []
|
12119
|
-
|
12120
|
-
new_options = opts.merge(
|
12121
|
-
:operation => :"V2Api.get_user_last_event_status",
|
12122
|
-
:header_params => header_params,
|
12123
|
-
:query_params => query_params,
|
12124
|
-
:form_params => form_params,
|
12125
|
-
:body => post_body,
|
12126
|
-
:auth_names => auth_names,
|
12127
|
-
:return_type => return_type
|
12128
|
-
)
|
12129
|
-
|
12130
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
12131
|
-
if @api_client.config.debugging
|
12132
|
-
@api_client.config.logger.debug "API called: V2Api#get_user_last_event_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
12133
|
-
end
|
12134
|
-
return data, status_code, headers
|
12135
|
-
end
|
12136
|
-
|
12137
12148
|
# @param body [Hmac]
|
12138
12149
|
# @param [Hash] opts the optional parameters
|
12139
12150
|
# @return [HmacOutput]
|
@@ -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
|