akeyless 3.3.2 → 3.3.3

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: ebb1918db11fbfb5f579d82690b5bce5428fd77aa9283ddfcd624a3f9aef143d
4
- data.tar.gz: eed215bfea98e83c4ad33f9393177a6ca6032259c80d333502d2835986124ea1
3
+ metadata.gz: c1de8884d246bba11be477fcd5bb1533188f17a6c463aeb37240384ea2ee555b
4
+ data.tar.gz: 6f147d738050889a07090236bc50140e3143a590caebe7b953ec1c22f56e4419
5
5
  SHA512:
6
- metadata.gz: 8cdaadac285559da44660762c113aedd4997e9ace4428d966f1993bb605fefd9fc44a5deb236b8c362eec65c8777c3b1605c903dc6067bb7ca892c6d2a900ac1
7
- data.tar.gz: 58608a24c2ca820afba029e9f0b86effece7aacbd41583c2ade691d7324f5c4c2be424561515aa3ef431d153fd6a395b1008d9f156305a43d7755e9384b02af2
6
+ metadata.gz: '055799d12c4df0905712d52d346fa5c69d6a842b12cf6e4c273e31d458daee9df7793adb0a14c4a5519f31c9426edc96e16ad7f999137d3bfad62fafc8447b43'
7
+ data.tar.gz: 1f3f22ae13d78c0905c1ecf95c8296d5bd18869d9a7a7e895b69259181a66247d5016bd27144d5263f2eff5cedb22e8de907e2006c96fd4d7f288c3f453e8287
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.3.2
10
+ - Package version: 3.3.3
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://akeyless.io](http://akeyless.io)
13
13
 
@@ -987,5 +987,5 @@ Class | Method | HTTP request | Description
987
987
 
988
988
  ## Documentation for Authorization
989
989
 
990
- All endpoints do not require authorization.
990
+ Endpoints do not require authorization.
991
991
 
@@ -20,6 +20,7 @@
20
20
  | **token_exp** | **Integer** | Time in seconds of expiration of the Akeyless Kube Auth Method token | [optional][default to 300] |
21
21
  | **token_reviewer_jwt** | **String** | A Kubernetes service account JWT used to access the TokenReview API to validate other JWTs (relevant for \"native_k8s\" only). If not set, the JWT submitted in the authentication process will be used to access the Kubernetes TokenReview API. | [optional] |
22
22
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
23
+ | **use_gw_service_account** | **Boolean** | Use the GW's service account | [optional] |
23
24
 
24
25
  ## Example
25
26
 
@@ -42,7 +43,8 @@ instance = Akeyless::GatewayCreateK8SAuthConfig.new(
42
43
  token: null,
43
44
  token_exp: null,
44
45
  token_reviewer_jwt: null,
45
- uid_token: null
46
+ uid_token: null,
47
+ use_gw_service_account: null
46
48
  )
47
49
  ```
48
50
 
@@ -19,7 +19,7 @@
19
19
  | **protection_key** | **String** | | [optional] |
20
20
  | **rancher_api_key** | **String** | RancherApiKey the bear token for clusterApiTypeRancher | [optional] |
21
21
  | **rancher_cluster_id** | **String** | RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher) | [optional] |
22
- | **use_local_ca_jwt** | **Boolean** | UseLocalCAJwt is an optional parameter to set defaulting to using the local CA cert and service account jwt when running in a Kubernetes pod | [optional] |
22
+ | **use_local_ca_jwt** | **Boolean** | UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod | [optional] |
23
23
 
24
24
  ## Example
25
25
 
@@ -21,6 +21,7 @@
21
21
  | **token_exp** | **Integer** | Time in seconds of expiration of the Akeyless Kube Auth Method token | [optional][default to 300] |
22
22
  | **token_reviewer_jwt** | **String** | A Kubernetes service account JWT used to access the TokenReview API to validate other JWTs (relevant for \"native_k8s\" only). If not set, the JWT submitted in the authentication process will be used to access the Kubernetes TokenReview API. | [optional] |
23
23
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
24
+ | **use_gw_service_account** | **Boolean** | Use the GW's service account | [optional] |
24
25
 
25
26
  ## Example
26
27
 
@@ -44,7 +45,8 @@ instance = Akeyless::GatewayUpdateK8SAuthConfig.new(
44
45
  token: null,
45
46
  token_exp: null,
46
47
  token_reviewer_jwt: null,
47
- uid_token: null
48
+ uid_token: null,
49
+ use_gw_service_account: null
48
50
  )
49
51
  ```
50
52
 
data/docs/K8SAuth.md CHANGED
@@ -19,7 +19,7 @@
19
19
  | **protection_key** | **String** | | [optional] |
20
20
  | **rancher_api_key** | **String** | RancherApiKey the bear token for clusterApiTypeRancher | [optional] |
21
21
  | **rancher_cluster_id** | **String** | RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher) | [optional] |
