akeyless 3.5.4 → 3.6.1

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.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -2
  3. data/docs/AssocTargetItem.md +8 -0
  4. data/docs/Auth.md +4 -0
  5. data/docs/AuthMethod.md +2 -0
  6. data/docs/AuthMethodAccessInfo.md +2 -0
  7. data/docs/CertificateChainInfo.md +4 -0
  8. data/docs/CertificateVersionInfo.md +22 -0
  9. data/docs/Configure.md +5 -1
  10. data/docs/Connect.md +1 -1
  11. data/docs/CreateAuthMethod.md +2 -0
  12. data/docs/CreateAuthMethodAWSIAM.md +2 -0
  13. data/docs/CreateAuthMethodAzureAD.md +3 -1
  14. data/docs/CreateAuthMethodCert.md +2 -0
  15. data/docs/CreateAuthMethodEmail.md +2 -0
  16. data/docs/CreateAuthMethodGCP.md +2 -0
  17. data/docs/CreateAuthMethodHuawei.md +2 -0
  18. data/docs/CreateAuthMethodK8S.md +2 -0
  19. data/docs/CreateAuthMethodLDAP.md +2 -0
  20. data/docs/CreateAuthMethodOAuth2.md +2 -0
  21. data/docs/CreateAuthMethodOCI.md +40 -0
  22. data/docs/CreateAuthMethodOCIOutput.md +18 -0
  23. data/docs/CreateAuthMethodOIDC.md +2 -0
  24. data/docs/CreateAuthMethodSAML.md +2 -0
  25. data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
  26. data/docs/CreateEventForwarder.md +1 -1
  27. data/docs/CreateLinkedTarget.md +2 -0
  28. data/docs/CreateRole.md +4 -0
  29. data/docs/CreateRotatedSecret.md +7 -1
  30. data/docs/CreateSSHCertIssuer.md +4 -4
  31. data/docs/CreateSecret.md +2 -0
  32. data/docs/GatewayCreateMigration.md +2 -0
  33. data/docs/GatewayCreateProducerCassandra.md +4 -0
  34. data/docs/GatewayUpdateItem.md +2 -0
  35. data/docs/GatewayUpdateMigration.md +2 -0
  36. data/docs/GatewayUpdateProducerCassandra.md +4 -0
  37. data/docs/GenerateCsr.md +1 -1
  38. data/docs/GwClusterIdentity.md +2 -0
  39. data/docs/ImportPasswords.md +3 -1
  40. data/docs/ImportPasswordsOutput.md +3 -1
  41. data/docs/ItemVersion.md +2 -0
  42. data/docs/OCIAccessRules.md +20 -0
  43. data/docs/ProvisionCertificate.md +28 -0
  44. data/docs/ProvisionCertificateOutput.md +24 -0
  45. data/docs/RenewCertificate.md +28 -0
  46. data/docs/RenewCertificateOutput.md +28 -0
  47. data/docs/SecureRemoteAccess.md +2 -0
  48. data/docs/ServerInventoryPayload.md +2 -0
  49. data/docs/SetRoleRule.md +1 -1
  50. data/docs/SignDataWithClassicKey.md +2 -0
  51. data/docs/SignEcDsa.md +5 -1
  52. data/docs/SignPKCS1.md +9 -1
  53. data/docs/SignPKCS1Output.md +1 -1
  54. data/docs/SignRsaSsaPss.md +5 -1
  55. data/docs/StaticSecretDetailsInfo.md +2 -0
  56. data/docs/TargetItemVersion.md +2 -0
  57. data/docs/UpdateAuthMethod.md +2 -0
  58. data/docs/UpdateAuthMethodAWSIAM.md +2 -0
  59. data/docs/UpdateAuthMethodAzureAD.md +3 -1
  60. data/docs/UpdateAuthMethodCert.md +2 -0
  61. data/docs/UpdateAuthMethodGCP.md +2 -0
  62. data/docs/UpdateAuthMethodK8S.md +2 -0
  63. data/docs/UpdateAuthMethodLDAP.md +2 -0
  64. data/docs/UpdateAuthMethodOAuth2.md +2 -0
  65. data/docs/UpdateAuthMethodOCI.md +42 -0
  66. data/docs/UpdateAuthMethodOCIOutput.md +18 -0
  67. data/docs/UpdateAuthMethodOIDC.md +2 -0
  68. data/docs/UpdateAuthMethodSAML.md +2 -0
  69. data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
  70. data/docs/UpdateCertificateValue.md +2 -0
  71. data/docs/UpdateItem.md +6 -0
  72. data/docs/UpdateLinkedTarget.md +2 -0
  73. data/docs/UpdateRole.md +4 -0
  74. data/docs/UpdateSSHCertIssuer.md +3 -3
  75. data/docs/UpdateSecretVal.md +2 -0
  76. data/docs/V2Api.md +264 -9
  77. data/docs/VerifyEcDsa.md +5 -1
  78. data/docs/VerifyPKCS1.md +9 -1
  79. data/docs/VerifyRsaSsaPss.md +5 -1
  80. data/lib/akeyless/api/v2_api.rb +274 -7
  81. data/lib/akeyless/models/assoc_target_item.rb +43 -1
  82. data/lib/akeyless/models/auth.rb +25 -1
  83. data/lib/akeyless/models/auth_method.rb +10 -1
  84. data/lib/akeyless/models/auth_method_access_info.rb +10 -1
  85. data/lib/akeyless/models/certificate_chain_info.rb +19 -1
  86. data/lib/akeyless/models/certificate_version_info.rb +232 -0
  87. data/lib/akeyless/models/configure.rb +28 -4
  88. data/lib/akeyless/models/connect.rb +1 -1
  89. data/lib/akeyless/models/create_auth_method.rb +11 -1
  90. data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
  91. data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -2
  92. data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
  93. data/lib/akeyless/models/create_auth_method_email.rb +11 -1
  94. data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
  95. data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
  96. data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
  97. data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
  98. data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
  99. data/lib/akeyless/models/create_auth_method_oci.rb +359 -0
  100. data/lib/akeyless/models/create_auth_method_oci_output.rb +214 -0
  101. data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
  102. data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
  103. data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
  104. data/lib/akeyless/models/create_event_forwarder.rb +1 -1
  105. data/lib/akeyless/models/create_linked_target.rb +11 -1
  106. data/lib/akeyless/models/create_role.rb +21 -1
  107. data/lib/akeyless/models/create_rotated_secret.rb +35 -2
  108. data/lib/akeyless/models/create_secret.rb +11 -1
  109. data/lib/akeyless/models/create_ssh_cert_issuer.rb +9 -9
  110. data/lib/akeyless/models/gateway_create_migration.rb +11 -1
  111. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +23 -1
  112. data/lib/akeyless/models/gateway_update_item.rb +11 -1
  113. data/lib/akeyless/models/gateway_update_migration.rb +11 -1
  114. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +23 -1
  115. data/lib/akeyless/models/generate_csr.rb +1 -1
  116. data/lib/akeyless/models/gw_cluster_identity.rb +10 -1
  117. data/lib/akeyless/models/import_passwords.rb +13 -4
  118. data/lib/akeyless/models/import_passwords_output.rb +13 -4
  119. data/lib/akeyless/models/item_version.rb +10 -1
  120. data/lib/akeyless/models/oci_access_rules.rb +226 -0
  121. data/lib/akeyless/models/provision_certificate.rb +275 -0
  122. data/lib/akeyless/models/provision_certificate_output.rb +243 -0
  123. data/lib/akeyless/models/renew_certificate.rb +267 -0
  124. data/lib/akeyless/models/renew_certificate_output.rb +259 -0
  125. data/lib/akeyless/models/secure_remote_access.rb +12 -1
  126. data/lib/akeyless/models/server_inventory_payload.rb +12 -1
  127. data/lib/akeyless/models/set_role_rule.rb +1 -1
  128. data/lib/akeyless/models/sign_data_with_classic_key.rb +13 -1
  129. data/lib/akeyless/models/sign_ec_dsa.rb +24 -4
  130. data/lib/akeyless/models/sign_pkcs1.rb +44 -4
  131. data/lib/akeyless/models/sign_pkcs1_output.rb +2 -4
  132. data/lib/akeyless/models/sign_rsa_ssa_pss.rb +24 -4
  133. data/lib/akeyless/models/static_secret_details_info.rb +10 -1
  134. data/lib/akeyless/models/target_item_version.rb +10 -1
  135. data/lib/akeyless/models/update_auth_method.rb +11 -1
  136. data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
  137. data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -2
  138. data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
  139. data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
  140. data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
  141. data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
  142. data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
  143. data/lib/akeyless/models/update_auth_method_oci.rb +369 -0
  144. data/lib/akeyless/models/update_auth_method_oci_output.rb +214 -0
  145. data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
  146. data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
  147. data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
  148. data/lib/akeyless/models/update_certificate_value.rb +11 -1
  149. data/lib/akeyless/models/update_item.rb +32 -1
  150. data/lib/akeyless/models/update_linked_target.rb +11 -1
  151. data/lib/akeyless/models/update_role.rb +21 -1
  152. data/lib/akeyless/models/update_secret_val.rb +11 -1
  153. data/lib/akeyless/models/update_ssh_cert_issuer.rb +8 -8
  154. data/lib/akeyless/models/verify_ec_dsa.rb +24 -4
  155. data/lib/akeyless/models/verify_pkcs1.rb +44 -4
  156. data/lib/akeyless/models/verify_rsa_ssa_pss.rb +24 -4
  157. data/lib/akeyless/version.rb +1 -1
  158. data/lib/akeyless.rb +10 -0
  159. data/spec/models/certificate_version_info_spec.rb +48 -0
  160. data/spec/models/create_auth_method_oci_output_spec.rb +36 -0
  161. data/spec/models/create_auth_method_oci_spec.rb +102 -0
  162. data/spec/models/oci_access_rules_spec.rb +42 -0
  163. data/spec/models/provision_certificate_output_spec.rb +54 -0
  164. data/spec/models/provision_certificate_spec.rb +66 -0
  165. data/spec/models/renew_certificate_output_spec.rb +66 -0
  166. data/spec/models/renew_certificate_spec.rb +66 -0
  167. data/spec/models/update_auth_method_oci_output_spec.rb +36 -0
  168. data/spec/models/update_auth_method_oci_spec.rb +108 -0
  169. metadata +43 -3
