akeyless 5.0.27 → 5.0.28
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 +15 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/EsmGetSecretOutput.md +7 -1
- data/docs/FolderDeleteSync.md +32 -0
- data/docs/FolderDeleteSyncOutput.md +24 -0
- data/docs/FolderSync.md +34 -0
- data/docs/FolderSyncAll.md +26 -0
- data/docs/FolderSyncAllOutput.md +18 -0
- data/docs/FolderSyncOutput.md +24 -0
- data/docs/FolderUSCSyncConfig.md +2 -0
- data/docs/OIDCAccessRules.md +2 -0
- data/docs/PersonalFolderGlobalMappingSettings.md +20 -0
- data/docs/RotatedSecretCreateAws.md +4 -4
- data/docs/RotatedSecretCreateAzure.md +6 -4
- data/docs/RotatedSecretCreateCassandra.md +4 -4
- data/docs/RotatedSecretCreateCustom.md +4 -4
- data/docs/RotatedSecretCreateDockerhub.md +4 -4
- data/docs/RotatedSecretCreateGcp.md +4 -4
- data/docs/RotatedSecretCreateHanadb.md +4 -4
- data/docs/RotatedSecretCreateHashiVault.md +60 -0
- data/docs/RotatedSecretCreateLdap.md +4 -4
- data/docs/RotatedSecretCreateMongodb.md +4 -4
- data/docs/RotatedSecretCreateMssql.md +4 -4
- data/docs/RotatedSecretCreateMysql.md +4 -4
- data/docs/RotatedSecretCreateOpenAI.md +4 -4
- data/docs/RotatedSecretCreateOracledb.md +4 -4
- data/docs/RotatedSecretCreatePostgresql.md +4 -4
- data/docs/RotatedSecretCreateRedis.md +4 -4
- data/docs/RotatedSecretCreateRedshift.md +4 -4
- data/docs/RotatedSecretCreateSnowflake.md +4 -4
- data/docs/RotatedSecretCreateSplunk.md +4 -4
- data/docs/RotatedSecretCreateSsh.md +4 -4
- data/docs/RotatedSecretCreateWindows.md +4 -4
- data/docs/RotatedSecretUpdateAws.md +4 -4
- data/docs/RotatedSecretUpdateAzure.md +6 -4
- data/docs/RotatedSecretUpdateCassandra.md +4 -4
- data/docs/RotatedSecretUpdateCustom.md +4 -4
- data/docs/RotatedSecretUpdateDockerhub.md +4 -4
- data/docs/RotatedSecretUpdateGcp.md +4 -4
- data/docs/RotatedSecretUpdateHanadb.md +4 -4
- data/docs/RotatedSecretUpdateHashiVault.md +64 -0
- data/docs/RotatedSecretUpdateLdap.md +4 -4
- data/docs/RotatedSecretUpdateMongodb.md +4 -4
- data/docs/RotatedSecretUpdateMssql.md +4 -4
- data/docs/RotatedSecretUpdateMysql.md +4 -4
- data/docs/RotatedSecretUpdateOpenAI.md +4 -4
- data/docs/RotatedSecretUpdateOracledb.md +4 -4
- data/docs/RotatedSecretUpdatePostgresql.md +4 -4
- data/docs/RotatedSecretUpdateRedis.md +4 -4
- data/docs/RotatedSecretUpdateRedshift.md +4 -4
- data/docs/RotatedSecretUpdateSnowflake.md +4 -4
- data/docs/RotatedSecretUpdateSplunk.md +4 -4
- data/docs/RotatedSecretUpdateSsh.md +4 -4
- data/docs/RotatedSecretUpdateWindows.md +4 -4
- data/docs/SecretInfo.md +5 -1
- data/docs/UscGetSecretOutput.md +7 -1
- data/docs/V2Api.md +315 -0
- data/lib/akeyless/api/v2_api.rb +320 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/esm_get_secret_output.rb +35 -4
- data/lib/akeyless/models/folder_delete_sync.rb +305 -0
- data/lib/akeyless/models/folder_delete_sync_output.rb +245 -0
- data/lib/akeyless/models/folder_sync.rb +306 -0
- data/lib/akeyless/models/folder_sync_all.rb +266 -0
- data/lib/akeyless/models/folder_sync_all_output.rb +214 -0
- data/lib/akeyless/models/folder_sync_output.rb +247 -0
- data/lib/akeyless/models/folder_usc_sync_config.rb +10 -1
- data/lib/akeyless/models/oidc_access_rules.rb +11 -1
- data/lib/akeyless/models/personal_folder_global_mapping_settings.rb +223 -0
- data/lib/akeyless/models/rotated_secret_create_aws.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_azure.rb +11 -5
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_custom.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_hashi_vault.rb +446 -0
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_redis.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_splunk.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +0 -4
- data/lib/akeyless/models/rotated_secret_create_windows.rb +0 -4
- data/lib/akeyless/models/rotated_secret_sync.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_azure.rb +11 -5
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_custom.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_hashi_vault.rb +463 -0
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_open_ai.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_redis.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_splunk.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +0 -4
- data/lib/akeyless/models/rotated_secret_update_windows.rb +0 -4
- data/lib/akeyless/models/secret_info.rb +24 -4
- data/lib/akeyless/models/static_secret_sync.rb +1 -1
- data/lib/akeyless/models/usc_get_secret_output.rb +35 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +9 -0
- data/spec/models/folder_delete_sync_output_spec.rb +54 -0
- data/spec/models/folder_delete_sync_spec.rb +78 -0
- data/spec/models/folder_sync_all_output_spec.rb +36 -0
- data/spec/models/folder_sync_all_spec.rb +60 -0
- data/spec/models/folder_sync_output_spec.rb +54 -0
- data/spec/models/folder_sync_spec.rb +84 -0
- data/spec/models/personal_folder_global_mapping_settings_spec.rb +42 -0
- data/spec/models/rotated_secret_create_hashi_vault_spec.rb +162 -0
- data/spec/models/rotated_secret_update_hashi_vault_spec.rb +174 -0
- metadata +38 -2
|
@@ -21,7 +21,6 @@ module Akeyless
|
|
|
21
21
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
22
22
|
attr_accessor :authentication_credentials
|
|
23
23
|
|
|
24
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
25
24
|
attr_accessor :auto_rotate
|
|
26
25
|
|
|
27
26
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -42,7 +41,6 @@ module Akeyless
|
|
|
42
41
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
43
42
|
attr_accessor :keep_prev_version
|
|
44
43
|
|
|
45
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
46
44
|
attr_accessor :key
|
|
47
45
|
|
|
48
46
|
# Lock this secret for read/update while an SRA session is active
|
|
@@ -78,10 +76,8 @@ module Akeyless
|
|
|
78
76
|
# How many days before the rotation of the item would you like to be notified
|
|
79
77
|
attr_accessor :rotation_event_in
|
|
80
78
|
|
|
81
|
-
# The Hour of the rotation in UTC
|
|
82
79
|
attr_accessor :rotation_hour
|
|
83
80
|
|
|
84
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
85
81
|
attr_accessor :rotation_interval
|
|
86
82
|
|
|
87
83
|
# The DB name (relevant only for DB Dynamic-Secret)
|
|
@@ -21,7 +21,6 @@ module Akeyless
|
|
|
21
21
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
22
22
|
attr_accessor :authentication_credentials
|
|
23
23
|
|
|
24
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
25
24
|
attr_accessor :auto_rotate
|
|
26
25
|
|
|
27
26
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -42,7 +41,6 @@ module Akeyless
|
|
|
42
41
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
43
42
|
attr_accessor :keep_prev_version
|
|
44
43
|
|
|
45
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
46
44
|
attr_accessor :key
|
|
47
45
|
|
|
48
46
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
@@ -78,10 +76,8 @@ module Akeyless
|
|
|
78
76
|
# How many days before the rotation of the item would you like to be notified
|
|
79
77
|
attr_accessor :rotation_event_in
|
|
80
78
|
|
|
81
|
-
# The Hour of the rotation in UTC
|
|
82
79
|
attr_accessor :rotation_hour
|
|
83
80
|
|
|
84
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
85
81
|
attr_accessor :rotation_interval
|
|
86
82
|
|
|
87
83
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -25,7 +25,6 @@ module Akeyless
|
|
|
25
25
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
26
26
|
attr_accessor :authentication_credentials
|
|
27
27
|
|
|
28
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
29
28
|
attr_accessor :auto_rotate
|
|
30
29
|
|
|
31
30
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -52,7 +51,6 @@ module Akeyless
|
|
|
52
51
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
53
52
|
attr_accessor :keep_prev_version
|
|
54
53
|
|
|
55
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
56
54
|
attr_accessor :key
|
|
57
55
|
|
|
58
56
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
@@ -76,10 +74,8 @@ module Akeyless
|
|
|
76
74
|
# How many days before the rotation of the item would you like to be notified
|
|
77
75
|
attr_accessor :rotation_event_in
|
|
78
76
|
|
|
79
|
-
# The Hour of the rotation in UTC
|
|
80
77
|
attr_accessor :rotation_hour
|
|
81
78
|
|
|
82
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
83
79
|
attr_accessor :rotation_interval
|
|
84
80
|
|
|
85
81
|
# For rotator-type=token, optionally set/replace the stored Splunk authentication token value.
|
|
@@ -21,7 +21,6 @@ module Akeyless
|
|
|
21
21
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
22
22
|
attr_accessor :authentication_credentials
|
|
23
23
|
|
|
24
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
25
24
|
attr_accessor :auto_rotate
|
|
26
25
|
|
|
27
26
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -42,7 +41,6 @@ module Akeyless
|
|
|
42
41
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
43
42
|
attr_accessor :keep_prev_version
|
|
44
43
|
|
|
45
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
46
44
|
attr_accessor :key
|
|
47
45
|
|
|
48
46
|
# Private key file contents encoded using base64
|
|
@@ -84,10 +82,8 @@ module Akeyless
|
|
|
84
82
|
# How many days before the rotation of the item would you like to be notified
|
|
85
83
|
attr_accessor :rotation_event_in
|
|
86
84
|
|
|
87
|
-
# The Hour of the rotation in UTC
|
|
88
85
|
attr_accessor :rotation_hour
|
|
89
86
|
|
|
90
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
91
87
|
attr_accessor :rotation_interval
|
|
92
88
|
|
|
93
89
|
# Custom rotation command
|
|
@@ -21,7 +21,6 @@ module Akeyless
|
|
|
21
21
|
# The credentials to connect with use-user-creds/use-target-creds
|
|
22
22
|
attr_accessor :authentication_credentials
|
|
23
23
|
|
|
24
|
-
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
25
24
|
attr_accessor :auto_rotate
|
|
26
25
|
|
|
27
26
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -42,7 +41,6 @@ module Akeyless
|
|
|
42
41
|
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
43
42
|
attr_accessor :keep_prev_version
|
|
44
43
|
|
|
45
|
-
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
46
44
|
attr_accessor :key
|
|
47
45
|
|
|
48
46
|
# Lock this secret for read/update while an SRA session is active
|
|
@@ -78,10 +76,8 @@ module Akeyless
|
|
|
78
76
|
# How many days before the rotation of the item would you like to be notified
|
|
79
77
|
attr_accessor :rotation_event_in
|
|
80
78
|
|
|
81
|
-
# The Hour of the rotation in UTC
|
|
82
79
|
attr_accessor :rotation_hour
|
|
83
80
|
|
|
84
|
-
# The number of days to wait between every automatic key rotation (1-365)
|
|
85
81
|
attr_accessor :rotation_interval
|
|
86
82
|
|
|
87
83
|
# The rotator type. options: [target/password]
|
|
@@ -49,6 +49,10 @@ module Akeyless
|
|
|
49
49
|
|
|
50
50
|
attr_accessor :version
|
|
51
51
|
|
|
52
|
+
attr_accessor :version_id
|
|
53
|
+
|
|
54
|
+
attr_accessor :version_ids
|
|
55
|
+
|
|
52
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
57
|
def self.attribute_map
|
|
54
58
|
{
|
|
@@ -68,7 +72,9 @@ module Akeyless
|
|
|
68
72
|
:'tags' => :'tags',
|
|
69
73
|
:'thumbprint' => :'thumbprint',
|
|
70
74
|
:'type' => :'type',
|
|
71
|
-
:'version' => :'version'
|
|
75
|
+
:'version' => :'version',
|
|
76
|
+
:'version_id' => :'version_id',
|
|
77
|
+
:'version_ids' => :'version_ids'
|
|
72
78
|
}
|
|
73
79
|
end
|
|
74
80
|
|
|
@@ -96,7 +102,9 @@ module Akeyless
|
|
|
96
102
|
:'tags' => :'Hash<String, String>',
|
|
97
103
|
:'thumbprint' => :'String',
|
|
98
104
|
:'type' => :'String',
|
|
99
|
-
:'version' => :'Integer'
|
|
105
|
+
:'version' => :'Integer',
|
|
106
|
+
:'version_id' => :'String',
|
|
107
|
+
:'version_ids' => :'Array<String>'
|
|
100
108
|
}
|
|
101
109
|
end
|
|
102
110
|
|
|
@@ -191,6 +199,16 @@ module Akeyless
|
|
|
191
199
|
if attributes.key?(:'version')
|
|
192
200
|
self.version = attributes[:'version']
|
|
193
201
|
end
|
|
202
|
+
|
|
203
|
+
if attributes.key?(:'version_id')
|
|
204
|
+
self.version_id = attributes[:'version_id']
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
if attributes.key?(:'version_ids')
|
|
208
|
+
if (value = attributes[:'version_ids']).is_a?(Array)
|
|
209
|
+
self.version_ids = value
|
|
210
|
+
end
|
|
211
|
+
end
|
|
194
212
|
end
|
|
195
213
|
|
|
196
214
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -229,7 +247,9 @@ module Akeyless
|
|
|
229
247
|
tags == o.tags &&
|
|
230
248
|
thumbprint == o.thumbprint &&
|
|
231
249
|
type == o.type &&
|
|
232
|
-
version == o.version
|
|
250
|
+
version == o.version &&
|
|
251
|
+
version_id == o.version_id &&
|
|
252
|
+
version_ids == o.version_ids
|
|
233
253
|
end
|
|
234
254
|
|
|
235
255
|
# @see the `==` method
|
|
@@ -241,7 +261,7 @@ module Akeyless
|
|
|
241
261
|
# Calculates hash code according to all attributes.
|
|
242
262
|
# @return [Integer] Hash code
|
|
243
263
|
def hash
|
|
244
|
-
[activation_date, created, description, expiration, github, key_id, last_retrieved, location, name, namespace, region, secret_id, status, tags, thumbprint, type, version].hash
|
|
264
|
+
[activation_date, created, description, expiration, github, key_id, last_retrieved, location, name, namespace, region, secret_id, status, tags, thumbprint, type, version, version_id, version_ids].hash
|
|
245
265
|
end
|
|
246
266
|
|
|
247
267
|
# Builds the object from hash
|
|
@@ -45,7 +45,7 @@ module Akeyless
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
-
:'delete_remote' => :'
|
|
48
|
+
:'delete_remote' => :'delete-remote',
|
|
49
49
|
:'filter_secret_value' => :'filter-secret-value',
|
|
50
50
|
:'json' => :'json',
|
|
51
51
|
:'name' => :'name',
|
|
@@ -27,6 +27,12 @@ module Akeyless
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :value
|
|
29
29
|
|
|
30
|
+
attr_accessor :version_id
|
|
31
|
+
|
|
32
|
+
attr_accessor :version_ids
|
|
33
|
+
|
|
34
|
+
attr_accessor :warnings
|
|
35
|
+
|
|
30
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
37
|
def self.attribute_map
|
|
32
38
|
{
|
|
@@ -35,7 +41,10 @@ module Akeyless
|
|
|
35
41
|
:'id' => :'id',
|
|
36
42
|
:'metadata' => :'metadata',
|
|
37
43
|
:'name' => :'name',
|
|
38
|
-
:'value' => :'value'
|
|
44
|
+
:'value' => :'value',
|
|
45
|
+
:'version_id' => :'version_id',
|
|
46
|
+
:'version_ids' => :'version_ids',
|
|
47
|
+
:'warnings' => :'warnings'
|
|
39
48
|
}
|
|
40
49
|
end
|
|
41
50
|
|
|
@@ -52,7 +61,10 @@ module Akeyless
|
|
|
52
61
|
:'id' => :'String',
|
|
53
62
|
:'metadata' => :'Object',
|
|
54
63
|
:'name' => :'String',
|
|
55
|
-
:'value' => :'String'
|
|
64
|
+
:'value' => :'String',
|
|
65
|
+
:'version_id' => :'String',
|
|
66
|
+
:'version_ids' => :'Array<String>',
|
|
67
|
+
:'warnings' => :'Array<String>'
|
|
56
68
|
}
|
|
57
69
|
end
|
|
58
70
|
|
|
@@ -101,6 +113,22 @@ module Akeyless
|
|
|
101
113
|
if attributes.key?(:'value')
|
|
102
114
|
self.value = attributes[:'value']
|
|
103
115
|
end
|
|
116
|
+
|
|
117
|
+
if attributes.key?(:'version_id')
|
|
118
|
+
self.version_id = attributes[:'version_id']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'version_ids')
|
|
122
|
+
if (value = attributes[:'version_ids']).is_a?(Array)
|
|
123
|
+
self.version_ids = value
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if attributes.key?(:'warnings')
|
|
128
|
+
if (value = attributes[:'warnings']).is_a?(Array)
|
|
129
|
+
self.warnings = value
|
|
130
|
+
end
|
|
131
|
+
end
|
|
104
132
|
end
|
|
105
133
|
|
|
106
134
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -128,7 +156,10 @@ module Akeyless
|
|
|
128
156
|
id == o.id &&
|
|
129
157
|
metadata == o.metadata &&
|
|
130
158
|
name == o.name &&
|
|
131
|
-
value == o.value
|
|
159
|
+
value == o.value &&
|
|
160
|
+
version_id == o.version_id &&
|
|
161
|
+
version_ids == o.version_ids &&
|
|
162
|
+
warnings == o.warnings
|
|
132
163
|
end
|
|
133
164
|
|
|
134
165
|
# @see the `==` method
|
|
@@ -140,7 +171,7 @@ module Akeyless
|
|
|
140
171
|
# Calculates hash code according to all attributes.
|
|
141
172
|
# @return [Integer] Hash code
|
|
142
173
|
def hash
|
|
143
|
-
[binary_value, encryption_key, id, metadata, name, value].hash
|
|
174
|
+
[binary_value, encryption_key, id, metadata, name, value, version_id, version_ids, warnings].hash
|
|
144
175
|
end
|
|
145
176
|
|
|
146
177
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -434,8 +434,14 @@ require 'akeyless/models/external_kms_key_id'
|
|
|
434
434
|
require 'akeyless/models/folder_create'
|
|
435
435
|
require 'akeyless/models/folder_create_output'
|
|
436
436
|
require 'akeyless/models/folder_delete'
|
|
437
|
+
require 'akeyless/models/folder_delete_sync'
|
|
438
|
+
require 'akeyless/models/folder_delete_sync_output'
|
|
437
439
|
require 'akeyless/models/folder_get'
|
|
438
440
|
require 'akeyless/models/folder_get_output'
|
|
441
|
+
require 'akeyless/models/folder_sync'
|
|
442
|
+
require 'akeyless/models/folder_sync_all'
|
|
443
|
+
require 'akeyless/models/folder_sync_all_output'
|
|
444
|
+
require 'akeyless/models/folder_sync_output'
|
|
439
445
|
require 'akeyless/models/folder_usc_sync_config'
|
|
440
446
|
require 'akeyless/models/folder_update'
|
|
441
447
|
require 'akeyless/models/gcp_access_rules'
|
|
@@ -827,6 +833,7 @@ require 'akeyless/models/password_score_info'
|
|
|
827
833
|
require 'akeyless/models/password_score_setting'
|
|
828
834
|
require 'akeyless/models/password_security_info'
|
|
829
835
|
require 'akeyless/models/path_rule'
|
|
836
|
+
require 'akeyless/models/personal_folder_global_mapping_settings'
|
|
830
837
|
require 'akeyless/models/ping_target_details'
|
|
831
838
|
require 'akeyless/models/policies_create_output'
|
|
832
839
|
require 'akeyless/models/policies_delete'
|
|
@@ -876,6 +883,7 @@ require 'akeyless/models/rotated_secret_create_custom'
|
|
|
876
883
|
require 'akeyless/models/rotated_secret_create_dockerhub'
|
|
877
884
|
require 'akeyless/models/rotated_secret_create_gcp'
|
|
878
885
|
require 'akeyless/models/rotated_secret_create_hanadb'
|
|
886
|
+
require 'akeyless/models/rotated_secret_create_hashi_vault'
|
|
879
887
|
require 'akeyless/models/rotated_secret_create_ldap'
|
|
880
888
|
require 'akeyless/models/rotated_secret_create_mongodb'
|
|
881
889
|
require 'akeyless/models/rotated_secret_create_mssql'
|
|
@@ -905,6 +913,7 @@ require 'akeyless/models/rotated_secret_update_custom'
|
|
|
905
913
|
require 'akeyless/models/rotated_secret_update_dockerhub'
|
|
906
914
|
require 'akeyless/models/rotated_secret_update_gcp'
|
|
907
915
|
require 'akeyless/models/rotated_secret_update_hanadb'
|
|
916
|
+
require 'akeyless/models/rotated_secret_update_hashi_vault'
|
|
908
917
|
require 'akeyless/models/rotated_secret_update_ldap'
|
|
909
918
|
require 'akeyless/models/rotated_secret_update_mongodb'
|
|
910
919
|
require 'akeyless/models/rotated_secret_update_mssql'
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderDeleteSyncOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderDeleteSyncOutput do
|
|
21
|
+
let(:instance) { Akeyless::FolderDeleteSyncOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderDeleteSyncOutput' do
|
|
24
|
+
it 'should create an instance of FolderDeleteSyncOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderDeleteSyncOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "deleted_syncs"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "failed_items"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "folder_name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "usc_name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderDeleteSync
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderDeleteSync do
|
|
21
|
+
let(:instance) { Akeyless::FolderDeleteSync.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderDeleteSync' do
|
|
24
|
+
it 'should create an instance of FolderDeleteSync' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderDeleteSync)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "accessibility"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "delete_from_usc"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "json"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "remote_secret_name"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "token"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "uid_token"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "usc_name"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderSyncAllOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderSyncAllOutput do
|
|
21
|
+
let(:instance) { Akeyless::FolderSyncAllOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderSyncAllOutput' do
|
|
24
|
+
it 'should create an instance of FolderSyncAllOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderSyncAllOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "folder_name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderSyncAll
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderSyncAll do
|
|
21
|
+
let(:instance) { Akeyless::FolderSyncAll.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderSyncAll' do
|
|
24
|
+
it 'should create an instance of FolderSyncAll' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderSyncAll)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "accessibility"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "json"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "token"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "uid_token"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderSyncOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderSyncOutput do
|
|
21
|
+
let(:instance) { Akeyless::FolderSyncOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderSyncOutput' do
|
|
24
|
+
it 'should create an instance of FolderSyncOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderSyncOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "failed_items"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "folder_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "skipped_items"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "synced_items"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|