22
- | **use_local_ca_jwt** | **Boolean** | UseLocalCAJwt is an optional parameter to set defaulting to using the local CA cert and service account jwt when running in a Kubernetes pod | [optional] |
22
+ | **use_local_ca_jwt** | **Boolean** | UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod | [optional] |
23
23
 
24
24
  ## Example
25
25
 
@@ -64,6 +64,9 @@ module Akeyless
64
64
  # The universal identity token, Required only for universal_identity authentication
65
65
  attr_accessor :uid_token
66
66
 
67
+ # Use the GW's service account
68
+ attr_accessor :use_gw_service_account
69
+
67
70
  # Attribute mapping from ruby-style variable name to JSON key.
68
71
  def self.attribute_map
69
72
  {
@@ -82,7 +85,8 @@ module Akeyless
82
85
  :'token' => :'token',
83
86
  :'token_exp' => :'token-exp',
84
87
  :'token_reviewer_jwt' => :'token-reviewer-jwt',
85
- :'uid_token' => :'uid-token'
88
+ :'uid_token' => :'uid-token',
89
+ :'use_gw_service_account' => :'use-gw-service-account'
86
90
  }
87
91
  end
88
92
 
@@ -109,7 +113,8 @@ module Akeyless
109
113
  :'token' => :'String',
110
114
  :'token_exp' => :'Integer',
111
115
  :'token_reviewer_jwt' => :'String',
112
- :'uid_token' => :'String'
116
+ :'uid_token' => :'String',
117
+ :'use_gw_service_account' => :'Boolean'
113
118
  }
114
119
  end
115
120
 
@@ -205,6 +210,10 @@ module Akeyless
205
210
  if attributes.key?(:'uid_token')
206
211
  self.uid_token = attributes[:'uid_token']
207
212
  end
213
+
214
+ if attributes.key?(:'use_gw_service_account')
215
+ self.use_gw_service_account = attributes[:'use_gw_service_account']
216
+ end
208
217
  end
209
218
 
210
219
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -260,7 +269,8 @@ module Akeyless
260
269
  token == o.token &&
261
270
  token_exp == o.token_exp &&
262
271
  token_reviewer_jwt == o.token_reviewer_jwt &&
263
- uid_token == o.uid_token
272
+ uid_token == o.uid_token &&
273
+ use_gw_service_account == o.use_gw_service_account
264
274
  end
265
275
 
266
276
  # @see the `==` method
@@ -272,7 +282,7 @@ module Akeyless
272
282
  # Calculates hash code according to all attributes.
273
283
  # @return [Integer] Hash code
274
284
  def hash
275
- [access_id, cluster_api_type, config_encryption_key_name, disable_issuer_validation, json, k8s_ca_cert, k8s_host, k8s_issuer, name, rancher_api_key, rancher_cluster_id, signing_key, token, token_exp, token_reviewer_jwt, uid_token].hash
285
+ [access_id, cluster_api_type, config_encryption_key_name, disable_issuer_validation, json, k8s_ca_cert, k8s_host, k8s_issuer, name, rancher_api_key, rancher_cluster_id, signing_key, token, token_exp, token_reviewer_jwt, uid_token, use_gw_service_account].hash
276
286
  end
