akeyless 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +24 -3
- data/docs/AttributeTypeAndValue.md +20 -0
- data/docs/CertificateChainInfo.md +22 -0
- data/docs/CertificateExpirationEvent.md +18 -0
- data/docs/CertificateInfo.md +62 -0
- data/docs/Connect.md +2 -0
- data/docs/CreateEventForwarder.md +48 -0
- data/docs/CreateEventForwarderOutput.md +18 -0
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/DeleteEventForwarder.md +24 -0
- data/docs/EmailEntry.md +20 -0
- data/docs/Extension.md +22 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GetEventForwarder.md +24 -0
- data/docs/GetEventForwarderOutput.md +18 -0
- data/docs/Item.md +4 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ListSharedItems.md +24 -0
- data/docs/Name.md +28 -0
- data/docs/NotiForwarder.md +56 -0
- data/docs/RequestAccess.md +28 -0
- data/docs/RequestAccessOutput.md +18 -0
- data/docs/Target.md +4 -0
- data/docs/UpdateEventForwarder.md +40 -0
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/V2Api.md +377 -63
- data/lib/akeyless/api/v2_api.rb +384 -64
- data/lib/akeyless/api_error.rb +1 -0
- data/lib/akeyless/configuration.rb +11 -0
- data/lib/akeyless/models/attribute_type_and_value.rb +231 -0
- data/lib/akeyless/models/certificate_chain_info.rb +241 -0
- data/lib/akeyless/models/certificate_expiration_event.rb +219 -0
- data/lib/akeyless/models/certificate_info.rb +434 -0
- data/lib/akeyless/models/connect.rb +11 -1
- data/lib/akeyless/models/create_event_forwarder.rb +394 -0
- data/lib/akeyless/models/create_event_forwarder_output.rb +219 -0
- data/lib/akeyless/models/create_rotated_secret.rb +11 -1
- data/lib/akeyless/models/delete_event_forwarder.rb +255 -0
- data/lib/akeyless/models/email_entry.rb +228 -0
- data/lib/akeyless/models/extension.rb +237 -0
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/get_event_forwarder.rb +255 -0
- data/lib/akeyless/models/get_event_forwarder_output.rb +219 -0
- data/lib/akeyless/models/item.rb +19 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/list_shared_items.rb +253 -0
- data/lib/akeyless/models/name.rb +277 -0
- data/lib/akeyless/models/noti_forwarder.rb +400 -0
- data/lib/akeyless/models/request_access.rb +282 -0
- data/lib/akeyless/models/request_access_output.rb +219 -0
- data/lib/akeyless/models/target.rb +19 -1
- data/lib/akeyless/models/update_event_forwarder.rb +341 -0
- data/lib/akeyless/models/update_rotated_secret.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +17 -1
- data/spec/models/attribute_type_and_value_spec.rb +40 -0
- data/spec/models/certificate_chain_info_spec.rb +46 -0
- data/spec/models/certificate_expiration_event_spec.rb +34 -0
- data/spec/models/certificate_info_spec.rb +166 -0
- data/spec/models/create_event_forwarder_output_spec.rb +34 -0
- data/spec/models/create_event_forwarder_spec.rb +124 -0
- data/spec/models/delete_event_forwarder_spec.rb +52 -0
- data/spec/models/email_entry_spec.rb +40 -0
- data/spec/models/extension_spec.rb +46 -0
- data/spec/models/get_event_forwarder_output_spec.rb +34 -0
- data/spec/models/get_event_forwarder_spec.rb +52 -0
- data/spec/models/list_shared_items_spec.rb +52 -0
- data/spec/models/name_spec.rb +64 -0
- data/spec/models/noti_forwarder_spec.rb +148 -0
- data/spec/models/request_access_output_spec.rb +34 -0
- data/spec/models/request_access_spec.rb +64 -0
- data/spec/models/update_event_forwarder_spec.rb +100 -0
- metadata +597 -529
@@ -0,0 +1,56 @@
|
|
1
|
+
# Akeyless::NotiForwarder
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **client_permissions** | **Array<String>** | | [optional] |
|
8
|
+
| **comment** | **String** | | [optional] |
|
9
|
+
| **creation_date** | **Time** | | [optional] |
|
10
|
+
| **endpoint** | **String** | | [optional] |
|
11
|
+
| **event_types** | **Array<String>** | | [optional] |
|
12
|
+
| **gateway_cluster_id** | **Integer** | | [optional] |
|
13
|
+
| **is_enabled** | **Boolean** | | [optional] |
|
14
|
+
| **last_version** | **Integer** | | [optional] |
|
15
|
+
| **modification_date** | **Time** | | [optional] |
|
16
|
+
| **noti_forwarder_id** | **Integer** | | [optional] |
|
17
|
+
| **noti_forwarder_name** | **String** | | [optional] |
|
18
|
+
| **noti_forwarder_type** | **String** | | [optional] |
|
19
|
+
| **noti_forwarder_versions** | [**Array<ItemVersion>**](ItemVersion.md) | | [optional] |
|
20
|
+
| **paths** | **Array<String>** | | [optional] |
|
21
|
+
| **protection_key** | **String** | | [optional] |
|
22
|
+
| **runner_type** | **String** | | [optional] |
|
23
|
+
| **timespan_in_seconds** | **Integer** | | [optional] |
|
24
|
+
| **to_emails** | [**Array<EmailEntry>**](EmailEntry.md) | | [optional] |
|
25
|
+
| **username** | **String** | | [optional] |
|
26
|
+
| **with_customer_fragment** | **Boolean** | | [optional] |
|
27
|
+
|
28
|
+
## Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'akeyless'
|
32
|
+
|
33
|
+
instance = Akeyless::NotiForwarder.new(
|
34
|
+
client_permissions: null,
|
35
|
+
comment: null,
|
36
|
+
creation_date: null,
|
37
|
+
endpoint: null,
|
38
|
+
event_types: null,
|
39
|
+
gateway_cluster_id: null,
|
40
|
+
is_enabled: null,
|
41
|
+
last_version: null,
|
42
|
+
modification_date: null,
|
43
|
+
noti_forwarder_id: null,
|
44
|
+
noti_forwarder_name: null,
|
45
|
+
noti_forwarder_type: null,
|
46
|
+
noti_forwarder_versions: null,
|
47
|
+
paths: null,
|
48
|
+
protection_key: null,
|
49
|
+
runner_type: null,
|
50
|
+
timespan_in_seconds: null,
|
51
|
+
to_emails: null,
|
52
|
+
username: null,
|
53
|
+
with_customer_fragment: null
|
54
|
+
)
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Akeyless::RequestAccess
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **capability** | **Array<String>** | List of the required capabilities options: [read, update, delete] | |
|
8
|
+
| **comment** | **String** | Comment about this request | [optional] |
|
9
|
+
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
10
|
+
| **name** | **String** | Item type | |
|
11
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
12
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'akeyless'
|
18
|
+
|
19
|
+
instance = Akeyless::RequestAccess.new(
|
20
|
+
capability: null,
|
21
|
+
comment: null,
|
22
|
+
json: null,
|
23
|
+
name: null,
|
24
|
+
token: null,
|
25
|
+
uid_token: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Akeyless::RequestAccessOutput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **response** | **String** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'akeyless'
|
13
|
+
|
14
|
+
instance = Akeyless::RequestAccessOutput.new(
|
15
|
+
response: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/Target.md
CHANGED
@@ -5,11 +5,13 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **access_date** | **Time** | | [optional] |
|
8
|
+
| **access_request_status** | **String** | | [optional] |
|
8
9
|
| **attributes** | **Hash<String, Object>** | this is not \"omitempty\" since an empty value causes no update while an empty map will clear the attributes | [optional] |
|
9
10
|
| **client_permissions** | **Array<String>** | | [optional] |
|
10
11
|
| **comment** | **String** | | [optional] |
|
11
12
|
| **creation_date** | **Time** | | [optional] |
|
12
13
|
| **credentials_less** | **Boolean** | | [optional] |
|
14
|
+
| **is_access_request_enabled** | **Boolean** | | [optional] |
|
13
15
|
| **last_version** | **Integer** | | [optional] |
|
14
16
|
| **modification_date** | **Time** | | [optional] |
|
15
17
|
| **protection_key_name** | **String** | | [optional] |
|
@@ -27,11 +29,13 @@ require 'akeyless'
|
|
27
29
|
|
28
30
|
instance = Akeyless::Target.new(
|
29
31
|
access_date: null,
|
32
|
+
access_request_status: null,
|
30
33
|
attributes: null,
|
31
34
|
client_permissions: null,
|
32
35
|
comment: null,
|
33
36
|
creation_date: null,
|
34
37
|
credentials_less: null,
|
38
|
+
is_access_request_enabled: null,
|
35
39
|
last_version: null,
|
36
40
|
modification_date: null,
|
37
41
|
protection_key_name: null,
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Akeyless::UpdateEventForwarder
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **admin_name** | **String** | Workstation Admin Name | [optional] |
|
8
|
+
| **email_to** | **String** | A comma seperated list of email addresses to send event to (relevant only for \\\"email\\\" Event Forwarder) | [optional] |
|
9
|
+
| **enable** | **String** | Enable | [optional] |
|
10
|
+
| **event_source_locations** | **Array<String>** | Event sources | [optional] |
|
11
|
+
| **event_types** | **Array<String>** | Event types | [optional] |
|
12
|
+
| **host** | **String** | Workstation Host | [optional] |
|
13
|
+
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
14
|
+
| **name** | **String** | EventForwarder name | |
|
15
|
+
| **new_comment** | **String** | New comment about the Event Forwarder | [optional][default to 'default_comment'] |
|
16
|
+
| **new_name** | **String** | New EventForwarder name | [optional] |
|
17
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
18
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'akeyless'
|
24
|
+
|
25
|
+
instance = Akeyless::UpdateEventForwarder.new(
|
26
|
+
admin_name: null,
|
27
|
+
email_to: null,
|
28
|
+
enable: null,
|
29
|
+
event_source_locations: null,
|
30
|
+
event_types: null,
|
31
|
+
host: null,
|
32
|
+
json: null,
|
33
|
+
name: null,
|
34
|
+
new_comment: null,
|
35
|
+
new_name: null,
|
36
|
+
token: null,
|
37
|
+
uid_token: null
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
data/docs/UpdateRotatedSecret.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **auto_rotate** | **String** | Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation | [optional] |
|
11
11
|
| **aws_region** | **String** | Region (used in aws) | [optional][default to 'us-east-2'] |
|
12
12
|
| **custom_payload** | **String** | | [optional] |
|
13
|
+
| **gcp_key** | **String** | Base64-encoded service account private key text | [optional] |
|
13
14
|
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
14
15
|
| **keep_prev_version** | **String** | | [optional] |
|
15
16
|
| **key** | **String** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
@@ -55,6 +56,7 @@ instance = Akeyless::UpdateRotatedSecret.new(
|
|
55
56
|
auto_rotate: null,
|
56
57
|
aws_region: null,
|
57
58
|
custom_payload: null,
|
59
|
+
gcp_key: null,
|
58
60
|
json: null,
|
59
61
|
keep_prev_version: null,
|
60
62
|
key: null,
|