akeyless 5.0.39 → 5.0.40
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/LICENSE +190 -0
- data/README.md +15 -1
- data/akeyless.gemspec +1 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/AliCloudTargetDetails.md +28 -0
- data/docs/AssocTargetItem.md +12 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +8 -0
- data/docs/AuthMethodCreateOutput.md +3 -1
- data/docs/AuthMethodCreateSAML.md +8 -0
- data/docs/AuthMethodUpdateOIDC.md +8 -0
- data/docs/AuthMethodUpdateOutput.md +3 -1
- data/docs/AuthMethodUpdateSAML.md +8 -0
- data/docs/CreateUSC.md +2 -0
- data/docs/DynamicSecretCreateEks.md +3 -1
- data/docs/DynamicSecretCreateGke.md +3 -1
- data/docs/DynamicSecretCreateK8s.md +3 -1
- data/docs/DynamicSecretUpdateEks.md +3 -1
- data/docs/DynamicSecretUpdateGke.md +3 -1
- data/docs/DynamicSecretUpdateK8s.md +3 -1
- data/docs/EventForwarderCreateEmail.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +1 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerEks.md +3 -1
- data/docs/GatewayCreateProducerGke.md +3 -1
- data/docs/GatewayCreateProducerNativeK8S.md +3 -1
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerEks.md +3 -1
- data/docs/GatewayUpdateProducerGke.md +3 -1
- data/docs/GatewayUpdateProducerNativeK8S.md +3 -1
- data/docs/GetGroupOutput.md +13 -1
- data/docs/GetScimStatus.md +24 -0
- data/docs/GrantedRole.md +20 -0
- data/docs/Group.md +13 -1
- data/docs/ListTargets.md +1 -1
- data/docs/RotatedSecretCreateAliCloud.md +90 -0
- data/docs/RotatedSecretCreateAzure.md +1 -1
- data/docs/RotatedSecretUpdateAliCloud.md +92 -0
- data/docs/RotatedSecretUpdateAzure.md +1 -1
- data/docs/ScimSettings.md +30 -0
- data/docs/ScimStatus.md +42 -0
- data/docs/TargetCreateAliCloud.md +52 -0
- data/docs/TargetList.md +1 -1
- data/docs/TargetTypeDetailsInput.md +2 -0
- data/docs/TargetUpdateAliCloud.md +56 -0
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UscCreate.md +3 -1
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscList.md +4 -0
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +322 -6
- data/lib/akeyless/api/v2_api.rb +325 -5
- data/lib/akeyless/models/account_general_settings.rb +13 -1
- data/lib/akeyless/models/ali_cloud_target_details.rb +259 -0
- data/lib/akeyless/models/assoc_target_item.rb +63 -1
- data/lib/akeyless/models/attribute_type_and_value.rb +1 -1
- data/lib/akeyless/models/auth_method_access_info.rb +10 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +41 -1
- data/lib/akeyless/models/auth_method_create_output.rb +14 -4
- data/lib/akeyless/models/auth_method_create_saml.rb +41 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +41 -1
- data/lib/akeyless/models/auth_method_update_output.rb +14 -4
- data/lib/akeyless/models/auth_method_update_saml.rb +41 -1
- data/lib/akeyless/models/create_mcp_secret_bearer_token.rb +3 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_auth_code.rb +3 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_client_creds.rb +3 -0
- data/lib/akeyless/models/create_secret.rb +3 -0
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_eks.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_create_gke.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +12 -2
- data/lib/akeyless/models/event_forwarder_create_email.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +1 -1
- data/lib/akeyless/models/gateway_create_migration.rb +12 -1
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_aws.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_azure.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_chef.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_custom.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_eks.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_github.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_gke.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_ping.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_redis.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_venafi.rb +4 -0
- data/lib/akeyless/models/gateway_delete_producer.rb +4 -0
- data/lib/akeyless/models/gateway_get_producer.rb +4 -0
- data/lib/akeyless/models/gateway_get_tmp_users.rb +4 -0
- data/lib/akeyless/models/gateway_revoke_tmp_users.rb +4 -0
- data/lib/akeyless/models/gateway_start_producer.rb +4 -0
- data/lib/akeyless/models/gateway_stop_producer.rb +4 -0
- data/lib/akeyless/models/gateway_update_migration.rb +12 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_aws.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_azure.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_chef.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_custom.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_eks.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_github.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_gke.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_ping.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_redis.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_venafi.rb +4 -0
- data/lib/akeyless/models/gateway_update_tmp_users.rb +4 -0
- data/lib/akeyless/models/get_group_output.rb +63 -4
- data/lib/akeyless/models/get_scim_status.rb +254 -0
- data/lib/akeyless/models/granted_role.rb +224 -0
- data/lib/akeyless/models/group.rb +63 -4
- data/lib/akeyless/models/list_targets.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_ali_cloud.rb +605 -0
- data/lib/akeyless/models/rotated_secret_create_azure.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_ali_cloud.rb +605 -0
- data/lib/akeyless/models/rotated_secret_update_azure.rb +1 -1
- data/lib/akeyless/models/scim_settings.rb +271 -0
- data/lib/akeyless/models/scim_status.rb +323 -0
- data/lib/akeyless/models/target_create_ali_cloud.rb +394 -0
- data/lib/akeyless/models/target_list.rb +1 -1
- data/lib/akeyless/models/target_type_details_input.rb +10 -1
- data/lib/akeyless/models/target_update_ali_cloud.rb +414 -0
- data/lib/akeyless/models/update_item.rb +23 -2
- data/lib/akeyless/models/update_mcp_secret_bearer_token.rb +3 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_auth_code.rb +3 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_client_creds.rb +3 -0
- data/lib/akeyless/models/update_rotated_secret.rb +20 -2
- data/lib/akeyless/models/usc_create.rb +12 -2
- data/lib/akeyless/models/usc_delete.rb +21 -1
- data/lib/akeyless/models/usc_get.rb +21 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_update.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +9 -0
- data/spec/models/ali_cloud_target_details_spec.rb +66 -0
- data/spec/models/get_scim_status_spec.rb +54 -0
- data/spec/models/granted_role_spec.rb +42 -0
- data/spec/models/rotated_secret_create_ali_cloud_spec.rb +252 -0
- data/spec/models/rotated_secret_update_ali_cloud_spec.rb +258 -0
- data/spec/models/scim_settings_spec.rb +72 -0
- data/spec/models/scim_status_spec.rb +108 -0
- data/spec/models/target_create_ali_cloud_spec.rb +138 -0
- data/spec/models/target_update_ali_cloud_spec.rb +150 -0
- metadata +54 -17
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscDelete is a command that deletes a secret from a Universal Secrets Connector
|
|
18
18
|
class UscDelete
|
|
19
|
+
# The AWS account ID that contains the secret. Required when the connector spans multiple account IDs.
|
|
20
|
+
attr_accessor :aws_account_id
|
|
21
|
+
|
|
19
22
|
# Force delete objects that are soft deleted by default (relavent only for Azure target)
|
|
20
23
|
attr_accessor :force_delete
|
|
21
24
|
|
|
@@ -27,6 +30,9 @@ module Akeyless
|
|
|
27
30
|
|
|
28
31
|
attr_accessor :object_type
|
|
29
32
|
|
|
33
|
+
# The AWS region that contains the secret (AWS only). If empty, uses the target region.
|
|
34
|
+
attr_accessor :region
|
|
35
|
+
|
|
30
36
|
# The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to delete
|
|
31
37
|
attr_accessor :secret_id
|
|
32
38
|
|
|
@@ -45,10 +51,12 @@ module Akeyless
|
|
|
45
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
52
|
def self.attribute_map
|
|
47
53
|
{
|
|
54
|
+
:'aws_account_id' => :'aws-account-id',
|
|
48
55
|
:'force_delete' => :'force-delete',
|
|
49
56
|
:'json' => :'json',
|
|
50
57
|
:'namespace' => :'namespace',
|
|
51
58
|
:'object_type' => :'object-type',
|
|
59
|
+
:'region' => :'region',
|
|
52
60
|
:'secret_id' => :'secret-id',
|
|
53
61
|
:'selected_repositories' => :'selected-repositories',
|
|
54
62
|
:'token' => :'token',
|
|
@@ -65,10 +73,12 @@ module Akeyless
|
|
|
65
73
|
# Attribute type mapping.
|
|
66
74
|
def self.openapi_types
|
|
67
75
|
{
|
|
76
|
+
:'aws_account_id' => :'String',
|
|
68
77
|
:'force_delete' => :'Boolean',
|
|
69
78
|
:'json' => :'Boolean',
|
|
70
79
|
:'namespace' => :'String',
|
|
71
80
|
:'object_type' => :'String',
|
|
81
|
+
:'region' => :'String',
|
|
72
82
|
:'secret_id' => :'String',
|
|
73
83
|
:'selected_repositories' => :'String',
|
|
74
84
|
:'token' => :'String',
|
|
@@ -98,6 +108,10 @@ module Akeyless
|
|
|
98
108
|
h[k.to_sym] = v
|
|
99
109
|
}
|
|
100
110
|
|
|
111
|
+
if attributes.key?(:'aws_account_id')
|
|
112
|
+
self.aws_account_id = attributes[:'aws_account_id']
|
|
113
|
+
end
|
|
114
|
+
|
|
101
115
|
if attributes.key?(:'force_delete')
|
|
102
116
|
self.force_delete = attributes[:'force_delete']
|
|
103
117
|
end
|
|
@@ -116,6 +130,10 @@ module Akeyless
|
|
|
116
130
|
self.object_type = attributes[:'object_type']
|
|
117
131
|
end
|
|
118
132
|
|
|
133
|
+
if attributes.key?(:'region')
|
|
134
|
+
self.region = attributes[:'region']
|
|
135
|
+
end
|
|
136
|
+
|
|
119
137
|
if attributes.key?(:'secret_id')
|
|
120
138
|
self.secret_id = attributes[:'secret_id']
|
|
121
139
|
else
|
|
@@ -171,10 +189,12 @@ module Akeyless
|
|
|
171
189
|
def ==(o)
|
|
172
190
|
return true if self.equal?(o)
|
|
173
191
|
self.class == o.class &&
|
|
192
|
+
aws_account_id == o.aws_account_id &&
|
|
174
193
|
force_delete == o.force_delete &&
|
|
175
194
|
json == o.json &&
|
|
176
195
|
namespace == o.namespace &&
|
|
177
196
|
object_type == o.object_type &&
|
|
197
|
+
region == o.region &&
|
|
178
198
|
secret_id == o.secret_id &&
|
|
179
199
|
selected_repositories == o.selected_repositories &&
|
|
180
200
|
token == o.token &&
|
|
@@ -191,7 +211,7 @@ module Akeyless
|
|
|
191
211
|
# Calculates hash code according to all attributes.
|
|
192
212
|
# @return [Integer] Hash code
|
|
193
213
|
def hash
|
|
194
|
-
[force_delete, json, namespace, object_type, secret_id, selected_repositories, token, uid_token, usc_name].hash
|
|
214
|
+
[aws_account_id, force_delete, json, namespace, object_type, region, secret_id, selected_repositories, token, uid_token, usc_name].hash
|
|
195
215
|
end
|
|
196
216
|
|
|
197
217
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscGet is a command that gets the value and internal details of a secret from a Universal Secrets Connector
|
|
18
18
|
class UscGet
|
|
19
|
+
# The AWS account ID that contains the secret. Required when the connector spans multiple account IDs.
|
|
20
|
+
attr_accessor :aws_account_id
|
|
21
|
+
|
|
19
22
|
# The GCP project the secret resides in (GCP only). Used when getting a secret by name in a connector that spans multiple projects or uses folder/organization scope.
|
|
20
23
|
attr_accessor :gcp_project_id
|
|
21
24
|
|
|
@@ -27,6 +30,9 @@ module Akeyless
|
|
|
27
30
|
|
|
28
31
|
attr_accessor :object_type
|
|
29
32
|
|
|
33
|
+
# The AWS region that contains the secret (AWS only). If empty, uses the target region.
|
|
34
|
+
attr_accessor :region
|
|
35
|
+
|
|
30
36
|
# The secret id (or name, for AWS, Azure, K8s or Hashi vault targets) to get from the Universal Secrets Connector
|
|
31
37
|
attr_accessor :secret_id
|
|
32
38
|
|
|
@@ -48,10 +54,12 @@ module Akeyless
|
|
|
48
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
55
|
def self.attribute_map
|
|
50
56
|
{
|
|
57
|
+
:'aws_account_id' => :'aws-account-id',
|
|
51
58
|
:'gcp_project_id' => :'gcp-project-id',
|
|
52
59
|
:'json' => :'json',
|
|
53
60
|
:'namespace' => :'namespace',
|
|
54
61
|
:'object_type' => :'object-type',
|
|
62
|
+
:'region' => :'region',
|
|
55
63
|
:'secret_id' => :'secret-id',
|
|
56
64
|
:'selected_repositories' => :'selected-repositories',
|
|
57
65
|
:'token' => :'token',
|
|
@@ -69,10 +77,12 @@ module Akeyless
|
|
|
69
77
|
# Attribute type mapping.
|
|
70
78
|
def self.openapi_types
|
|
71
79
|
{
|
|
80
|
+
:'aws_account_id' => :'String',
|
|
72
81
|
:'gcp_project_id' => :'String',
|
|
73
82
|
:'json' => :'Boolean',
|
|
74
83
|
:'namespace' => :'String',
|
|
75
84
|
:'object_type' => :'String',
|
|
85
|
+
:'region' => :'String',
|
|
76
86
|
:'secret_id' => :'String',
|
|
77
87
|
:'selected_repositories' => :'String',
|
|
78
88
|
:'token' => :'String',
|
|
@@ -103,6 +113,10 @@ module Akeyless
|
|
|
103
113
|
h[k.to_sym] = v
|
|
104
114
|
}
|
|
105
115
|
|
|
116
|
+
if attributes.key?(:'aws_account_id')
|
|
117
|
+
self.aws_account_id = attributes[:'aws_account_id']
|
|
118
|
+
end
|
|
119
|
+
|
|
106
120
|
if attributes.key?(:'gcp_project_id')
|
|
107
121
|
self.gcp_project_id = attributes[:'gcp_project_id']
|
|
108
122
|
end
|
|
@@ -121,6 +135,10 @@ module Akeyless
|
|
|
121
135
|
self.object_type = attributes[:'object_type']
|
|
122
136
|
end
|
|
123
137
|
|
|
138
|
+
if attributes.key?(:'region')
|
|
139
|
+
self.region = attributes[:'region']
|
|
140
|
+
end
|
|
141
|
+
|
|
124
142
|
if attributes.key?(:'secret_id')
|
|
125
143
|
self.secret_id = attributes[:'secret_id']
|
|
126
144
|
else
|
|
@@ -180,10 +198,12 @@ module Akeyless
|
|
|
180
198
|
def ==(o)
|
|
181
199
|
return true if self.equal?(o)
|
|
182
200
|
self.class == o.class &&
|
|
201
|
+
aws_account_id == o.aws_account_id &&
|
|
183
202
|
gcp_project_id == o.gcp_project_id &&
|
|
184
203
|
json == o.json &&
|
|
185
204
|
namespace == o.namespace &&
|
|
186
205
|
object_type == o.object_type &&
|
|
206
|
+
region == o.region &&
|
|
187
207
|
secret_id == o.secret_id &&
|
|
188
208
|
selected_repositories == o.selected_repositories &&
|
|
189
209
|
token == o.token &&
|
|
@@ -201,7 +221,7 @@ module Akeyless
|
|
|
201
221
|
# Calculates hash code according to all attributes.
|
|
202
222
|
# @return [Integer] Hash code
|
|
203
223
|
def hash
|
|
204
|
-
[gcp_project_id, json, namespace, object_type, secret_id, selected_repositories, token, uid_token, usc_name, version_id].hash
|
|
224
|
+
[aws_account_id, gcp_project_id, json, namespace, object_type, region, secret_id, selected_repositories, token, uid_token, usc_name, version_id].hash
|
|
205
225
|
end
|
|
206
226
|
|
|
207
227
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscList is a command that lists the secrets of a Universal Secrets Connector
|
|
18
18
|
class UscList
|
|
19
|
+
# The AWS account ID to list secrets from. Required when the connector spans multiple account IDs.
|
|
20
|
+
attr_accessor :aws_account_id
|
|
21
|
+
|
|
19
22
|
# The GCP project to list secrets from (GCP only). Required when the connector spans multiple projects or uses folder/organization scope.
|
|
20
23
|
attr_accessor :gcp_project_id
|
|
21
24
|
|
|
@@ -30,6 +33,9 @@ module Akeyless
|
|
|
30
33
|
# Optional: continuation token returned by a previous usc list --page-size call
|
|
31
34
|
attr_accessor :page_token
|
|
32
35
|
|
|
36
|
+
# The AWS region to list secrets from (AWS only). If empty, the target's region is used.
|
|
37
|
+
attr_accessor :region
|
|
38
|
+
|
|
33
39
|
# Search query used to match secret names and paths.
|
|
34
40
|
attr_accessor :search
|
|
35
41
|
|
|
@@ -45,11 +51,13 @@ module Akeyless
|
|
|
45
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
52
|
def self.attribute_map
|
|
47
53
|
{
|
|
54
|
+
:'aws_account_id' => :'aws-account-id',
|
|
48
55
|
:'gcp_project_id' => :'gcp-project-id',
|
|
49
56
|
:'json' => :'json',
|
|
50
57
|
:'object_type' => :'object-type',
|
|
51
58
|
:'page_size' => :'page-size',
|
|
52
59
|
:'page_token' => :'page-token',
|
|
60
|
+
:'region' => :'region',
|
|
53
61
|
:'search' => :'search',
|
|
54
62
|
:'token' => :'token',
|
|
55
63
|
:'uid_token' => :'uid-token',
|
|
@@ -65,11 +73,13 @@ module Akeyless
|
|
|
65
73
|
# Attribute type mapping.
|
|
66
74
|
def self.openapi_types
|
|
67
75
|
{
|
|
76
|
+
:'aws_account_id' => :'String',
|
|
68
77
|
:'gcp_project_id' => :'String',
|
|
69
78
|
:'json' => :'Boolean',
|
|
70
79
|
:'object_type' => :'String',
|
|
71
80
|
:'page_size' => :'Integer',
|
|
72
81
|
:'page_token' => :'String',
|
|
82
|
+
:'region' => :'String',
|
|
73
83
|
:'search' => :'String',
|
|
74
84
|
:'token' => :'String',
|
|
75
85
|
:'uid_token' => :'String',
|
|
@@ -98,6 +108,10 @@ module Akeyless
|
|
|
98
108
|
h[k.to_sym] = v
|
|
99
109
|
}
|
|
100
110
|
|
|
111
|
+
if attributes.key?(:'aws_account_id')
|
|
112
|
+
self.aws_account_id = attributes[:'aws_account_id']
|
|
113
|
+
end
|
|
114
|
+
|
|
101
115
|
if attributes.key?(:'gcp_project_id')
|
|
102
116
|
self.gcp_project_id = attributes[:'gcp_project_id']
|
|
103
117
|
end
|
|
@@ -120,6 +134,10 @@ module Akeyless
|
|
|
120
134
|
self.page_token = attributes[:'page_token']
|
|
121
135
|
end
|
|
122
136
|
|
|
137
|
+
if attributes.key?(:'region')
|
|
138
|
+
self.region = attributes[:'region']
|
|
139
|
+
end
|
|
140
|
+
|
|
123
141
|
if attributes.key?(:'search')
|
|
124
142
|
self.search = attributes[:'search']
|
|
125
143
|
end
|
|
@@ -164,11 +182,13 @@ module Akeyless
|
|
|
164
182
|
def ==(o)
|
|
165
183
|
return true if self.equal?(o)
|
|
166
184
|
self.class == o.class &&
|
|
185
|
+
aws_account_id == o.aws_account_id &&
|
|
167
186
|
gcp_project_id == o.gcp_project_id &&
|
|
168
187
|
json == o.json &&
|
|
169
188
|
object_type == o.object_type &&
|
|
170
189
|
page_size == o.page_size &&
|
|
171
190
|
page_token == o.page_token &&
|
|
191
|
+
region == o.region &&
|
|
172
192
|
search == o.search &&
|
|
173
193
|
token == o.token &&
|
|
174
194
|
uid_token == o.uid_token &&
|
|
@@ -184,7 +204,7 @@ module Akeyless
|
|
|
184
204
|
# Calculates hash code according to all attributes.
|
|
185
205
|
# @return [Integer] Hash code
|
|
186
206
|
def hash
|
|
187
|
-
[gcp_project_id, json, object_type, page_size, page_token, search, token, uid_token, usc_name].hash
|
|
207
|
+
[aws_account_id, gcp_project_id, json, object_type, page_size, page_token, region, search, token, uid_token, usc_name].hash
|
|
188
208
|
end
|
|
189
209
|
|
|
190
210
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscUpdate is a command that updates a secret in a Universal Secrets Connector
|
|
18
18
|
class UscUpdate
|
|
19
|
+
# The AWS account ID that contains the secret. Required when the connector spans multiple account IDs.
|
|
20
|
+
attr_accessor :aws_account_id
|
|
21
|
+
|
|
19
22
|
# Use this option if the universal secrets value is a base64 encoded binary
|
|
20
23
|
attr_accessor :binary_value
|
|
21
24
|
|
|
@@ -33,6 +36,9 @@ module Akeyless
|
|
|
33
36
|
# Optional, the passphrase that protects the private key within the pfx certificate (Relevant only for Azure KV certificates)
|
|
34
37
|
attr_accessor :pfx_password
|
|
35
38
|
|
|
39
|
+
# The AWS region that contains the secret (AWS only). If empty, uses the target region.
|
|
40
|
+
attr_accessor :region
|
|
41
|
+
|
|
36
42
|
# Activation date for the secret on the remote endpoint, in UTC format: YYYY-MM-DDTHH:MM:SSZ
|
|
37
43
|
attr_accessor :remote_secret_activation_date
|
|
38
44
|
|
|
@@ -66,12 +72,14 @@ module Akeyless
|
|
|
66
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
67
73
|
def self.attribute_map
|
|
68
74
|
{
|
|
75
|
+
:'aws_account_id' => :'aws-account-id',
|
|
69
76
|
:'binary_value' => :'binary-value',
|
|
70
77
|
:'description' => :'description',
|
|
71
78
|
:'json' => :'json',
|
|
72
79
|
:'namespace' => :'namespace',
|
|
73
80
|
:'object_type' => :'object-type',
|
|
74
81
|
:'pfx_password' => :'pfx-password',
|
|
82
|
+
:'region' => :'region',
|
|
75
83
|
:'remote_secret_activation_date' => :'remote-secret-activation-date',
|
|
76
84
|
:'remote_secret_expires' => :'remote-secret-expires',
|
|
77
85
|
:'secret_id' => :'secret-id',
|
|
@@ -93,12 +101,14 @@ module Akeyless
|
|
|
93
101
|
# Attribute type mapping.
|
|
94
102
|
def self.openapi_types
|
|
95
103
|
{
|
|
104
|
+
:'aws_account_id' => :'String',
|
|
96
105
|
:'binary_value' => :'Boolean',
|
|
97
106
|
:'description' => :'String',
|
|
98
107
|
:'json' => :'Boolean',
|
|
99
108
|
:'namespace' => :'String',
|
|
100
109
|
:'object_type' => :'String',
|
|
101
110
|
:'pfx_password' => :'String',
|
|
111
|
+
:'region' => :'String',
|
|
102
112
|
:'remote_secret_activation_date' => :'String',
|
|
103
113
|
:'remote_secret_expires' => :'String',
|
|
104
114
|
:'secret_id' => :'String',
|
|
@@ -133,6 +143,10 @@ module Akeyless
|
|
|
133
143
|
h[k.to_sym] = v
|
|
134
144
|
}
|
|
135
145
|
|
|
146
|
+
if attributes.key?(:'aws_account_id')
|
|
147
|
+
self.aws_account_id = attributes[:'aws_account_id']
|
|
148
|
+
end
|
|
149
|
+
|
|
136
150
|
if attributes.key?(:'binary_value')
|
|
137
151
|
self.binary_value = attributes[:'binary_value']
|
|
138
152
|
end
|
|
@@ -159,6 +173,10 @@ module Akeyless
|
|
|
159
173
|
self.pfx_password = attributes[:'pfx_password']
|
|
160
174
|
end
|
|
161
175
|
|
|
176
|
+
if attributes.key?(:'region')
|
|
177
|
+
self.region = attributes[:'region']
|
|
178
|
+
end
|
|
179
|
+
|
|
162
180
|
if attributes.key?(:'remote_secret_activation_date')
|
|
163
181
|
self.remote_secret_activation_date = attributes[:'remote_secret_activation_date']
|
|
164
182
|
end
|
|
@@ -243,12 +261,14 @@ module Akeyless
|
|
|
243
261
|
def ==(o)
|
|
244
262
|
return true if self.equal?(o)
|
|
245
263
|
self.class == o.class &&
|
|
264
|
+
aws_account_id == o.aws_account_id &&
|
|
246
265
|
binary_value == o.binary_value &&
|
|
247
266
|
description == o.description &&
|
|
248
267
|
json == o.json &&
|
|
249
268
|
namespace == o.namespace &&
|
|
250
269
|
object_type == o.object_type &&
|
|
251
270
|
pfx_password == o.pfx_password &&
|
|
271
|
+
region == o.region &&
|
|
252
272
|
remote_secret_activation_date == o.remote_secret_activation_date &&
|
|
253
273
|
remote_secret_expires == o.remote_secret_expires &&
|
|
254
274
|
secret_id == o.secret_id &&
|
|
@@ -270,7 +290,7 @@ module Akeyless
|
|
|
270
290
|
# Calculates hash code according to all attributes.
|
|
271
291
|
# @return [Integer] Hash code
|
|
272
292
|
def hash
|
|
273
|
-
[binary_value, description, json, namespace, object_type, pfx_password, remote_secret_activation_date, remote_secret_expires, secret_id, selected_repositories, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
293
|
+
[aws_account_id, binary_value, description, json, namespace, object_type, pfx_password, region, remote_secret_activation_date, remote_secret_expires, secret_id, selected_repositories, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
274
294
|
end
|
|
275
295
|
|
|
276
296
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -49,6 +49,7 @@ require 'akeyless/models/ai_model_entry'
|
|
|
49
49
|
require 'akeyless/models/ai_quorum_setting'
|
|
50
50
|
require 'akeyless/models/akeyless_gateway_config'
|
|
51
51
|
require 'akeyless/models/ali_cloud_access_rules'
|
|
52
|
+
require 'akeyless/models/ali_cloud_target_details'
|
|
52
53
|
require 'akeyless/models/alias_details'
|
|
53
54
|
require 'akeyless/models/alias_details_output'
|
|
54
55
|
require 'akeyless/models/all_analytics_data'
|
|
@@ -696,6 +697,7 @@ require 'akeyless/models/get_role'
|
|
|
696
697
|
require 'akeyless/models/get_rotated_secret_value'
|
|
697
698
|
require 'akeyless/models/get_ssh_certificate'
|
|
698
699
|
require 'akeyless/models/get_ssh_certificate_output'
|
|
700
|
+
require 'akeyless/models/get_scim_status'
|
|
699
701
|
require 'akeyless/models/get_secret_value'
|
|
700
702
|
require 'akeyless/models/get_tags'
|
|
701
703
|
require 'akeyless/models/get_target'
|
|
@@ -710,6 +712,7 @@ require 'akeyless/models/global_sign_gcc_target_details'
|
|
|
710
712
|
require 'akeyless/models/godaddy_target_details'
|
|
711
713
|
require 'akeyless/models/google_chronicle_forwarding_config'
|
|
712
714
|
require 'akeyless/models/google_trust_target_details'
|
|
715
|
+
require 'akeyless/models/granted_role'
|
|
713
716
|
require 'akeyless/models/grok_target_details'
|
|
714
717
|
require 'akeyless/models/group'
|
|
715
718
|
require 'akeyless/models/gw_cluster_identity'
|
|
@@ -921,6 +924,7 @@ require 'akeyless/models/rotate_oidc_client_output'
|
|
|
921
924
|
require 'akeyless/models/rotate_oidc_client_secret'
|
|
922
925
|
require 'akeyless/models/rotate_secret'
|
|
923
926
|
require 'akeyless/models/rotated_secret_create_aerospike'
|
|
927
|
+
require 'akeyless/models/rotated_secret_create_ali_cloud'
|
|
924
928
|
require 'akeyless/models/rotated_secret_create_aws'
|
|
925
929
|
require 'akeyless/models/rotated_secret_create_azure'
|
|
926
930
|
require 'akeyless/models/rotated_secret_create_cassandra'
|
|
@@ -954,6 +958,7 @@ require 'akeyless/models/rotated_secret_list'
|
|
|
954
958
|
require 'akeyless/models/rotated_secret_output'
|
|
955
959
|
require 'akeyless/models/rotated_secret_sync'
|
|
956
960
|
require 'akeyless/models/rotated_secret_update_aerospike'
|
|
961
|
+
require 'akeyless/models/rotated_secret_update_ali_cloud'
|
|
957
962
|
require 'akeyless/models/rotated_secret_update_aws'
|
|
958
963
|
require 'akeyless/models/rotated_secret_update_azure'
|
|
959
964
|
require 'akeyless/models/rotated_secret_update_cassandra'
|
|
@@ -990,6 +995,8 @@ require 'akeyless/models/ssh_target_details'
|
|
|
990
995
|
require 'akeyless/models/salesforce_target_details'
|
|
991
996
|
require 'akeyless/models/saml_sp_config_part'
|
|
992
997
|
require 'akeyless/models/scan_results'
|
|
998
|
+
require 'akeyless/models/scim_settings'
|
|
999
|
+
require 'akeyless/models/scim_status'
|
|
993
1000
|
require 'akeyless/models/secret_info'
|
|
994
1001
|
require 'akeyless/models/secret_sync_output'
|
|
995
1002
|
require 'akeyless/models/sectigo_target_details'
|
|
@@ -1041,6 +1048,7 @@ require 'akeyless/models/system_access_credentials_reply_obj'
|
|
|
1041
1048
|
require 'akeyless/models/system_access_creds_settings'
|
|
1042
1049
|
require 'akeyless/models/target'
|
|
1043
1050
|
require 'akeyless/models/target_create_aerospike'
|
|
1051
|
+
require 'akeyless/models/target_create_ali_cloud'
|
|
1044
1052
|
require 'akeyless/models/target_create_anthropic'
|
|
1045
1053
|
require 'akeyless/models/target_create_artifactory'
|
|
1046
1054
|
require 'akeyless/models/target_create_aws'
|
|
@@ -1091,6 +1099,7 @@ require 'akeyless/models/target_list'
|
|
|
1091
1099
|
require 'akeyless/models/target_name_with_hosts'
|
|
1092
1100
|
require 'akeyless/models/target_type_details_input'
|
|
1093
1101
|
require 'akeyless/models/target_update_aerospike'
|
|
1102
|
+
require 'akeyless/models/target_update_ali_cloud'
|
|
1094
1103
|
require 'akeyless/models/target_update_anthropic'
|
|
1095
1104
|
require 'akeyless/models/target_update_artifactory'
|
|
1096
1105
|
require 'akeyless/models/target_update_aws'
|
|
@@ -0,0 +1,66 @@
|
|
|
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::AliCloudTargetDetails
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::AliCloudTargetDetails do
|
|
21
|
+
let(:instance) { Akeyless::AliCloudTargetDetails.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AliCloudTargetDetails' do
|
|
24
|
+
it 'should create an instance of AliCloudTargetDetails' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::AliCloudTargetDetails)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "access_key"' 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 "access_key_id"' 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 "gw_cloud_identity_external_id_opt"' 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 "region"' 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 "session_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
|
+
describe 'test attribute "use_gw_cloud_identity"' 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
|
+
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::GetScimStatus
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::GetScimStatus do
|
|
21
|
+
let(:instance) { Akeyless::GetScimStatus.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetScimStatus' do
|
|
24
|
+
it 'should create an instance of GetScimStatus' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::GetScimStatus)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "json"' 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 "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 "token"' 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 "uid_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
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
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::GrantedRole
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::GrantedRole do
|
|
21
|
+
let(:instance) { Akeyless::GrantedRole.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GrantedRole' do
|
|
24
|
+
it 'should create an instance of GrantedRole' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::GrantedRole)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "conditional"' 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 "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
|
+
end
|