@@ -34,12 +34,18 @@ module Akeyless
34
34
  # The input message to sign in a base64 format
35
35
  attr_accessor :message
36
36
 
37
+ # Markes that the message is already hashed
38
+ attr_accessor :prehashed
39
+
37
40
  # Authentication token (see `/auth` and `/configure`)
38
41
  attr_accessor :token
39
42
 
40
43
  # The universal identity token, Required only for universal_identity authentication
41
44
  attr_accessor :uid_token
42
45
 
46
+ # The version of the key to use for signing
47
+ attr_accessor :version
48
+
43
49
  # Attribute mapping from ruby-style variable name to JSON key.
44
50
  def self.attribute_map
45
51
  {
@@ -49,8 +55,10 @@ module Akeyless
49
55
  :'json' => :'json',
50
56
  :'key_name' => :'key-name',
51
57
  :'message' => :'message',
58
+ :'prehashed' => :'prehashed',
52
59
  :'token' => :'token',
53
- :'uid_token' => :'uid-token'
60
+ :'uid_token' => :'uid-token',
61
+ :'version' => :'version'
54
62
  }
55
63
  end
56
64
 
@@ -68,8 +76,10 @@ module Akeyless
68
76
  :'json' => :'Boolean',
69
77
  :'key_name' => :'String',