277
287
 
278
288
  # Builds the object from hash
@@ -57,7 +57,7 @@ module Akeyless
57
57
  # RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher)
58
58
  attr_accessor :rancher_cluster_id
59
59
 
60
- # UseLocalCAJwt is an optional parameter to set defaulting to using the local CA cert and service account jwt when running in a Kubernetes pod
60
+ # UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod
61
61
  attr_accessor :use_local_ca_jwt
62
62
 
63
63
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -67,6 +67,9 @@ module Akeyless
67
67
  # The universal identity token, Required only for universal_identity authentication
68
68
  attr_accessor :uid_token
69
69
 
70
+ # Use the GW's service account
71
+ attr_accessor :use_gw_service_account
72
+
70
73
  # Attribute mapping from ruby-style variable name to JSON key.
71
74
  def self.attribute_map
72
75
  {
@@ -86,7 +89,8 @@ module Akeyless
86
89
  :'token' => :'token',
87
90
  :'token_exp' => :'token-exp',
88
91
  :'token_reviewer_jwt' => :'token-reviewer-jwt',
89
- :'uid_token' => :'uid-token'
92
+ :'uid_token' => :'uid-token',
93
+ :'use_gw_service_account' => :'use-gw-service-account'
90
94
  }
91
95
  end
92
96
 
@@ -114,7 +118,8 @@ module Akeyless
114
118
  :'token' => :'String',
115
119
  :'token_exp' => :'Integer',
116
120
  :'token_reviewer_jwt' => :'String',
117
- :'uid_token' => :'String'
121
+ :'uid_token' => :'String',
122
+ :'use_gw_service_account' => :'Boolean'
118
123
  }
119
124
  end
120
125
 
@@ -214,6 +219,10 @@ module Akeyless
214
219
  if attributes.key?(:'uid_token')
215
220
  self.uid_token = attributes[:'uid_token']
216
221
  end
222
+
223
+ if attributes.key?(:'use_gw_service_account')
224
+ self.use_gw_service_account = attributes[:'use_gw_service_account']
225
+ end
217
226
  end
218
227
 
219
228
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -275,7 +284,8 @@ module Akeyless
275
284
  token == o.token &&
276
285
  token_exp == o.token_exp &&
277
286
  token_reviewer_jwt == o.token_reviewer_jwt &&
278
- uid_token == o.uid_token
287
+ uid_token == o.uid_token &&
288
+ use_gw_service_account == o.use_gw_service_account
279
289
  end
280
290
 
281
291
  # @see the `==` method
@@ -287,7 +297,7 @@ module Akeyless
287
297
  # Calculates hash code according to all attributes.
288
298
  # @return [Integer] Hash code
289
299
  def hash
290
- [access_id, cluster_api_type, config_encryption_key_name, disable_issuer_validation, json, k8s_ca_cert, k8s_host, k8s_issuer, name, new_name, rancher_api_key, rancher_cluster_id, signing_key, token, token_exp, token_reviewer_jwt, uid_token].hash
300
+ [access_id, cluster_api_type, config_encryption_key_name, disable_issuer_validation, json, k8s_ca_cert, k8s_host, k8s_issuer, name, new_name, rancher_api_key, rancher_cluster_id, signing_key, token, token_exp, token_reviewer_jwt, uid_token, use_gw_service_account].hash
291
301
  end
292
302
 
293
303
  # Builds the object from hash
@@ -57,7 +57,7 @@ module Akeyless
57
57
  # RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher)
58
58
  attr_accessor :rancher_cluster_id
59
59
 
60
- # UseLocalCAJwt is an optional parameter to set defaulting to using the local CA cert and service account jwt when running in a Kubernetes pod
60
+ # UseLocalCAJwt is an optional parameter to set defaulting to using the local service account when running in a Kubernetes pod
61
61
  attr_accessor :use_local_ca_jwt
62
62
 
63
63
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.6.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Akeyless
14
- VERSION = '3.3.2'
14
+ VERSION = '3.3.3'
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: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-04 00:00:00.000000000 Z
11
+ date: 2023-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus