akeyless 2.20.2 → 3.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df3a77c936dec3cccf1223c96c29e7a38b828787786863e973d9ab4e30fc550d
4
- data.tar.gz: 5fba737501a68589fd50b262862f53f40283a39bcb67bfb5ba50f1549bcdc77f
3
+ metadata.gz: ce8afa62b5492be4842400aa02c9c8ca11951e7fce36d06441854678f728ba1e
4
+ data.tar.gz: 8ed81286a51c9ed1aa14ead996bc683d9f0a5a3d9c91d364c5745cedec36e50c
5
5
  SHA512:
6
- metadata.gz: 90c47aeaaf50134c3e4a19e80322acdbe45fa362b2495d986d86efaa3c9191c8a889d229cf4b1552a643aac50a63de70268bc586203961777457a1f4fdf002f3
7
- data.tar.gz: fec97496d7f50197c809c9851619459ca3496318d58838d077ca897b3a0fea3f9df8b3525e4836fd1f646eaf0bc38e30c5b7b77d28c1b005da63638230da40d9
6
+ metadata.gz: 89005cceec0c63fba45f5411af335598ffe50806f039da03ad13947090fecd2d6a88bcee7ac46c2a374fc1f85414062117ff200e65b57662ebefdbcdc71c0417
7
+ data.tar.gz: b23dd18fc22db14b79d7f2c5e494f93e616a286cfd97b44ddb732628ffab1ce19caa05a25b50dcc68ae25f957fd3c30a951de7a890aaceea7d56fdf1ca5ebdea
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: 2.20.2
10
+ - Package version: 3.0.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
 