70
78
  :'message' => :'String',
79
+ :'prehashed' => :'Boolean',
71
80
  :'token' => :'String',
72
- :'uid_token' => :'String'
81
+ :'uid_token' => :'String',
82
+ :'version' => :'Integer'
73
83
  }
74
84
  end
75
85
 
@@ -122,6 +132,10 @@ module Akeyless
122
132
  self.message = nil
123
133
  end
124
134
 
135
+ if attributes.key?(:'prehashed')
136
+ self.prehashed = attributes[:'prehashed']
137
+ end
138
+
125
139
  if attributes.key?(:'token')
126
140
  self.token = attributes[:'token']
127
141
  end
@@ -129,6 +143,10 @@ module Akeyless
129
143
  if attributes.key?(:'uid_token')
130
144
  self.uid_token = attributes[:'uid_token']
131
145
  end
146
+
147
+ if attributes.key?(:'version')
148
+ self.version = attributes[:'version']
149
+ end
132
150
  end
133
151
 
134
152
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -162,8 +180,10 @@ module Akeyless
162
180
  json == o.json &&
163
181
  key_name == o.key_name &&
164
182
  message == o.message &&
183
+ prehashed == o.prehashed &&
165
184
  token == o.token &&
166
- uid_token == o.uid_token
185
+ uid_token == o.uid_token &&
186
+ version == o.version
167
187
  end
168
188
 
169
189
  # @see the `==` method
@@ -175,7 +195,7 @@ module Akeyless
175
195
  # Calculates hash code according to all attributes.
176
196
  # @return [Integer] Hash code
177
197
  def hash
178
- [display_id, hash_function, item_id, json, key_name, message, token, uid_token].hash
198
+ [display_id, hash_function, item_id, json, key_name, message, prehashed, token, uid_token, version].hash
179
199
  end
180
200
 
181
201
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class StaticSecretDetailsInfo
18
+ attr_accessor :notify_on_change_event
19
+
18
20
  attr_accessor :username
19
21
 
20
22
  # deprecated
@@ -25,6 +27,7 @@ module Akeyless
25
27
  # Attribute mapping from ruby-style variable name to JSON key.
26
28
  def self.attribute_map
