akeyless 2.20.3 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87d175c4404f62ae64f43547b780b73ec6bc4bb625496b22d31864748a5f9705
4
- data.tar.gz: 74922409eb13e6bc55de9575797735fd2162a281063ced6bb8a0f13ba3e0734e
3
+ metadata.gz: 1ccaf74109f93389e5c101ebecc818cda9eca645b49a824f2e81eacd7978edba
4
+ data.tar.gz: da4dcbad88924331fa1efd9a7cb76d9850a6768225136d5d494c360648ed0ef1
5
5
  SHA512:
6
- metadata.gz: b15b4f0888982e9f344e81af91ef79b427cf1c571e94ecea3fc205e1a35dde8435cfe13f1cc71bba6557ecfb559b4095e7ccb2605c157474ca509be120a1d8d6
7
- data.tar.gz: a036f4e8dbe0ef408d6424cc6a2bbf59bede69cd11ad3470aa63a01a533693eef5088e069445ba5a69e691fb415645d3774bf0c2a0a9a3e87c1081c2398fcc1e
6
+ metadata.gz: 9eefc1b8c518c92314d79dce24e06b70896a2925ffa503927617b07e0d89ba2c05bc3bb241f5acd040d208f36b79e6600ecbdc1389ec9a0234d96efc7a89dd43
7
+ data.tar.gz: be4e43305aa65e2ea8f2b83a96acb24785c95af007d9ba621ff84ac2aef2d3612cf41f1320bb37cd0e69dc723f62a704361621f73f606cffc57b9f2927a6146d
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.3
10
+ - Package version: 3.0.1
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 |
@@ -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] |
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
@@ -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`)
@@ -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.3'
14
+ VERSION = '3.0.1'
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.3
4
+ version: 3.0.1
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-29 00:00:00.000000000 Z
11
+ date: 2022-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus