akeyless 3.1.0 → 3.1.2
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 -1
- data/docs/AssocTargetItem.md +2 -0
- data/docs/CreateCertificate.md +40 -0
- data/docs/CreateCertificateOutput.md +18 -0
- data/docs/CreateClassicKey.md +6 -2
- data/docs/CreateDBTarget.md +4 -0
- data/docs/CreateDFCKey.md +3 -1
- data/docs/CreateDynamicSecret.md +3 -1
- data/docs/CreateKey.md +3 -1
- data/docs/CreatePKICertIssuer.md +3 -1
- data/docs/CreateRotatedSecret.md +3 -1
- data/docs/CreateSSHCertIssuer.md +3 -1
- data/docs/CreateSecret.md +3 -1
- data/docs/CreateTokenizer.md +3 -1
- data/docs/DSProducerDetails.md +8 -0
- data/docs/DecryptGPG.md +34 -0
- data/docs/DecryptGPGOutput.md +18 -0
- data/docs/EncryptGPG.md +32 -0
- data/docs/EncryptGPGOutput.md +18 -0
- data/docs/GatewayCreateProducerSnowflake.md +4 -0
- data/docs/GatewayUpdateItem.md +3 -1
- data/docs/GatewayUpdateProducerSnowflake.md +4 -0
- data/docs/GatewayUpdateTlsCert.md +26 -0
- data/docs/GatewayUpdateTlsCertOutput.md +18 -0
- data/docs/GenCustomerFragment.md +4 -2
- data/docs/GetCertificateValue.md +26 -0
- data/docs/GetCertificateValueOutput.md +20 -0
- data/docs/ListSRABastions.md +2 -0
- data/docs/RotateKey.md +2 -0
- data/docs/SignGPG.md +32 -0
- data/docs/SignGPGOutput.md +18 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/UpdateCertificateOutput.md +18 -0
- data/docs/UpdateCertificateValue.md +32 -0
- data/docs/UpdateDBTarget.md +4 -0
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdatePKICertIssuer.md +3 -1
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UpdateSSHCertIssuer.md +3 -1
- data/docs/UploadPKCS12.md +3 -1
- data/docs/UploadRSA.md +3 -1
- data/docs/V2Api.md +504 -0
- data/docs/VerifyGPG.md +32 -0
- data/lib/akeyless/api/v2_api.rb +512 -0
- data/lib/akeyless/models/assoc_target_item.rb +11 -1
- data/lib/akeyless/models/create_certificate.rb +339 -0
- data/lib/akeyless/models/create_certificate_output.rb +219 -0
- data/lib/akeyless/models/create_classic_key.rb +23 -3
- data/lib/akeyless/models/create_db_target.rb +21 -1
- data/lib/akeyless/models/create_dfc_key.rb +12 -2
- data/lib/akeyless/models/create_dynamic_secret.rb +12 -4
- data/lib/akeyless/models/create_key.rb +12 -2
- data/lib/akeyless/models/create_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/create_rotated_secret.rb +12 -2
- data/lib/akeyless/models/create_secret.rb +12 -2
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +12 -2
- data/lib/akeyless/models/create_tokenizer.rb +12 -2
- data/lib/akeyless/models/decrypt_gpg.rb +310 -0
- data/lib/akeyless/models/decrypt_gpg_output.rb +219 -0
- data/lib/akeyless/models/ds_producer_details.rb +40 -1
- data/lib/akeyless/models/encrypt_gpg.rb +300 -0
- data/lib/akeyless/models/encrypt_gpg_output.rb +219 -0
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +22 -2
- data/lib/akeyless/models/gateway_update_item.rb +14 -2
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +22 -2
- data/lib/akeyless/models/gateway_update_tls_cert.rb +261 -0
- data/lib/akeyless/models/gateway_update_tls_cert_output.rb +219 -0
- data/lib/akeyless/models/gen_customer_fragment.rb +15 -5
- data/lib/akeyless/models/get_certificate_value.rb +265 -0
- data/lib/akeyless/models/get_certificate_value_output.rb +228 -0
- data/lib/akeyless/models/list_sra_bastions.rb +10 -1
- data/lib/akeyless/models/rotate_key.rb +11 -1
- data/lib/akeyless/models/sign_gpg.rb +300 -0
- data/lib/akeyless/models/sign_gpg_output.rb +219 -0
- data/lib/akeyless/models/target_type_details_input.rb +20 -1
- data/lib/akeyless/models/update_certificate_output.rb +219 -0
- data/lib/akeyless/models/update_certificate_value.rb +297 -0
- data/lib/akeyless/models/update_db_target.rb +21 -1
- data/lib/akeyless/models/update_item.rb +14 -2
- data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/update_rotated_secret.rb +14 -2
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +12 -2
- data/lib/akeyless/models/upload_pkcs12.rb +12 -2
- data/lib/akeyless/models/upload_rsa.rb +12 -2
- data/lib/akeyless/models/verify_gpg.rb +300 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +15 -0
- data/spec/models/create_certificate_output_spec.rb +34 -0
- data/spec/models/create_certificate_spec.rb +94 -0
- data/spec/models/decrypt_gpg_output_spec.rb +34 -0
- data/spec/models/decrypt_gpg_spec.rb +82 -0
- data/spec/models/encrypt_gpg_output_spec.rb +34 -0
- data/spec/models/encrypt_gpg_spec.rb +76 -0
- data/spec/models/gateway_update_tls_cert_output_spec.rb +34 -0
- data/spec/models/gateway_update_tls_cert_spec.rb +58 -0
- data/spec/models/get_certificate_value_output_spec.rb +40 -0
- data/spec/models/get_certificate_value_spec.rb +58 -0
- data/spec/models/sign_gpg_output_spec.rb +34 -0
- data/spec/models/sign_gpg_spec.rb +76 -0
- data/spec/models/update_certificate_output_spec.rb +34 -0
- data/spec/models/update_certificate_value_spec.rb +76 -0
- data/spec/models/verify_gpg_spec.rb +76 -0
- metadata +600 -540
|
@@ -24,10 +24,13 @@ module Akeyless
|
|
|
24
24
|
# Protection from accidental deletion of this item
|
|
25
25
|
attr_accessor :delete_protection
|
|
26
26
|
|
|
27
|
+
# Description of the object
|
|
28
|
+
attr_accessor :description
|
|
29
|
+
|
|
27
30
|
# Set output format to JSON
|
|
28
31
|
attr_accessor :json
|
|
29
32
|
|
|
30
|
-
#
|
|
33
|
+
# Deprecated - use description
|
|
31
34
|
attr_accessor :metadata
|
|
32
35
|
|
|
33
36
|
# DFCKey name
|
|
@@ -51,6 +54,7 @@ module Akeyless
|
|
|
51
54
|
:'alg' => :'alg',
|
|
52
55
|
:'customer_frg_id' => :'customer-frg-id',
|
|
53
56
|
:'delete_protection' => :'delete_protection',
|
|
57
|
+
:'description' => :'description',
|
|
54
58
|
:'json' => :'json',
|
|
55
59
|
:'metadata' => :'metadata',
|
|
56
60
|
:'name' => :'name',
|
|
@@ -72,6 +76,7 @@ module Akeyless
|
|
|
72
76
|
:'alg' => :'String',
|
|
73
77
|
:'customer_frg_id' => :'String',
|
|
74
78
|
:'delete_protection' => :'String',
|
|
79
|
+
:'description' => :'String',
|
|
75
80
|
:'json' => :'Boolean',
|
|
76
81
|
:'metadata' => :'String',
|
|
77
82
|
:'name' => :'String',
|
|
@@ -115,6 +120,10 @@ module Akeyless
|
|
|
115
120
|
self.delete_protection = attributes[:'delete_protection']
|
|
116
121
|
end
|
|
117
122
|
|
|
123
|
+
if attributes.key?(:'description')
|
|
124
|
+
self.description = attributes[:'description']
|
|
125
|
+
end
|
|
126
|
+
|
|
118
127
|
if attributes.key?(:'json')
|
|
119
128
|
self.json = attributes[:'json']
|
|
120
129
|
end
|
|
@@ -179,6 +188,7 @@ module Akeyless
|
|
|
179
188
|
alg == o.alg &&
|
|
180
189
|
customer_frg_id == o.customer_frg_id &&
|
|
181
190
|
delete_protection == o.delete_protection &&
|
|
191
|
+
description == o.description &&
|
|
182
192
|
json == o.json &&
|
|
183
193
|
metadata == o.metadata &&
|
|
184
194
|
name == o.name &&
|
|
@@ -197,7 +207,7 @@ module Akeyless
|
|
|
197
207
|
# Calculates hash code according to all attributes.
|
|
198
208
|
# @return [Integer] Hash code
|
|
199
209
|
def hash
|
|
200
|
-
[alg, customer_frg_id, delete_protection, json, metadata, name, split_level, tag, token, uid_token].hash
|
|
210
|
+
[alg, customer_frg_id, delete_protection, description, json, metadata, name, split_level, tag, token, uid_token].hash
|
|
201
211
|
end
|
|
202
212
|
|
|
203
213
|
# Builds the object from hash
|
|
@@ -18,13 +18,16 @@ module Akeyless
|
|
|
18
18
|
# Protection from accidental deletion of this item
|
|
19
19
|
attr_accessor :delete_protection
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# Set output format to JSON
|
|
22
25
|
attr_accessor :json
|
|
23
26
|
|
|
24
27
|
# The name of a key that used to encrypt the dynamic secret values (if empty, the account default protectionKey key will be used)
|
|
25
28
|
attr_accessor :key
|
|
26
29
|
|
|
27
|
-
#
|
|
30
|
+
# Deprecated - use description
|
|
28
31
|
attr_accessor :metadata
|
|
29
32
|
|
|
30
33
|
# Dynamic secret name
|
|
@@ -43,6 +46,7 @@ module Akeyless
|
|
|
43
46
|
def self.attribute_map
|
|
44
47
|
{
|
|
45
48
|
:'delete_protection' => :'delete_protection',
|
|
49
|
+
:'description' => :'description',
|
|
46
50
|
:'json' => :'json',
|
|
47
51
|
:'key' => :'key',
|
|
48
52
|
:'metadata' => :'metadata',
|
|
@@ -62,6 +66,7 @@ module Akeyless
|
|
|
62
66
|
def self.openapi_types
|
|
63
67
|
{
|
|
64
68
|
:'delete_protection' => :'String',
|
|
69
|
+
:'description' => :'String',
|
|
65
70
|
:'json' => :'Boolean',
|
|
66
71
|
:'key' => :'String',
|
|
67
72
|
:'metadata' => :'String',
|
|
@@ -97,6 +102,10 @@ module Akeyless
|
|
|
97
102
|
self.delete_protection = attributes[:'delete_protection']
|
|
98
103
|
end
|
|
99
104
|
|
|
105
|
+
if attributes.key?(:'description')
|
|
106
|
+
self.description = attributes[:'description']
|
|
107
|
+
end
|
|
108
|
+
|
|
100
109
|
if attributes.key?(:'json')
|
|
101
110
|
self.json = attributes[:'json']
|
|
102
111
|
end
|
|
@@ -107,8 +116,6 @@ module Akeyless
|
|
|
107
116
|
|
|
108
117
|
if attributes.key?(:'metadata')
|
|
109
118
|
self.metadata = attributes[:'metadata']
|
|
110
|
-
else
|
|
111
|
-
self.metadata = 'None'
|
|
112
119
|
end
|
|
113
120
|
|
|
114
121
|
if attributes.key?(:'name')
|
|
@@ -154,6 +161,7 @@ module Akeyless
|
|
|
154
161
|
return true if self.equal?(o)
|
|
155
162
|
self.class == o.class &&
|
|
156
163
|
delete_protection == o.delete_protection &&
|
|
164
|
+
description == o.description &&
|
|
157
165
|
json == o.json &&
|
|
158
166
|
key == o.key &&
|
|
159
167
|
metadata == o.metadata &&
|
|
@@ -172,7 +180,7 @@ module Akeyless
|
|
|
172
180
|
# Calculates hash code according to all attributes.
|
|
173
181
|
# @return [Integer] Hash code
|
|
174
182
|
def hash
|
|
175
|
-
[delete_protection, json, key, metadata, name, tags, token, uid_token].hash
|
|
183
|
+
[delete_protection, description, json, key, metadata, name, tags, token, uid_token].hash
|
|
176
184
|
end
|
|
177
185
|
|
|
178
186
|
# Builds the object from hash
|
|
@@ -25,10 +25,13 @@ module Akeyless
|
|
|
25
25
|
# Protection from accidental deletion of this item
|
|
26
26
|
attr_accessor :delete_protection
|
|
27
27
|
|
|
28
|
+
# Description of the object
|
|
29
|
+
attr_accessor :description
|
|
30
|
+
|
|
28
31
|
# Set output format to JSON
|
|
29
32
|
attr_accessor :json
|
|
30
33
|
|
|
31
|
-
#
|
|
34
|
+
# Deprecated - use description
|
|
32
35
|
attr_accessor :metadata
|
|
33
36
|
|
|
34
37
|
# Key name
|
|
@@ -52,6 +55,7 @@ module Akeyless
|
|
|
52
55
|
:'alg' => :'alg',
|
|
53
56
|
:'customer_frg_id' => :'customer-frg-id',
|
|
54
57
|
:'delete_protection' => :'delete_protection',
|
|
58
|
+
:'description' => :'description',
|
|
55
59
|
:'json' => :'json',
|
|
56
60
|
:'metadata' => :'metadata',
|
|
57
61
|
:'name' => :'name',
|
|
@@ -73,6 +77,7 @@ module Akeyless
|
|
|
73
77
|
:'alg' => :'String',
|
|
74
78
|
:'customer_frg_id' => :'String',
|
|
75
79
|
:'delete_protection' => :'String',
|
|
80
|
+
:'description' => :'String',
|
|
76
81
|
:'json' => :'Boolean',
|
|
77
82
|
:'metadata' => :'String',
|
|
78
83
|
:'name' => :'String',
|
|
@@ -116,6 +121,10 @@ module Akeyless
|
|
|
116
121
|
self.delete_protection = attributes[:'delete_protection']
|
|
117
122
|
end
|
|
118
123
|
|
|
124
|
+
if attributes.key?(:'description')
|
|
125
|
+
self.description = attributes[:'description']
|
|
126
|
+
end
|
|
127
|
+
|
|
119
128
|
if attributes.key?(:'json')
|
|
120
129
|
self.json = attributes[:'json']
|
|
121
130
|
end
|
|
@@ -180,6 +189,7 @@ module Akeyless
|
|
|
180
189
|
alg == o.alg &&
|
|
181
190
|
customer_frg_id == o.customer_frg_id &&
|
|
182
191
|
delete_protection == o.delete_protection &&
|
|
192
|
+
description == o.description &&
|
|
183
193
|
json == o.json &&
|
|
184
194
|
metadata == o.metadata &&
|
|
185
195
|
name == o.name &&
|
|
@@ -198,7 +208,7 @@ module Akeyless
|
|
|
198
208
|
# Calculates hash code according to all attributes.
|
|
199
209
|
# @return [Integer] Hash code
|
|
200
210
|
def hash
|
|
201
|
-
[alg, customer_frg_id, delete_protection, json, metadata, name, split_level, tag, token, uid_token].hash
|
|
211
|
+
[alg, customer_frg_id, delete_protection, description, json, metadata, name, split_level, tag, token, uid_token].hash
|
|
202
212
|
end
|
|
203
213
|
|
|
204
214
|
# Builds the object from hash
|
|
@@ -39,6 +39,9 @@ module Akeyless
|
|
|
39
39
|
# Protection from accidental deletion of this item
|
|
40
40
|
attr_accessor :delete_protection
|
|
41
41
|
|
|
42
|
+
# Description of the object
|
|
43
|
+
attr_accessor :description
|
|
44
|
+
|
|
42
45
|
# Set output format to JSON
|
|
43
46
|
attr_accessor :json
|
|
44
47
|
|
|
@@ -48,7 +51,7 @@ module Akeyless
|
|
|
48
51
|
# A comma-separated list of localities that will be set in the issued certificate
|
|
49
52
|
attr_accessor :locality
|
|
50
53
|
|
|
51
|
-
#
|
|
54
|
+
# Deprecated - use description
|
|
52
55
|
attr_accessor :metadata
|
|
53
56
|
|
|
54
57
|
# PKI certificate issuer name
|
|
@@ -104,6 +107,7 @@ module Akeyless
|
|
|
104
107
|
:'code_signing_flag' => :'code-signing-flag',
|
|
105
108
|
:'country' => :'country',
|
|
106
109
|
:'delete_protection' => :'delete_protection',
|
|
110
|
+
:'description' => :'description',
|
|
107
111
|
:'json' => :'json',
|
|
108
112
|
:'key_usage' => :'key-usage',
|
|
109
113
|
:'locality' => :'locality',
|
|
@@ -141,6 +145,7 @@ module Akeyless
|
|
|
141
145
|
:'code_signing_flag' => :'Boolean',
|
|
142
146
|
:'country' => :'String',
|
|
143
147
|
:'delete_protection' => :'String',
|
|
148
|
+
:'description' => :'String',
|
|
144
149
|
:'json' => :'Boolean',
|
|
145
150
|
:'key_usage' => :'String',
|
|
146
151
|
:'locality' => :'String',
|
|
@@ -215,6 +220,10 @@ module Akeyless
|
|
|
215
220
|
self.delete_protection = attributes[:'delete_protection']
|
|
216
221
|
end
|
|
217
222
|
|
|
223
|
+
if attributes.key?(:'description')
|
|
224
|
+
self.description = attributes[:'description']
|
|
225
|
+
end
|
|
226
|
+
|
|
218
227
|
if attributes.key?(:'json')
|
|
219
228
|
self.json = attributes[:'json']
|
|
220
229
|
end
|
|
@@ -333,6 +342,7 @@ module Akeyless
|
|
|
333
342
|
code_signing_flag == o.code_signing_flag &&
|
|
334
343
|
country == o.country &&
|
|
335
344
|
delete_protection == o.delete_protection &&
|
|
345
|
+
description == o.description &&
|
|
336
346
|
json == o.json &&
|
|
337
347
|
key_usage == o.key_usage &&
|
|
338
348
|
locality == o.locality &&
|
|
@@ -362,7 +372,7 @@ module Akeyless
|
|
|
362
372
|
# Calculates hash code according to all attributes.
|
|
363
373
|
# @return [Integer] Hash code
|
|
364
374
|
def hash
|
|
365
|
-
[allow_any_name, allow_subdomains, allowed_domains, allowed_uri_sans, client_flag, code_signing_flag, country, delete_protection, json, key_usage, locality, metadata, name, not_enforce_hostnames, not_require_cn, organizational_units, organizations, postal_code, province, server_flag, signer_key_name, street_address, tag, token, ttl, uid_token].hash
|
|
375
|
+
[allow_any_name, allow_subdomains, allowed_domains, allowed_uri_sans, client_flag, code_signing_flag, country, delete_protection, description, json, key_usage, locality, metadata, name, not_enforce_hostnames, not_require_cn, organizational_units, organizations, postal_code, province, server_flag, signer_key_name, street_address, tag, token, ttl, uid_token].hash
|
|
366
376
|
end
|
|
367
377
|
|
|
368
378
|
# Builds the object from hash
|
|
@@ -35,6 +35,9 @@ module Akeyless
|
|
|
35
35
|
# Protection from accidental deletion of this item
|
|
36
36
|
attr_accessor :delete_protection
|
|
37
37
|
|
|
38
|
+
# Description of the object
|
|
39
|
+
attr_accessor :description
|
|
40
|
+
|
|
38
41
|
# Base64-encoded service account private key text
|
|
39
42
|
attr_accessor :gcp_key
|
|
40
43
|
|
|
@@ -44,7 +47,7 @@ module Akeyless
|
|
|
44
47
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
45
48
|
attr_accessor :key
|
|
46
49
|
|
|
47
|
-
#
|
|
50
|
+
# Deprecated - use description
|
|
48
51
|
attr_accessor :metadata
|
|
49
52
|
|
|
50
53
|
# Secret name
|
|
@@ -143,6 +146,7 @@ module Akeyless
|
|
|
143
146
|
:'aws_region' => :'aws-region',
|
|
144
147
|
:'custom_payload' => :'custom-payload',
|
|
145
148
|
:'delete_protection' => :'delete_protection',
|
|
149
|
+
:'description' => :'description',
|
|
146
150
|
:'gcp_key' => :'gcp-key',
|
|
147
151
|
:'json' => :'json',
|
|
148
152
|
:'key' => :'key',
|
|
@@ -196,6 +200,7 @@ module Akeyless
|
|
|
196
200
|
:'aws_region' => :'String',
|
|
197
201
|
:'custom_payload' => :'String',
|
|
198
202
|
:'delete_protection' => :'String',
|
|
203
|
+
:'description' => :'String',
|
|
199
204
|
:'gcp_key' => :'String',
|
|
200
205
|
:'json' => :'Boolean',
|
|
201
206
|
:'key' => :'String',
|
|
@@ -288,6 +293,10 @@ module Akeyless
|
|
|
288
293
|
self.delete_protection = attributes[:'delete_protection']
|
|
289
294
|
end
|
|
290
295
|
|
|
296
|
+
if attributes.key?(:'description')
|
|
297
|
+
self.description = attributes[:'description']
|
|
298
|
+
end
|
|
299
|
+
|
|
291
300
|
if attributes.key?(:'gcp_key')
|
|
292
301
|
self.gcp_key = attributes[:'gcp_key']
|
|
293
302
|
end
|
|
@@ -478,6 +487,7 @@ module Akeyless
|
|
|
478
487
|
aws_region == o.aws_region &&
|
|
479
488
|
custom_payload == o.custom_payload &&
|
|
480
489
|
delete_protection == o.delete_protection &&
|
|
490
|
+
description == o.description &&
|
|
481
491
|
gcp_key == o.gcp_key &&
|
|
482
492
|
json == o.json &&
|
|
483
493
|
key == o.key &&
|
|
@@ -523,7 +533,7 @@ module Akeyless
|
|
|
523
533
|
# Calculates hash code according to all attributes.
|
|
524
534
|
# @return [Integer] Hash code
|
|
525
535
|
def hash
|
|
526
|
-
[api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, delete_protection, gcp_key, json, key, metadata, name, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, tags, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
536
|
+
[api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, delete_protection, description, gcp_key, json, key, metadata, name, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, tags, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
527
537
|
end
|
|
528
538
|
|
|
529
539
|
# Builds the object from hash
|
|
@@ -21,10 +21,13 @@ module Akeyless
|
|
|
21
21
|
# Protection from accidental deletion of this item
|
|
22
22
|
attr_accessor :delete_protection
|
|
23
23
|
|
|
24
|
+
# Description of the object
|
|
25
|
+
attr_accessor :description
|
|
26
|
+
|
|
24
27
|
# Set output format to JSON
|
|
25
28
|
attr_accessor :json
|
|
26
29
|
|
|
27
|
-
#
|
|
30
|
+
# Deprecated - use description
|
|
28
31
|
attr_accessor :metadata
|
|
29
32
|
|
|
30
33
|
# The provided value is a multiline value (separated by '\\n')
|
|
@@ -84,6 +87,7 @@ module Akeyless
|
|
|
84
87
|
{
|
|
85
88
|
:'accessibility' => :'accessibility',
|
|
86
89
|
:'delete_protection' => :'delete_protection',
|
|
90
|
+
:'description' => :'description',
|
|
87
91
|
:'json' => :'json',
|
|
88
92
|
:'metadata' => :'metadata',
|
|
89
93
|
:'multiline_value' => :'multiline_value',
|
|
@@ -119,6 +123,7 @@ module Akeyless
|
|
|
119
123
|
{
|
|
120
124
|
:'accessibility' => :'String',
|
|
121
125
|
:'delete_protection' => :'String',
|
|
126
|
+
:'description' => :'String',
|
|
122
127
|
:'json' => :'Boolean',
|
|
123
128
|
:'metadata' => :'String',
|
|
124
129
|
:'multiline_value' => :'Boolean',
|
|
@@ -175,6 +180,10 @@ module Akeyless
|
|
|
175
180
|
self.delete_protection = attributes[:'delete_protection']
|
|
176
181
|
end
|
|
177
182
|
|
|
183
|
+
if attributes.key?(:'description')
|
|
184
|
+
self.description = attributes[:'description']
|
|
185
|
+
end
|
|
186
|
+
|
|
178
187
|
if attributes.key?(:'json')
|
|
179
188
|
self.json = attributes[:'json']
|
|
180
189
|
end
|
|
@@ -302,6 +311,7 @@ module Akeyless
|
|
|
302
311
|
self.class == o.class &&
|
|
303
312
|
accessibility == o.accessibility &&
|
|
304
313
|
delete_protection == o.delete_protection &&
|
|
314
|
+
description == o.description &&
|
|
305
315
|
json == o.json &&
|
|
306
316
|
metadata == o.metadata &&
|
|
307
317
|
multiline_value == o.multiline_value &&
|
|
@@ -335,7 +345,7 @@ module Akeyless
|
|
|
335
345
|
# Calculates hash code according to all attributes.
|
|
336
346
|
# @return [Integer] Hash code
|
|
337
347
|
def hash
|
|
338
|
-
[accessibility, delete_protection, json, metadata, multiline_value, name, password_manager_custom_field, password_manager_inject_url, password_manager_password, password_manager_username, protection_key, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_ssh_creds, secure_access_ssh_user, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, token, type, uid_token, value].hash
|
|
348
|
+
[accessibility, delete_protection, description, json, metadata, multiline_value, name, password_manager_custom_field, password_manager_inject_url, password_manager_password, password_manager_username, protection_key, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_ssh_creds, secure_access_ssh_user, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, token, type, uid_token, value].hash
|
|
339
349
|
end
|
|
340
350
|
|
|
341
351
|
# Builds the object from hash
|
|
@@ -21,13 +21,16 @@ module Akeyless
|
|
|
21
21
|
# Protection from accidental deletion of this item
|
|
22
22
|
attr_accessor :delete_protection
|
|
23
23
|
|
|
24
|
+
# Description of the object
|
|
25
|
+
attr_accessor :description
|
|
26
|
+
|
|
24
27
|
# Signed certificates with extensions, e.g permit-port-forwarding=\\\"\\\"
|
|
25
28
|
attr_accessor :extensions
|
|
26
29
|
|
|
27
30
|
# Set output format to JSON
|
|
28
31
|
attr_accessor :json
|
|
29
32
|
|
|
30
|
-
#
|
|
33
|
+
# Deprecated - use description
|
|
31
34
|
attr_accessor :metadata
|
|
32
35
|
|
|
33
36
|
# SSH certificate issuer name
|
|
@@ -68,6 +71,7 @@ module Akeyless
|
|
|
68
71
|
{
|
|
69
72
|
:'allowed_users' => :'allowed-users',
|
|
70
73
|
:'delete_protection' => :'delete_protection',
|
|
74
|
+
:'description' => :'description',
|
|
71
75
|
:'extensions' => :'extensions',
|
|
72
76
|
:'json' => :'json',
|
|
73
77
|
:'metadata' => :'metadata',
|
|
@@ -97,6 +101,7 @@ module Akeyless
|
|
|
97
101
|
{
|
|
98
102
|
:'allowed_users' => :'String',
|
|
99
103
|
:'delete_protection' => :'String',
|
|
104
|
+
:'description' => :'String',
|
|
100
105
|
:'extensions' => :'Hash<String, String>',
|
|
101
106
|
:'json' => :'Boolean',
|
|
102
107
|
:'metadata' => :'String',
|
|
@@ -145,6 +150,10 @@ module Akeyless
|
|
|
145
150
|
self.delete_protection = attributes[:'delete_protection']
|
|
146
151
|
end
|
|
147
152
|
|
|
153
|
+
if attributes.key?(:'description')
|
|
154
|
+
self.description = attributes[:'description']
|
|
155
|
+
end
|
|
156
|
+
|
|
148
157
|
if attributes.key?(:'extensions')
|
|
149
158
|
if (value = attributes[:'extensions']).is_a?(Hash)
|
|
150
159
|
self.extensions = value
|
|
@@ -256,6 +265,7 @@ module Akeyless
|
|
|
256
265
|
self.class == o.class &&
|
|
257
266
|
allowed_users == o.allowed_users &&
|
|
258
267
|
delete_protection == o.delete_protection &&
|
|
268
|
+
description == o.description &&
|
|
259
269
|
extensions == o.extensions &&
|
|
260
270
|
json == o.json &&
|
|
261
271
|
metadata == o.metadata &&
|
|
@@ -283,7 +293,7 @@ module Akeyless
|
|
|
283
293
|
# Calculates hash code according to all attributes.
|
|
284
294
|
# @return [Integer] Hash code
|
|
285
295
|
def hash
|
|
286
|
-
[allowed_users, delete_protection, extensions, json, metadata, name, principals, secure_access_bastion_api, secure_access_bastion_ssh, secure_access_enable, secure_access_host, secure_access_ssh_creds_user, secure_access_use_internal_bastion, signer_key_name, tag, token, ttl, uid_token].hash
|
|
296
|
+
[allowed_users, delete_protection, description, extensions, json, metadata, name, principals, secure_access_bastion_api, secure_access_bastion_ssh, secure_access_enable, secure_access_host, secure_access_ssh_creds_user, secure_access_use_internal_bastion, signer_key_name, tag, token, ttl, uid_token].hash
|
|
287
297
|
end
|
|
288
298
|
|
|
289
299
|
# Builds the object from hash
|
|
@@ -25,6 +25,9 @@ module Akeyless
|
|
|
25
25
|
# Protection from accidental deletion of this item
|
|
26
26
|
attr_accessor :delete_protection
|
|
27
27
|
|
|
28
|
+
# Description of the object
|
|
29
|
+
attr_accessor :description
|
|
30
|
+
|
|
28
31
|
# The Encoding output template to use in regexp vaultless tokenization
|
|
29
32
|
attr_accessor :encoding_template
|
|
30
33
|
|
|
@@ -34,7 +37,7 @@ module Akeyless
|
|
|
34
37
|
# Set output format to JSON
|
|
35
38
|
attr_accessor :json
|
|
36
39
|
|
|
37
|
-
#
|
|
40
|
+
# Deprecated - use description
|
|
38
41
|
attr_accessor :metadata
|
|
39
42
|
|
|
40
43
|
# Tokenizer name
|
|
@@ -67,6 +70,7 @@ module Akeyless
|
|
|
67
70
|
:'alphabet' => :'alphabet',
|
|
68
71
|
:'decoding_template' => :'decoding-template',
|
|
69
72
|
:'delete_protection' => :'delete_protection',
|
|
73
|
+
:'description' => :'description',
|
|
70
74
|
:'encoding_template' => :'encoding-template',
|
|
71
75
|
:'encryption_key_name' => :'encryption-key-name',
|
|
72
76
|
:'json' => :'json',
|
|
@@ -93,6 +97,7 @@ module Akeyless
|
|
|
93
97
|
:'alphabet' => :'String',
|
|
94
98
|
:'decoding_template' => :'String',
|
|
95
99
|
:'delete_protection' => :'String',
|
|
100
|
+
:'description' => :'String',
|
|
96
101
|
:'encoding_template' => :'String',
|
|
97
102
|
:'encryption_key_name' => :'String',
|
|
98
103
|
:'json' => :'Boolean',
|
|
@@ -141,6 +146,10 @@ module Akeyless
|
|
|
141
146
|
self.delete_protection = attributes[:'delete_protection']
|
|
142
147
|
end
|
|
143
148
|
|
|
149
|
+
if attributes.key?(:'description')
|
|
150
|
+
self.description = attributes[:'description']
|
|
151
|
+
end
|
|
152
|
+
|
|
144
153
|
if attributes.key?(:'encoding_template')
|
|
145
154
|
self.encoding_template = attributes[:'encoding_template']
|
|
146
155
|
end
|
|
@@ -228,6 +237,7 @@ module Akeyless
|
|
|
228
237
|
alphabet == o.alphabet &&
|
|
229
238
|
decoding_template == o.decoding_template &&
|
|
230
239
|
delete_protection == o.delete_protection &&
|
|
240
|
+
description == o.description &&
|
|
231
241
|
encoding_template == o.encoding_template &&
|
|
232
242
|
encryption_key_name == o.encryption_key_name &&
|
|
233
243
|
json == o.json &&
|
|
@@ -251,7 +261,7 @@ module Akeyless
|
|
|
251
261
|
# Calculates hash code according to all attributes.
|
|
252
262
|
# @return [Integer] Hash code
|
|
253
263
|
def hash
|
|
254
|
-
[alphabet, decoding_template, delete_protection, encoding_template, encryption_key_name, json, metadata, name, pattern, tag, template_type, token, tokenizer_type, tweak_type, uid_token].hash
|
|
264
|
+
[alphabet, decoding_template, delete_protection, description, encoding_template, encryption_key_name, json, metadata, name, pattern, tag, template_type, token, tokenizer_type, tweak_type, uid_token].hash
|
|
255
265
|
end
|
|
256
266
|
|
|
257
267
|
# Builds the object from hash
|