27
29
  {
30
+ :'notify_on_change_event' => :'notify_on_change_event',
28
31
  :'username' => :'username',
29
32
  :'website' => :'website',
30
33
  :'websites' => :'websites'
@@ -39,6 +42,7 @@ module Akeyless
39
42
  # Attribute type mapping.
40
43
  def self.openapi_types
41
44
  {
45
+ :'notify_on_change_event' => :'Boolean',
42
46
  :'username' => :'String',
43
47
  :'website' => :'String',
44
48
  :'websites' => :'Array<String>'
@@ -66,6 +70,10 @@ module Akeyless
66
70
  h[k.to_sym] = v
67
71
  }
68
72
 
73
+ if attributes.key?(:'notify_on_change_event')
74
+ self.notify_on_change_event = attributes[:'notify_on_change_event']
75
+ end
76
+
69
77
  if attributes.key?(:'username')
70
78
  self.username = attributes[:'username']
71
79
  end
@@ -101,6 +109,7 @@ module Akeyless
101
109
  def ==(o)
102
110
  return true if self.equal?(o)
103
111
  self.class == o.class &&
112
+ notify_on_change_event == o.notify_on_change_event &&
104
113
  username == o.username &&
105
114
  website == o.website &&
106
115
  websites == o.websites
@@ -115,7 +124,7 @@ module Akeyless
115
124
  # Calculates hash code according to all attributes.
116
125
  # @return [Integer] Hash code
117
126
  def hash
118
- [username, website, websites].hash
127
+ [notify_on_change_event, username, website, websites].hash
119
128
  end
120
129
 
121
130
  # Builds the object from hash
@@ -19,6 +19,8 @@ module Akeyless
19
19
 
20
20
  attr_accessor :access_date_display
21
21
 
22
+ attr_accessor :certificate_version_info
23
+
22
24
  attr_accessor :creation_date
23
25
 
24
26
  attr_accessor :customer_fragment_id
@@ -45,6 +47,7 @@ module Akeyless
45
47
  {
46
48
  :'access_date' => :'access_date',
47
49
  :'access_date_display' => :'access_date_display',
50
+ :'certificate_version_info' => :'certificate_version_info',
48
51
  :'creation_date' => :'creation_date',
49
52
  :'customer_fragment_id' => :'customer_fragment_id',
50
53
  :'deletion_date' => :'deletion_date',
@@ -68,6 +71,7 @@ module Akeyless
68
71
  {
69
72
  :'access_date' => :'Time',
70
73
  :'access_date_display' => :'String',
74
+ :'certificate_version_info' => :'CertificateVersionInfo',
71
75
  :'creation_date' => :'Time',
72
76
  :'customer_fragment_id' => :'String',
73
77
  :'deletion_date' => :'Time',
@@ -110,6 +114,10 @@ module Akeyless
110
114
  self.access_date_display = attributes[:'access_date_display']
111
115
  end
112
116
 
117
+ if attributes.key?(:'certificate_version_info')
118
+ self.certificate_version_info = attributes[:'certificate_version_info']
119
+ end
120
+
113
121
  if attributes.key?(:'creation_date')
114
122
  self.creation_date = attributes[:'creation_date']
115
123
  end
@@ -173,6 +181,7 @@ module Akeyless
173
181
  self.class == o.class &&
174
182
  access_date == o.access_date &&
175
183
  access_date_display == o.access_date_display &&
184
+ certificate_version_info == o.certificate_version_info &&
176
185
  creation_date == o.creation_date &&
177
186
  customer_fragment_id == o.customer_fragment_id &&
178
187
  deletion_date == o.deletion_date &&
@@ -194,7 +203,7 @@ module Akeyless
194
203
  # Calculates hash code according to all attributes.
195
204
  # @return [Integer] Hash code
196
205
  def hash
197
- [access_date, access_date_display, creation_date, customer_fragment_id, deletion_date, item_version_state, latest_version, modification_date, protection_key_name, target_name, version, with_customer_fragment].hash
206
+ [access_date, access_date_display, certificate_version_info, creation_date, customer_fragment_id, deletion_date, item_version_state, latest_version, modification_date, protection_key_name, target_name, version, with_customer_fragment].hash
198
207
  end
199
208
 
200
209
  # Builds the object from hash
@@ -21,6 +21,9 @@ module Akeyless
21
21
  # A CIDR whitelist with the IPs that the access is restricted to
22
22
  attr_accessor :bound_ips
23
23
 
24
+ # Auth Method description
25
+ attr_accessor :description
26
+
24
27
  # if true: enforce role-association must include sub claims
25
28
  attr_accessor :force_sub_claims
26
29
 
@@ -50,6 +53,7 @@ module Akeyless
50
53
  {
51
54
  :'access_expires' => :'access-expires',
52
55
  :'bound_ips' => :'bound-ips',
56
+ :'description' => :'description',
53
57
  :'force_sub_claims' => :'force-sub-claims',
54
58
  :'gw_bound_ips' => :'gw-bound-ips',
55
59
  :'json' => :'json',
@@ -71,6 +75,7 @@ module Akeyless
71
75
  {
72
76
  :'access_expires' => :'Integer',
73
77
  :'bound_ips' => :'Array<String>',
78
+ :'description' => :'String',
74
79
  :'force_sub_claims' => :'Boolean',
75
80
  :'gw_bound_ips' => :'Array<String>',
76
81
  :'json' => :'Boolean',
@@ -115,6 +120,10 @@ module Akeyless
115
120
  end
116
121
  end
117
122
 
123
+ if attributes.key?(:'description')
124
+ self.description = attributes[:'description']
125
+ end
126
+
118
127
  if attributes.key?(:'force_sub_claims')
119
128
  self.force_sub_claims = attributes[:'force_sub_claims']
120
129
  end
@@ -183,6 +192,7 @@ module Akeyless
183
192
  self.class == o.class &&
184
193
  access_expires == o.access_expires &&
185
194
  bound_ips == o.bound_ips &&
195
+ description == o.description &&
186
196
  force_sub_claims == o.force_sub_claims &&
187
197
  gw_bound_ips == o.gw_bound_ips &&
188
198
  json == o.json &&
@@ -202,7 +212,7 @@ module Akeyless
202
212
  # Calculates hash code according to all attributes.
203
213
  # @return [Integer] Hash code
204
214
  def hash
205
- [access_expires, bound_ips, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, token, uid_token].hash
215
+ [access_expires, bound_ips, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, token, uid_token].hash
206
216
  end
207
217
 
208
218
  # Builds the object from hash
@@ -43,6 +43,9 @@ module Akeyless
43
43
  # A list of full user-name that the access is restricted to
44
44
  attr_accessor :bound_user_name
45
45
 
46
+ # Auth Method description
47
+ attr_accessor :description
48
+
46
49
  # if true: enforce role-association must include sub claims
47
50
  attr_accessor :force_sub_claims
48
51
 
@@ -82,6 +85,7 @@ module Akeyless
82
85
  :'bound_role_name' => :'bound-role-name',
83
86
  :'bound_user_id' => :'bound-user-id',
84
87
  :'bound_user_name' => :'bound-user-name',
88
+ :'description' => :'description',
85
89
  :'force_sub_claims' => :'force-sub-claims',
86
90
  :'gw_bound_ips' => :'gw-bound-ips',
87
91
  :'json' => :'json',
@@ -111,6 +115,7 @@ module Akeyless
111
115
  :'bound_role_name' => :'Array<String>',
112
116
  :'bound_user_id' => :'Array<String>',
113
117
  :'bound_user_name' => :'Array<String>',
118
+ :'description' => :'String',
114
119
  :'force_sub_claims' => :'Boolean',
115
120
  :'gw_bound_ips' => :'Array<String>',
116
121
  :'json' => :'Boolean',
@@ -200,6 +205,10 @@ module Akeyless
200
205
  end
201
206
  end
202
207
 
208
+ if attributes.key?(:'description')
209
+ self.description = attributes[:'description']
210
+ end
211
+
203
212
  if attributes.key?(:'force_sub_claims')
204
213
  self.force_sub_claims = attributes[:'force_sub_claims']
205
214
  end
@@ -286,6 +295,7 @@ module Akeyless
286
295
  bound_role_name == o.bound_role_name &&
287
296
  bound_user_id == o.bound_user_id &&
288
297
  bound_user_name == o.bound_user_name &&
298
+ description == o.description &&
289
299
  force_sub_claims == o.force_sub_claims &&
290
300
  gw_bound_ips == o.gw_bound_ips &&
291
301
  json == o.json &&
@@ -306,7 +316,7 @@ module Akeyless
306
316
  # Calculates hash code according to all attributes.
307
317
  # @return [Integer] Hash code
308
318
  def hash
309
- [access_expires, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, sts_url, token, uid_token].hash
319
+ [access_expires, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, sts_url, token, uid_token].hash
310
320
  end
311
321
 
312
322
  # Builds the object from hash
@@ -19,7 +19,7 @@ module Akeyless
19
19
  # Access expiration date in Unix timestamp (select 0 for access without expiry date)
20
20
  attr_accessor :access_expires
21
21
 
22
- # The audience in the JWT
22
+ # Deprecated (Deprecated) The audience in the JWT
23
23
  attr_accessor :audience
24
24
 
25
25
  # A list of group ids that the access is restricted to
@@ -52,6 +52,9 @@ module Akeyless
52
52
  # The Azure tenant id that the access is restricted to
53
53
  attr_accessor :bound_tenant_id
54
54
 
55
+ # Auth Method description
56
+ attr_accessor :description
57
+
55
58
  # if true: enforce role-association must include sub claims
56
59
  attr_accessor :force_sub_claims
57
60
 
@@ -97,6 +100,7 @@ module Akeyless
97
100
  :'bound_spid' => :'bound-spid',
98
101
  :'bound_sub_id' => :'bound-sub-id',
99
102
  :'bound_tenant_id' => :'bound-tenant-id',
103
+ :'description' => :'description',
100
104
  :'force_sub_claims' => :'force-sub-claims',
101
105
  :'gw_bound_ips' => :'gw-bound-ips',
102
106
  :'issuer' => :'issuer',
@@ -130,6 +134,7 @@ module Akeyless
130
134
  :'bound_spid' => :'Array<String>',
131
135
  :'bound_sub_id' => :'Array<String>',
132
136
  :'bound_tenant_id' => :'String',
137
+ :'description' => :'String',
133
138
  :'force_sub_claims' => :'Boolean',
134
139
  :'gw_bound_ips' => :'Array<String>',
135
140
  :'issuer' => :'String',
@@ -236,6 +241,10 @@ module Akeyless
236
241
  self.bound_tenant_id = nil
237
242
  end
238
243
 
244
+ if attributes.key?(:'description')
245
+ self.description = attributes[:'description']
246
+ end
247
+
239
248
  if attributes.key?(:'force_sub_claims')
240
249
  self.force_sub_claims = attributes[:'force_sub_claims']
241
250
  end
@@ -331,6 +340,7 @@ module Akeyless
331
340
  bound_spid == o.bound_spid &&
332
341
  bound_sub_id == o.bound_sub_id &&
333
342
  bound_tenant_id == o.bound_tenant_id &&
343
+ description == o.description &&
334
344
  force_sub_claims == o.force_sub_claims &&
335
345
  gw_bound_ips == o.gw_bound_ips &&
336
346
  issuer == o.issuer &&
@@ -352,7 +362,7 @@ module Akeyless
352
362
  # Calculates hash code according to all attributes.
353
363
  # @return [Integer] Hash code
354
364
  def hash
355
- [access_expires, audience, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, new_name, token, uid_token].hash
365
+ [access_expires, audience, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, description, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, new_name, token, uid_token].hash
356
366
  end
357
367
 
358
368
  # Builds the object from hash
@@ -46,6 +46,9 @@ module Akeyless
46
46
  # The certificate data in base64, if no file was provided
47
47
  attr_accessor :certificate_data
48
48
 
49
+ # Auth Method description
50
+ attr_accessor :description
51
+
49
52
  # if true: enforce role-association must include sub claims
50
53
  attr_accessor :force_sub_claims
51
54
 
@@ -89,6 +92,7 @@ module Akeyless
89
92
  :'bound_organizational_units' => :'bound-organizational-units',
90
93
  :'bound_uri_sans' => :'bound-uri-sans',
91
94
  :'certificate_data' => :'certificate-data',
95
+ :'description' => :'description',
92
96
  :'force_sub_claims' => :'force-sub-claims',
93
97
  :'gw_bound_ips' => :'gw-bound-ips',
94
98
  :'json' => :'json',
@@ -120,6 +124,7 @@ module Akeyless
120
124
  :'bound_organizational_units' => :'Array<String>',
121
125
  :'bound_uri_sans' => :'Array<String>',
122
126
  :'certificate_data' => :'String',
127
+ :'description' => :'String',
123
128
  :'force_sub_claims' => :'Boolean',
124
129
  :'gw_bound_ips' => :'Array<String>',
125
130
  :'json' => :'Boolean',
@@ -210,6 +215,10 @@ module Akeyless
210
215
  self.certificate_data = attributes[:'certificate_data']
211
216
  end
212
217
 
218
+ if attributes.key?(:'description')
219
+ self.description = attributes[:'description']
220
+ end
221
+
213
222
  if attributes.key?(:'force_sub_claims')
214
223
  self.force_sub_claims = attributes[:'force_sub_claims']
215
224
  end
@@ -303,6 +312,7 @@ module Akeyless
303
312
  bound_organizational_units == o.bound_organizational_units &&
304
313
  bound_uri_sans == o.bound_uri_sans &&
305
314
  certificate_data == o.certificate_data &&
315
+ description == o.description &&
306
316
  force_sub_claims == o.force_sub_claims &&
307
317
  gw_bound_ips == o.gw_bound_ips &&
308
318
  json == o.json &&
@@ -324,7 +334,7 @@ module Akeyless
324
334
  # Calculates hash code according to all attributes.
325
335
  # @return [Integer] Hash code
326
336
  def hash
327
- [access_expires, allowed_cors, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, revoked_cert_ids, token, uid_token, unique_identifier].hash
337
+ [access_expires, allowed_cors, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, revoked_cert_ids, token, uid_token, unique_identifier].hash
328
338
  end
329
339
 
330
340
  # Builds the object from hash
@@ -40,6 +40,9 @@ module Akeyless
40
40
  # === Machine authentication section === List of zones that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a zonal group and the group must belong to this zone.
41
41
  attr_accessor :bound_zones
42
42
 
43
+ # Auth Method description
44
+ attr_accessor :description
45
+
43
46
  # if true: enforce role-association must include sub claims
44
47
  attr_accessor :force_sub_claims
45
48
 
@@ -81,6 +84,7 @@ module Akeyless
81
84
  :'bound_regions' => :'bound-regions',
82
85
  :'bound_service_accounts' => :'bound-service-accounts',
83
86
  :'bound_zones' => :'bound-zones',
87
+ :'description' => :'description',
84
88
  :'force_sub_claims' => :'force-sub-claims',
85
89
  :'gw_bound_ips' => :'gw-bound-ips',
86
90
  :'json' => :'json',
@@ -110,6 +114,7 @@ module Akeyless
110
114
  :'bound_regions' => :'Array<String>',
111
115
  :'bound_service_accounts' => :'Array<String>',
112
116
  :'bound_zones' => :'Array<String>',
117
+ :'description' => :'String',
113
118
  :'force_sub_claims' => :'Boolean',
114
119
  :'gw_bound_ips' => :'Array<String>',
115
120
  :'json' => :'Boolean',
@@ -192,6 +197,10 @@ module Akeyless
192
197
  end
193
198
  end
194
199
 
200
+ if attributes.key?(:'description')
201
+ self.description = attributes[:'description']
202
+ end
203
+
195
204
  if attributes.key?(:'force_sub_claims')
196
205
  self.force_sub_claims = attributes[:'force_sub_claims']
197
206
  end
@@ -286,6 +295,7 @@ module Akeyless
286
295
  bound_regions == o.bound_regions &&
287
296
  bound_service_accounts == o.bound_service_accounts &&
288
297
  bound_zones == o.bound_zones &&
298
+ description == o.description &&
289
299
  force_sub_claims == o.force_sub_claims &&
290
300
  gw_bound_ips == o.gw_bound_ips &&
291
301
  json == o.json &&
@@ -307,7 +317,7 @@ module Akeyless
307
317
  # Calculates hash code according to all attributes.
308
318
  # @return [Integer] Hash code
309
319
  def hash
310
- [access_expires, audience, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, service_account_creds_data, token, type, uid_token].hash
320
+ [access_expires, audience, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, service_account_creds_data, token, type, uid_token].hash
311
321
  end
312
322
 
313
323
  # Builds the object from hash
@@ -34,6 +34,9 @@ module Akeyless
34
34
  # A list of service account names that the access is restricted to
35
35
  attr_accessor :bound_sa_names
36
36
 
37
+ # Auth Method description
38
+ attr_accessor :description
39
+
37
40
  # if true: enforce role-association must include sub claims
38
41
  attr_accessor :force_sub_claims
39
42
 
@@ -73,6 +76,7 @@ module Akeyless
73
76
  :'bound_namespaces' => :'bound-namespaces',
74
77
  :'bound_pod_names' => :'bound-pod-names',
75
78
  :'bound_sa_names' => :'bound-sa-names',
79
+ :'description' => :'description',
76
80
  :'force_sub_claims' => :'force-sub-claims',
77
81
  :'gen_key' => :'gen-key',
78
82
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -100,6 +104,7 @@ module Akeyless
100
104
  :'bound_namespaces' => :'Array<String>',
101
105
  :'bound_pod_names' => :'Array<String>',
102
106
  :'bound_sa_names' => :'Array<String>',
107
+ :'description' => :'String',
103
108
  :'force_sub_claims' => :'Boolean',
104
109
  :'gen_key' => :'String',
105
110
  :'gw_bound_ips' => :'Array<String>',
@@ -168,6 +173,10 @@ module Akeyless
168
173
  end
169
174
  end
170
175
 
176
+ if attributes.key?(:'description')
177
+ self.description = attributes[:'description']
178
+ end
179
+
171
180
  if attributes.key?(:'force_sub_claims')
172
181
  self.force_sub_claims = attributes[:'force_sub_claims']
173
182
  end
@@ -248,6 +257,7 @@ module Akeyless
248
257
  bound_namespaces == o.bound_namespaces &&
249
258
  bound_pod_names == o.bound_pod_names &&
250
259
  bound_sa_names == o.bound_sa_names &&
260
+ description == o.description &&
251
261
  force_sub_claims == o.force_sub_claims &&
252
262
  gen_key == o.gen_key &&
253
263
  gw_bound_ips == o.gw_bound_ips &&
@@ -269,7 +279,7 @@ module Akeyless
269
279
  # Calculates hash code according to all attributes.
270
280
  # @return [Integer] Hash code
271
281
  def hash
272
- [access_expires, audience, bound_ips, bound_namespaces, bound_pod_names, bound_sa_names, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, new_name, public_key, token, uid_token].hash
282
+ [access_expires, audience, bound_ips, bound_namespaces, bound_pod_names, bound_sa_names, description, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, new_name, public_key, token, uid_token].hash
273
283
  end
274
284
 
275
285
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # A CIDR whitelist with the IPs that the access is restricted to
23
23
  attr_accessor :bound_ips
24
24
 
25
+ # Auth Method description
26
+ attr_accessor :description
27
+
25
28
  # if true: enforce role-association must include sub claims
26
29
  attr_accessor :force_sub_claims
27
30
 
@@ -60,6 +63,7 @@ module Akeyless
60
63
  {
61
64
  :'access_expires' => :'access-expires',
62
65
  :'bound_ips' => :'bound-ips',
66
+ :'description' => :'description',
63
67
  :'force_sub_claims' => :'force-sub-claims',
64
68
  :'gen_key' => :'gen-key',
65
69
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -84,6 +88,7 @@ module Akeyless
84
88
  {
85
89
  :'access_expires' => :'Integer',
86
90
  :'bound_ips' => :'Array<String>',
91
+ :'description' => :'String',
87
92
  :'force_sub_claims' => :'Boolean',
88
93
  :'gen_key' => :'String',
89
94
  :'gw_bound_ips' => :'Array<String>',
@@ -131,6 +136,10 @@ module Akeyless
131
136
  end
132
137
  end
133
138
 
139
+ if attributes.key?(:'description')
140
+ self.description = attributes[:'description']
141
+ end
142
+
134
143
  if attributes.key?(:'force_sub_claims')
135
144
  self.force_sub_claims = attributes[:'force_sub_claims']
136
145
  end
@@ -213,6 +222,7 @@ module Akeyless
213
222
  self.class == o.class &&
214
223
  access_expires == o.access_expires &&
215
224
  bound_ips == o.bound_ips &&
225
+ description == o.description &&
216
226
  force_sub_claims == o.force_sub_claims &&
217
227
  gen_key == o.gen_key &&
218
228
  gw_bound_ips == o.gw_bound_ips &&
@@ -235,7 +245,7 @@ module Akeyless
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [access_expires, bound_ips, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, new_name, public_key_data, token, uid_token, unique_identifier].hash
248
+ [access_expires, bound_ips, description, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, new_name, public_key_data, token, uid_token, unique_identifier].hash
239
249
  end
240
250
 
241
251
  # Builds the object from hash
@@ -28,6 +28,9 @@ module Akeyless
28
28
  # A CIDR whitelist with the IPs that the access is restricted to
29
29
  attr_accessor :bound_ips
30
30
 
31
+ # Auth Method description
32
+ attr_accessor :description
33
+
31
34
  # if true: enforce role-association must include sub claims
32
35
  attr_accessor :force_sub_claims
33
36
 
@@ -77,6 +80,7 @@ module Akeyless
77
80
  :'audience' => :'audience',
78
81
  :'bound_client_ids' => :'bound-client-ids',
79
82
  :'bound_ips' => :'bound-ips',
83
+ :'description' => :'description',
80
84
  :'force_sub_claims' => :'force-sub-claims',
81
85
  :'gateway_url' => :'gateway-url',
82
86
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -106,6 +110,7 @@ module Akeyless
106
110
  :'audience' => :'String',
107
111
  :'bound_client_ids' => :'Array<String>',
108
112
  :'bound_ips' => :'Array<String>',
113
+ :'description' => :'String',
109
114
  :'force_sub_claims' => :'Boolean',
110
115
  :'gateway_url' => :'String',
111
116
  :'gw_bound_ips' => :'Array<String>',
@@ -166,6 +171,10 @@ module Akeyless
166
171
  end
167
172
  end
168
173
 
174
+ if attributes.key?(:'description')
175
+ self.description = attributes[:'description']
176
+ end
177
+
169
178
  if attributes.key?(:'force_sub_claims')
170
179
  self.force_sub_claims = attributes[:'force_sub_claims']
171
180
  end
@@ -276,6 +285,7 @@ module Akeyless
276
285
  audience == o.audience &&
277
286
  bound_client_ids == o.bound_client_ids &&
278
287
  bound_ips == o.bound_ips &&
288
+ description == o.description &&
279
289
  force_sub_claims == o.force_sub_claims &&
280
290
  gateway_url == o.gateway_url &&
281
291
  gw_bound_ips == o.gw_bound_ips &&
@@ -301,7 +311,7 @@ module Akeyless
301
311
  # Calculates hash code according to all attributes.
302
312
  # @return [Integer] Hash code
303
313
  def hash
304
- [access_expires, audience, bound_client_ids, bound_ips, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwks_json_data, jwks_uri, jwt_ttl, name, new_name, subclaims_delimiters, token, uid_token, unique_identifier].hash
314
+ [access_expires, audience, bound_client_ids, bound_ips, description, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwks_json_data, jwks_uri, jwt_ttl, name, new_name, subclaims_delimiters, token, uid_token, unique_identifier].hash
305
315
  end
306
316
 
307
317
  # Builds the object from hash