@@ -121,7 +121,7 @@ Class | Method | HTTP request | Description
121
121
  *Akeyless::V2Api* | [**detokenize**](docs/V2Api.md#detokenize) | **POST** /detokenize |
122
122
  *Akeyless::V2Api* | [**encrypt**](docs/V2Api.md#encrypt) | **POST** /encrypt |
123
123
  *Akeyless::V2Api* | [**encrypt_with_classic_key**](docs/V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key |
124
- *Akeyless::V2Api* | [**export_classic_key**](docs/V2Api.md#export_classic_key) | **GET** /export-classic-key |
124
+ *Akeyless::V2Api* | [**export_classic_key**](docs/V2Api.md#export_classic_key) | **POST** /export-classic-key |
125
125
  *Akeyless::V2Api* | [**gateway_add_allowed_management_access**](docs/V2Api.md#gateway_add_allowed_management_access) | **POST** /gateway-add-allow-management-access |
126
126
  *Akeyless::V2Api* | [**gateway_create_k8_s_auth_config**](docs/V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config |
127
127
  *Akeyless::V2Api* | [**gateway_create_migration**](docs/V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration |
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **ignore_cache** | **String** | Ignore Cache Retrieve the Secret value without checking the Gateway's cache. This flag is only relevant when using the RestAPI | [optional][default to 'false'] |
7
8
  | **json** | **Boolean** | Set output format to JSON | [optional] |
8
9
  | **name** | **String** | ClassicKey name | |
9
10
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
@@ -16,6 +17,7 @@
16
17
  require 'akeyless'
17
18
 
18
19
  instance = Akeyless::ExportClassicKey.new(
20
+ ignore_cache: null,
19
21
  json: null,
20
22
  name: null,
21
23
  token: null,
@@ -11,7 +11,7 @@
11
11
  | **_1password_vaults** | **Array<String>** | 1Password list of vault to get the items from | [optional] |
12
12
  | **json** | **Boolean** | Set output format to JSON | [optional] |
13
13
  | **protection_key** | **String** | The name of a key that used to encrypt the secret value | [optional] |
14
- | **target_location** | **String** | Target location in Akeyless for migrated secrets | [optional] |
14
+ | **target_location** | **String** | Target location in your Akeyless personal folder for migrated secrets | [optional] |
15
15
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
16
16
  | **type** | **String** | Migration type for now only 1password. | [optional][default to '1password'] |
17
17
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **ignore_cache** | **String** | Ignore Cache Retrieve the Secret value without checking the Gateway's cache [true/false]. This flag is only relevant when using the RestAPI | [optional] |
7
8
  | **json** | **Boolean** | Set output format to JSON | [optional] |
8
9
  | **names** | **String** | Secret name | |
9
10
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
@@ -16,6 +17,7 @@
16
17
  require 'akeyless'
17
18
 
18
19
  instance = Akeyless::GetRotatedSecretValue.new(
20
+ ignore_cache: null,
19
21
  json: null,
20
22
  names: null,
21
23
  token: null,
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **accessibility** | **String** | for personal password manager | [optional][default to 'regular'] |
8
- | **ignore_cache** | **String** | Ignore Cache Retrieve the Secret value without checking the Gateway's cache. This flag is only relevant when using the RestAPI | [optional] |
8
+ | **ignore_cache** | **String** | Ignore Cache Retrieve the Secret value without checking the Gateway's cache [true/false]. This flag is only relevant when using the RestAPI | [optional] |
9
9
  | **json** | **Boolean** | Set output format to JSON | [optional] |
10
10
  | **names** | **Array<String>** | Secret name | |
11
11
  | **pretty_print** | **Boolean** | Print the secret value with json-pretty-print (not relevent to SDK) | [optional] |
data/docs/ListItems.md CHANGED
@@ -13,7 +13,7 @@
13
13
  | **sub_types** | **Array<String>** | | [optional] |
14
14
  | **tag** | **String** | Filter by item tag | [optional] |
15
15
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
16
- | **type** | **Array<String>** | The item types list of the requested items. In case it is empty, all types of items will be returned. options: [key, static-secret, dynamic-secret] | [optional] |
16
+ | **type** | **Array<String>** | The item types list of the requested items. In case it is empty, all types of items will be returned. options: [key, static-secret, dynamic-secret, classic-key] | [optional] |
17
17
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
18
18
 
19
19
  ## Example
data/docs/SetRoleRule.md CHANGED
@@ -10,6 +10,7 @@
10
10
  | **role_name** | **String** | The role name to be updated | |
11
11
  | **rule_type** | **String** | item-rule, target-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule or sra-reports-rule | [optional][default to 'item-rule'] |
12
12
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
13
+ | **ttl** | **Integer** | RoleRule ttl | [optional] |
13
14
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
14
15
 
15
16
  ## Example
@@ -24,6 +25,7 @@ instance = Akeyless::SetRoleRule.new(
24
25
  role_name: null,
25
26
  rule_type: null,
26
27
  token: null,
28
+ ttl: null,
27
29
  uid_token: null
28
30
  )
29
31
  ```
data/docs/V2Api.md CHANGED
@@ -66,7 +66,7 @@ All URIs are relative to *https://api.akeyless.io*
66
66
  | [**detokenize**](V2Api.md#detokenize) | **POST** /detokenize | |
67
67
  | [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
68
68
  | [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
69
- | [**export_classic_key**](V2Api.md#export_classic_key) | **GET** /export-classic-key | |
69
+ | [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
70
70
  | [**gateway_add_allowed_management_access**](V2Api.md#gateway_add_allowed_management_access) | **POST** /gateway-add-allow-management-access | |
71
71
  | [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
72
72
  | [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
@@ -4044,7 +4044,7 @@ module Akeyless
4044
4044
  :return_type => return_type
4045
4045
  )
4046
4046
 
4047
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
4047
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
4048
4048
  if @api_client.config.debugging
4049
4049
  @api_client.config.logger.debug "API called: V2Api#export_classic_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4050
4050
  end
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # ExportClassicKey is a command that returns the classic key material
18
18
  class ExportClassicKey
19
+ # Ignore Cache Retrieve the Secret value without checking the Gateway's cache. This flag is only relevant when using the RestAPI
20
+ attr_accessor :ignore_cache
21
+
19
22
  # Set output format to JSON
20
23
  attr_accessor :json
21
24
 
@@ -34,6 +37,7 @@ module Akeyless
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  def self.attribute_map
36
39
  {
40
+ :'ignore_cache' => :'ignore-cache',
37
41
  :'json' => :'json',
38
42
  :'name' => :'name',
39
43
  :'token' => :'token',
@@ -50,6 +54,7 @@ module Akeyless
50
54
  # Attribute type mapping.
51
55
  def self.openapi_types
52
56
  {
57
+ :'ignore_cache' => :'String',
53
58
  :'json' => :'Boolean',
54
59
  :'name' => :'String',
55
60
  :'token' => :'String',
@@ -79,6 +84,12 @@ module Akeyless
79
84
  h[k.to_sym] = v
80
85
  }
81
86
 
87
+ if attributes.key?(:'ignore_cache')
88
+ self.ignore_cache = attributes[:'ignore_cache']
89
+ else
90
+ self.ignore_cache = 'false'
91
+ end
92
+
82
93
  if attributes.key?(:'json')
83
94
  self.json = attributes[:'json']
84
95
  end
@@ -123,6 +134,7 @@ module Akeyless
123
134
  def ==(o)
124
135
  return true if self.equal?(o)
125
136
  self.class == o.class &&
137
+ ignore_cache == o.ignore_cache &&
126
138
  json == o.json &&
127
139
  name == o.name &&
128
140
  token == o.token &&
@@ -139,7 +151,7 @@ module Akeyless
139
151
  # Calculates hash code according to all attributes.
140
152
  # @return [Integer] Hash code
141
153
  def hash
142
- [json, name, token, uid_token, version].hash
154
+ [ignore_cache, json, name, token, uid_token, version].hash
143
155
  end
144
156
 
145
157
  # Builds the object from hash
@@ -37,7 +37,7 @@ module Akeyless
37
37
  # The name of a key that used to encrypt the secret value
38
38
  attr_accessor :protection_key
39
39
 
40
- # Target location in Akeyless for migrated secrets
40
+ # Target location in your Akeyless personal folder for migrated secrets
41
41
  attr_accessor :target_location
42
42
 
43
43
  # Authentication token (see `/auth` and `/configure`)
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class GetRotatedSecretValue
18
+ # Ignore Cache Retrieve the Secret value without checking the Gateway's cache [true/false]. This flag is only relevant when using the RestAPI
19
+ attr_accessor :ignore_cache
20
+
18
21
  # Set output format to JSON
19
22
  attr_accessor :json
20
23
 
@@ -33,6 +36,7 @@ module Akeyless
33
36
  # Attribute mapping from ruby-style variable name to JSON key.
34
37
  def self.attribute_map
35
38
  {
39
+ :'ignore_cache' => :'ignore-cache',
36
40
  :'json' => :'json',
37
41
  :'names' => :'names',
38
42
  :'token' => :'token',
@@ -49,6 +53,7 @@ module Akeyless
49
53
  # Attribute type mapping.
50
54
  def self.openapi_types
51
55
  {
56
+ :'ignore_cache' => :'String',
52
57
  :'json' => :'Boolean',
53
58
  :'names' => :'String',
54
59
  :'token' => :'String',
@@ -78,6 +83,10 @@ module Akeyless
78
83
  h[k.to_sym] = v
79
84
  }
80
85
 
86
+ if attributes.key?(:'ignore_cache')
87
+ self.ignore_cache = attributes[:'ignore_cache']
88
+ end
89
+
81
90
  if attributes.key?(:'json')
82
91
  self.json = attributes[:'json']
83
92
  end
@@ -122,6 +131,7 @@ module Akeyless
122
131
  def ==(o)
123
132
  return true if self.equal?(o)
124
133
  self.class == o.class &&
134
+ ignore_cache == o.ignore_cache &&
125
135
  json == o.json &&
126
136
  names == o.names &&
127
137
  token == o.token &&
@@ -138,7 +148,7 @@ module Akeyless
138
148
  # Calculates hash code according to all attributes.
139
149
  # @return [Integer] Hash code
140
150
  def hash
141
- [json, names, token, uid_token, version].hash
151
+ [ignore_cache, json, names, token, uid_token, version].hash
142
152
  end
143
153
 
144
154
  # Builds the object from hash
@@ -18,7 +18,7 @@ module Akeyless
18
18
  # for personal password manager
19
19
  attr_accessor :accessibility
20
20
 
21
- # Ignore Cache Retrieve the Secret value without checking the Gateway's cache. This flag is only relevant when using the RestAPI
21
+ # Ignore Cache Retrieve the Secret value without checking the Gateway's cache [true/false]. This flag is only relevant when using the RestAPI
22
22
  attr_accessor :ignore_cache
23
23
 
24
24
  # Set output format to JSON
@@ -40,7 +40,7 @@ module Akeyless
40
40
  # Authentication token (see `/auth` and `/configure`)
41
41
  attr_accessor :token
42
42
 
43
- # The item types list of the requested items. In case it is empty, all types of items will be returned. options: [key, static-secret, dynamic-secret]
43
+ # The item types list of the requested items. In case it is empty, all types of items will be returned. options: [key, static-secret, dynamic-secret, classic-key]
44
44
  attr_accessor :type
45
45
 
46
46
  # The universal identity token, Required only for universal_identity authentication
@@ -33,6 +33,9 @@ module Akeyless
33
33
  # Authentication token (see `/auth` and `/configure`)
34
34
  attr_accessor :token
35
35
 
36
+ # RoleRule ttl
37
+ attr_accessor :ttl
38
+
36
39
  # The universal identity token, Required only for universal_identity authentication
37
40
  attr_accessor :uid_token
38
41
 
@@ -45,6 +48,7 @@ module Akeyless
45
48
  :'role_name' => :'role-name',
46
49
  :'rule_type' => :'rule-type',
47
50
  :'token' => :'token',
51
+ :'ttl' => :'ttl',
48
52
  :'uid_token' => :'uid-token'
49
53
  }
50
54
  end
@@ -63,6 +67,7 @@ module Akeyless
63
67
  :'role_name' => :'String',
64
68
  :'rule_type' => :'String',
65
69
  :'token' => :'String',
70
+ :'ttl' => :'Integer',
66
71
  :'uid_token' => :'String'
67
72
  }
68
73
  end
@@ -116,6 +121,10 @@ module Akeyless
116
121
  self.token = attributes[:'token']
117
122
  end
118
123
 
124
+ if attributes.key?(:'ttl')
125
+ self.ttl = attributes[:'ttl']
126
+ end
127
+
119
128
  if attributes.key?(:'uid_token')
120
129
  self.uid_token = attributes[:'uid_token']
121
130
  end
@@ -160,6 +169,7 @@ module Akeyless
160
169
  role_name == o.role_name &&
161
170
  rule_type == o.rule_type &&
162
171
  token == o.token &&
172
+ ttl == o.ttl &&
163
173
  uid_token == o.uid_token
164
174
  end
165
175
 
@@ -172,7 +182,7 @@ module Akeyless
172
182
  # Calculates hash code according to all attributes.
173
183
  # @return [Integer] Hash code
174
184
  def hash
175
- [capability, json, path, role_name, rule_type, token, uid_token].hash
185
+ [capability, json, path, role_name, rule_type, token, ttl, uid_token].hash
176
186
  end
177
187
 
178
188
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.3.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Akeyless
14
- VERSION = '2.20.2'
14
+ VERSION = '3.0.0'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akeyless
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.2
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-24 00:00:00.000000000 Z
11
+ date: 2022-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2278,7 +2278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2278
2278
  - !ruby/object:Gem::Version
2279
2279
  version: '0'
2280
2280
  requirements: []
2281
- rubygems_version: 3.3.7
2281
+ rubygems_version: 3.3.26
2282
2282
  signing_key:
2283
2283
  specification_version: 4
2284
2284
  summary: Akeyless API Ruby Gem