akeyless 2.16.4 → 2.16.7
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 +44 -1
- data/docs/AwsS3LogForwardingConfig.md +2 -0
- data/docs/CertAccessRules.md +1 -1
- data/docs/CreateAuthMethod.md +1 -1
- data/docs/CreateAuthMethodAWSIAM.md +1 -1
- data/docs/CreateAuthMethodAzureAD.md +1 -1
- data/docs/CreateAuthMethodCert.md +1 -1
- data/docs/CreateAuthMethodGCP.md +1 -1
- data/docs/CreateAuthMethodHuawei.md +1 -1
- data/docs/CreateAuthMethodK8S.md +1 -1
- data/docs/CreateAuthMethodLDAP.md +1 -1
- data/docs/CreateAuthMethodOAuth2.md +1 -1
- data/docs/CreateAuthMethodOIDC.md +1 -1
- data/docs/CreateAuthMethodSAML.md +1 -1
- data/docs/CreateAuthMethodUniversalIdentity.md +1 -1
- data/docs/CreateAzureTarget.md +6 -0
- data/docs/CreateClassicKey.md +12 -0
- data/docs/CreateRotatedSecret.md +30 -0
- data/docs/CreateSalesforceTarget.md +42 -0
- data/docs/CreateSalesforceTargetOutput.md +18 -0
- data/docs/CreateTokenizer.md +42 -0
- data/docs/CreateTokenizerOutput.md +18 -0
- data/docs/DSProducerDetails.md +6 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/Detokenize.md +26 -0
- data/docs/DetokenizeOutput.md +18 -0
- data/docs/DynamicSecretProducerInfo.md +2 -0
- data/docs/EmailTokenizerInfo.md +22 -0
- data/docs/GatewayCreateMigration.md +50 -0
- data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayDeleteMigration.md +22 -0
- data/docs/GatewayGetMigration.md +22 -0
- data/docs/GatewayMigrationCreateOutput.md +18 -0
- data/docs/GatewayMigrationDeleteOutput.md +18 -0
- data/docs/GatewayMigrationGetOutput.md +18 -0
- data/docs/GatewayMigrationUpdateOutput.md +18 -0
- data/docs/GatewayUpdateMigration.md +52 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GetRSAPublicOutput.md +1 -1
- data/docs/GetSecretValue.md +2 -0
- data/docs/HashiPayload.md +2 -0
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +5 -1
- data/docs/ListItems.md +2 -0
- data/docs/ListTargets.md +2 -0
- data/docs/LogForwardingConfigPart.md +0 -2
- data/docs/Producer.md +2 -0
- data/docs/RegexpTokenizerInfo.md +24 -0
- data/docs/RotateSecret.md +22 -0
- data/docs/RotatedSecretOutput.md +18 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +2 -0
- data/docs/TargetTypeDetailsInput.md +18 -0
- data/docs/Tokenize.md +26 -0
- data/docs/TokenizeOutput.md +20 -0
- data/docs/TokenizerInfo.md +18 -0
- data/docs/UpdateAuthMethod.md +1 -1
- data/docs/UpdateAuthMethodAWSIAM.md +1 -1
- data/docs/UpdateAuthMethodAzureAD.md +1 -1
- data/docs/UpdateAuthMethodCert.md +1 -1
- data/docs/UpdateAuthMethodGCP.md +1 -1
- data/docs/UpdateAuthMethodK8S.md +1 -1
- data/docs/UpdateAuthMethodLDAP.md +1 -1
- data/docs/UpdateAuthMethodOAuth2.md +1 -1
- data/docs/UpdateAuthMethodOIDC.md +1 -1
- data/docs/UpdateAuthMethodSAML.md +1 -1
- data/docs/UpdateAuthMethodUniversalIdentity.md +1 -1
- data/docs/UpdateAzureTarget.md +6 -0
- data/docs/UpdateLdapTarget.md +42 -0
- data/docs/UpdateLdapTargetDetails.md +40 -0
- data/docs/UpdateLdapTargetOutput.md +18 -0
- data/docs/UpdateRotatedSecret.md +30 -0
- data/docs/UpdateSalesforceTarget.md +48 -0
- data/docs/UpdateSalesforceTargetOutput.md +18 -0
- data/docs/UpdateTokenizer.md +46 -0
- data/docs/UpdateTokenizerOutput.md +18 -0
- data/docs/V2Api.md +888 -6
- data/docs/VaultlessTokenizerInfo.md +28 -0
- data/lib/akeyless/api/v2_api.rb +897 -1
- data/lib/akeyless/models/aws_s3_log_forwarding_config.rb +10 -1
- data/lib/akeyless/models/cert_access_rules.rb +2 -4
- data/lib/akeyless/models/create_auth_method.rb +0 -2
- data/lib/akeyless/models/create_auth_method_awsiam.rb +0 -2
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +0 -2
- data/lib/akeyless/models/create_auth_method_cert.rb +0 -2
- data/lib/akeyless/models/create_auth_method_gcp.rb +0 -2
- data/lib/akeyless/models/create_auth_method_huawei.rb +0 -2
- data/lib/akeyless/models/create_auth_method_k8_s.rb +0 -2
- data/lib/akeyless/models/create_auth_method_ldap.rb +0 -2
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +0 -2
- data/lib/akeyless/models/create_auth_method_oidc.rb +0 -2
- data/lib/akeyless/models/create_auth_method_saml.rb +0 -2
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +0 -2
- data/lib/akeyless/models/create_azure_target.rb +31 -1
- data/lib/akeyless/models/create_classic_key.rb +61 -1
- data/lib/akeyless/models/create_rotated_secret.rb +163 -1
- data/lib/akeyless/models/create_salesforce_target.rb +375 -0
- data/lib/akeyless/models/create_salesforce_target_output.rb +219 -0
- data/lib/akeyless/models/create_tokenizer.rb +358 -0
- data/lib/akeyless/models/create_tokenizer_output.rb +219 -0
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/detokenize.rb +271 -0
- data/lib/akeyless/models/detokenize_output.rb +219 -0
- data/lib/akeyless/models/ds_producer_details.rb +28 -1
- data/lib/akeyless/models/dynamic_secret_producer_info.rb +10 -1
- data/lib/akeyless/models/email_tokenizer_info.rb +241 -0
- data/lib/akeyless/models/gateway_create_migration.rb +374 -0
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_delete_migration.rb +246 -0
- data/lib/akeyless/models/gateway_get_migration.rb +240 -0
- data/lib/akeyless/models/gateway_migration_create_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_delete_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_get_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_update_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_migration.rb +383 -0
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
- data/lib/akeyless/models/get_rsa_public_output.rb +2 -4
- data/lib/akeyless/models/get_secret_value.rb +10 -1
- data/lib/akeyless/models/hashi_payload.rb +10 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +22 -4
- data/lib/akeyless/models/list_items.rb +10 -1
- data/lib/akeyless/models/list_targets.rb +13 -1
- data/lib/akeyless/models/log_forwarding_config_part.rb +1 -10
- data/lib/akeyless/models/producer.rb +10 -1
- data/lib/akeyless/models/regexp_tokenizer_info.rb +251 -0
- data/lib/akeyless/models/rotate_secret.rb +245 -0
- data/lib/akeyless/models/rotated_secret_output.rb +219 -0
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +13 -1
- data/lib/akeyless/models/target_type_details_input.rb +86 -1
- data/lib/akeyless/models/tokenize.rb +271 -0
- data/lib/akeyless/models/tokenize_output.rb +228 -0
- data/lib/akeyless/models/tokenizer_info.rb +219 -0
- data/lib/akeyless/models/update_auth_method.rb +0 -2
- data/lib/akeyless/models/update_auth_method_awsiam.rb +0 -2
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +0 -2
- data/lib/akeyless/models/update_auth_method_cert.rb +0 -2
- data/lib/akeyless/models/update_auth_method_gcp.rb +0 -2
- data/lib/akeyless/models/update_auth_method_k8_s.rb +0 -2
- data/lib/akeyless/models/update_auth_method_ldap.rb +0 -2
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +0 -2
- data/lib/akeyless/models/update_auth_method_oidc.rb +0 -2
- data/lib/akeyless/models/update_auth_method_saml.rb +0 -2
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +0 -2
- data/lib/akeyless/models/update_azure_target.rb +31 -1
- data/lib/akeyless/models/update_ldap_target.rb +339 -0
- data/lib/akeyless/models/update_ldap_target_details.rb +328 -0
- data/lib/akeyless/models/update_ldap_target_output.rb +219 -0
- data/lib/akeyless/models/update_rotated_secret.rb +163 -1
- data/lib/akeyless/models/update_salesforce_target.rb +404 -0
- data/lib/akeyless/models/update_salesforce_target_output.rb +219 -0
- data/lib/akeyless/models/update_tokenizer.rb +382 -0
- data/lib/akeyless/models/update_tokenizer_output.rb +219 -0
- data/lib/akeyless/models/vaultless_tokenizer_info.rb +267 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +29 -0
- data/spec/models/create_salesforce_target_output_spec.rb +34 -0
- data/spec/models/create_salesforce_target_spec.rb +106 -0
- data/spec/models/create_tokenizer_output_spec.rb +34 -0
- data/spec/models/create_tokenizer_spec.rb +106 -0
- data/spec/models/detokenize_output_spec.rb +34 -0
- data/spec/models/detokenize_spec.rb +58 -0
- data/spec/models/email_tokenizer_info_spec.rb +46 -0
- data/spec/models/gateway_create_migration_spec.rb +130 -0
- data/spec/models/gateway_delete_migration_spec.rb +46 -0
- data/spec/models/gateway_get_migration_spec.rb +46 -0
- data/spec/models/gateway_migration_create_output_spec.rb +34 -0
- data/spec/models/gateway_migration_delete_output_spec.rb +34 -0
- data/spec/models/gateway_migration_get_output_spec.rb +34 -0
- data/spec/models/gateway_migration_update_output_spec.rb +34 -0
- data/spec/models/gateway_update_migration_spec.rb +136 -0
- data/spec/models/regexp_tokenizer_info_spec.rb +52 -0
- data/spec/models/rotate_secret_spec.rb +46 -0
- data/spec/models/rotated_secret_output_spec.rb +34 -0
- data/spec/models/tokenize_output_spec.rb +40 -0
- data/spec/models/tokenize_spec.rb +58 -0
- data/spec/models/tokenizer_info_spec.rb +34 -0
- data/spec/models/update_ldap_target_details_spec.rb +100 -0
- data/spec/models/update_ldap_target_output_spec.rb +34 -0
- data/spec/models/update_ldap_target_spec.rb +106 -0
- data/spec/models/update_salesforce_target_output_spec.rb +34 -0
- data/spec/models/update_salesforce_target_spec.rb +124 -0
- data/spec/models/update_tokenizer_output_spec.rb +34 -0
- data/spec/models/update_tokenizer_spec.rb +118 -0
- data/spec/models/vaultless_tokenizer_info_spec.rb +64 -0
- metadata +575 -459
|
@@ -21,6 +21,8 @@ module Akeyless
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :aws_region
|
|
23
23
|
|
|
24
|
+
attr_accessor :aws_use_gateway_cloud_identity
|
|
25
|
+
|
|
24
26
|
attr_accessor :bucket_name
|
|
25
27
|
|
|
26
28
|
attr_accessor :log_folder
|
|
@@ -31,6 +33,7 @@ module Akeyless
|
|
|
31
33
|
:'aws_access_id' => :'aws_access_id',
|
|
32
34
|
:'aws_access_key' => :'aws_access_key',
|
|
33
35
|
:'aws_region' => :'aws_region',
|
|
36
|
+
:'aws_use_gateway_cloud_identity' => :'aws_use_gateway_cloud_identity',
|
|
34
37
|
:'bucket_name' => :'bucket_name',
|
|
35
38
|
:'log_folder' => :'log_folder'
|
|
36
39
|
}
|
|
@@ -47,6 +50,7 @@ module Akeyless
|
|
|
47
50
|
:'aws_access_id' => :'String',
|
|
48
51
|
:'aws_access_key' => :'String',
|
|
49
52
|
:'aws_region' => :'String',
|
|
53
|
+
:'aws_use_gateway_cloud_identity' => :'Boolean',
|
|
50
54
|
:'bucket_name' => :'String',
|
|
51
55
|
:'log_folder' => :'String'
|
|
52
56
|
}
|
|
@@ -85,6 +89,10 @@ module Akeyless
|
|
|
85
89
|
self.aws_region = attributes[:'aws_region']
|
|
86
90
|
end
|
|
87
91
|
|
|
92
|
+
if attributes.key?(:'aws_use_gateway_cloud_identity')
|
|
93
|
+
self.aws_use_gateway_cloud_identity = attributes[:'aws_use_gateway_cloud_identity']
|
|
94
|
+
end
|
|
95
|
+
|
|
88
96
|
if attributes.key?(:'bucket_name')
|
|
89
97
|
self.bucket_name = attributes[:'bucket_name']
|
|
90
98
|
end
|
|
@@ -115,6 +123,7 @@ module Akeyless
|
|
|
115
123
|
aws_access_id == o.aws_access_id &&
|
|
116
124
|
aws_access_key == o.aws_access_key &&
|
|
117
125
|
aws_region == o.aws_region &&
|
|
126
|
+
aws_use_gateway_cloud_identity == o.aws_use_gateway_cloud_identity &&
|
|
118
127
|
bucket_name == o.bucket_name &&
|
|
119
128
|
log_folder == o.log_folder
|
|
120
129
|
end
|
|
@@ -128,7 +137,7 @@ module Akeyless
|
|
|
128
137
|
# Calculates hash code according to all attributes.
|
|
129
138
|
# @return [Integer] Hash code
|
|
130
139
|
def hash
|
|
131
|
-
[aws_access_id, aws_access_key, aws_region, bucket_name, log_folder].hash
|
|
140
|
+
[aws_access_id, aws_access_key, aws_region, aws_use_gateway_cloud_identity, bucket_name, log_folder].hash
|
|
132
141
|
end
|
|
133
142
|
|
|
134
143
|
# Builds the object from hash
|
|
@@ -71,7 +71,7 @@ module Akeyless
|
|
|
71
71
|
:'bound_extensions' => :'Array<String>',
|
|
72
72
|
:'bound_organizational_units' => :'Array<String>',
|
|
73
73
|
:'bound_uri_sans' => :'Array<String>',
|
|
74
|
-
:'certificate' => :'
|
|
74
|
+
:'certificate' => :'String',
|
|
75
75
|
:'revoked_cert_ids' => :'Array<String>',
|
|
76
76
|
:'unique_identifier' => :'String'
|
|
77
77
|
}
|
|
@@ -135,9 +135,7 @@ module Akeyless
|
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
if attributes.key?(:'certificate')
|
|
138
|
-
|
|
139
|
-
self.certificate = value
|
|
140
|
-
end
|
|
138
|
+
self.certificate = attributes[:'certificate']
|
|
141
139
|
end
|
|
142
140
|
|
|
143
141
|
if attributes.key?(:'revoked_cert_ids')
|
|
@@ -28,6 +28,15 @@ module Akeyless
|
|
|
28
28
|
# Target name
|
|
29
29
|
attr_accessor :name
|
|
30
30
|
|
|
31
|
+
# The Resource Group name in your Azure subscription
|
|
32
|
+
attr_accessor :resource_group_name
|
|
33
|
+
|
|
34
|
+
# The name of the relevant Resource
|
|
35
|
+
attr_accessor :resource_name
|
|
36
|
+
|
|
37
|
+
# Azure Subscription Id
|
|
38
|
+
attr_accessor :subscription_id
|
|
39
|
+
|
|
31
40
|
attr_accessor :tenant_id
|
|
32
41
|
|
|
33
42
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -46,6 +55,9 @@ module Akeyless
|
|
|
46
55
|
:'comment' => :'comment',
|
|
47
56
|
:'key' => :'key',
|
|
48
57
|
:'name' => :'name',
|
|
58
|
+
:'resource_group_name' => :'resource-group-name',
|
|
59
|
+
:'resource_name' => :'resource-name',
|
|
60
|
+
:'subscription_id' => :'subscription-id',
|
|
49
61
|
:'tenant_id' => :'tenant-id',
|
|
50
62
|
:'token' => :'token',
|
|
51
63
|
:'uid_token' => :'uid-token',
|
|
@@ -66,6 +78,9 @@ module Akeyless
|
|
|
66
78
|
:'comment' => :'String',
|
|
67
79
|
:'key' => :'String',
|
|
68
80
|
:'name' => :'String',
|
|
81
|
+
:'resource_group_name' => :'String',
|
|
82
|
+
:'resource_name' => :'String',
|
|
83
|
+
:'subscription_id' => :'String',
|
|
69
84
|
:'tenant_id' => :'String',
|
|
70
85
|
:'token' => :'String',
|
|
71
86
|
:'uid_token' => :'String',
|
|
@@ -114,6 +129,18 @@ module Akeyless
|
|
|
114
129
|
self.name = attributes[:'name']
|
|
115
130
|
end
|
|
116
131
|
|
|
132
|
+
if attributes.key?(:'resource_group_name')
|
|
133
|
+
self.resource_group_name = attributes[:'resource_group_name']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'resource_name')
|
|
137
|
+
self.resource_name = attributes[:'resource_name']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
if attributes.key?(:'subscription_id')
|
|
141
|
+
self.subscription_id = attributes[:'subscription_id']
|
|
142
|
+
end
|
|
143
|
+
|
|
117
144
|
if attributes.key?(:'tenant_id')
|
|
118
145
|
self.tenant_id = attributes[:'tenant_id']
|
|
119
146
|
end
|
|
@@ -159,6 +186,9 @@ module Akeyless
|
|
|
159
186
|
comment == o.comment &&
|
|
160
187
|
key == o.key &&
|
|
161
188
|
name == o.name &&
|
|
189
|
+
resource_group_name == o.resource_group_name &&
|
|
190
|
+
resource_name == o.resource_name &&
|
|
191
|
+
subscription_id == o.subscription_id &&
|
|
162
192
|
tenant_id == o.tenant_id &&
|
|
163
193
|
token == o.token &&
|
|
164
194
|
uid_token == o.uid_token &&
|
|
@@ -174,7 +204,7 @@ module Akeyless
|
|
|
174
204
|
# Calculates hash code according to all attributes.
|
|
175
205
|
# @return [Integer] Hash code
|
|
176
206
|
def hash
|
|
177
|
-
[client_id, client_secret, comment, key, name, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
|
207
|
+
[client_id, client_secret, comment, key, name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
|
178
208
|
end
|
|
179
209
|
|
|
180
210
|
# Builds the object from hash
|
|
@@ -28,21 +28,39 @@ module Akeyless
|
|
|
28
28
|
# A list of allowed operations for the key (required for azure targets)
|
|
29
29
|
attr_accessor :key_operations
|
|
30
30
|
|
|
31
|
+
# Keyring name of the GCP KMS (required for gcp targets)
|
|
32
|
+
attr_accessor :keyring_name
|
|
33
|
+
|
|
34
|
+
# Algorithm of the key in GCP KMS (required for gcp targets)
|
|
35
|
+
attr_accessor :kms_algorithm
|
|
36
|
+
|
|
37
|
+
# Location id of the GCP KMS (required for gcp targets)
|
|
38
|
+
attr_accessor :location_id
|
|
39
|
+
|
|
31
40
|
# Metadata about the classic key
|
|
32
41
|
attr_accessor :metadata
|
|
33
42
|
|
|
34
43
|
# ClassicKey name
|
|
35
44
|
attr_accessor :name
|
|
36
45
|
|
|
46
|
+
# Project id of the GCP KMS (required for gcp targets)
|
|
47
|
+
attr_accessor :project_id
|
|
48
|
+
|
|
37
49
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
38
50
|
attr_accessor :protection_key_name
|
|
39
51
|
|
|
52
|
+
# Purpose of the key in GCP KMS (required for gcp targets)
|
|
53
|
+
attr_accessor :purpose
|
|
54
|
+
|
|
40
55
|
# List of the tags attached to this classic key
|
|
41
56
|
attr_accessor :tags
|
|
42
57
|
|
|
43
58
|
# Target name
|
|
44
59
|
attr_accessor :target_name
|
|
45
60
|
|
|
61
|
+
# The tenant secret type [Data/SearchIndex/Analytics] (required for salesforce targets)
|
|
62
|
+
attr_accessor :tenant_secret_type
|
|
63
|
+
|
|
46
64
|
# Authentication token (see `/auth` and `/configure`)
|
|
47
65
|
attr_accessor :token
|
|
48
66
|
|
|
@@ -59,11 +77,17 @@ module Akeyless
|
|
|
59
77
|
:'cert_file_data' => :'cert-file-data',
|
|
60
78
|
:'key_data' => :'key-data',
|
|
61
79
|
:'key_operations' => :'key-operations',
|
|
80
|
+
:'keyring_name' => :'keyring-name',
|
|
81
|
+
:'kms_algorithm' => :'kms-algorithm',
|
|
82
|
+
:'location_id' => :'location-id',
|
|
62
83
|
:'metadata' => :'metadata',
|
|
63
84
|
:'name' => :'name',
|
|
85
|
+
:'project_id' => :'project-id',
|
|
64
86
|
:'protection_key_name' => :'protection-key-name',
|
|
87
|
+
:'purpose' => :'purpose',
|
|
65
88
|
:'tags' => :'tags',
|
|
66
89
|
:'target_name' => :'target-name',
|
|
90
|
+
:'tenant_secret_type' => :'tenant-secret-type',
|
|
67
91
|
:'token' => :'token',
|
|
68
92
|
:'uid_token' => :'uid-token',
|
|
69
93
|
:'vault_name' => :'vault-name'
|
|
@@ -82,11 +106,17 @@ module Akeyless
|
|
|
82
106
|
:'cert_file_data' => :'String',
|
|
83
107
|
:'key_data' => :'String',
|
|
84
108
|
:'key_operations' => :'Array<String>',
|
|
109
|
+
:'keyring_name' => :'String',
|
|
110
|
+
:'kms_algorithm' => :'String',
|
|
111
|
+
:'location_id' => :'String',
|
|
85
112
|
:'metadata' => :'String',
|
|
86
113
|
:'name' => :'String',
|
|
114
|
+
:'project_id' => :'String',
|
|
87
115
|
:'protection_key_name' => :'String',
|
|
116
|
+
:'purpose' => :'String',
|
|
88
117
|
:'tags' => :'Array<String>',
|
|
89
118
|
:'target_name' => :'String',
|
|
119
|
+
:'tenant_secret_type' => :'String',
|
|
90
120
|
:'token' => :'String',
|
|
91
121
|
:'uid_token' => :'String',
|
|
92
122
|
:'vault_name' => :'String'
|
|
@@ -132,6 +162,18 @@ module Akeyless
|
|
|
132
162
|
end
|
|
133
163
|
end
|
|
134
164
|
|
|
165
|
+
if attributes.key?(:'keyring_name')
|
|
166
|
+
self.keyring_name = attributes[:'keyring_name']
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
if attributes.key?(:'kms_algorithm')
|
|
170
|
+
self.kms_algorithm = attributes[:'kms_algorithm']
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
if attributes.key?(:'location_id')
|
|
174
|
+
self.location_id = attributes[:'location_id']
|
|
175
|
+
end
|
|
176
|
+
|
|
135
177
|
if attributes.key?(:'metadata')
|
|
136
178
|
self.metadata = attributes[:'metadata']
|
|
137
179
|
end
|
|
@@ -140,10 +182,18 @@ module Akeyless
|
|
|
140
182
|
self.name = attributes[:'name']
|
|
141
183
|
end
|
|
142
184
|
|
|
185
|
+
if attributes.key?(:'project_id')
|
|
186
|
+
self.project_id = attributes[:'project_id']
|
|
187
|
+
end
|
|
188
|
+
|
|
143
189
|
if attributes.key?(:'protection_key_name')
|
|
144
190
|
self.protection_key_name = attributes[:'protection_key_name']
|
|
145
191
|
end
|
|
146
192
|
|
|
193
|
+
if attributes.key?(:'purpose')
|
|
194
|
+
self.purpose = attributes[:'purpose']
|
|
195
|
+
end
|
|
196
|
+
|
|
147
197
|
if attributes.key?(:'tags')
|
|
148
198
|
if (value = attributes[:'tags']).is_a?(Array)
|
|
149
199
|
self.tags = value
|
|
@@ -154,6 +204,10 @@ module Akeyless
|
|
|
154
204
|
self.target_name = attributes[:'target_name']
|
|
155
205
|
end
|
|
156
206
|
|
|
207
|
+
if attributes.key?(:'tenant_secret_type')
|
|
208
|
+
self.tenant_secret_type = attributes[:'tenant_secret_type']
|
|
209
|
+
end
|
|
210
|
+
|
|
157
211
|
if attributes.key?(:'token')
|
|
158
212
|
self.token = attributes[:'token']
|
|
159
213
|
end
|
|
@@ -199,11 +253,17 @@ module Akeyless
|
|
|
199
253
|
cert_file_data == o.cert_file_data &&
|
|
200
254
|
key_data == o.key_data &&
|
|
201
255
|
key_operations == o.key_operations &&
|
|
256
|
+
keyring_name == o.keyring_name &&
|
|
257
|
+
kms_algorithm == o.kms_algorithm &&
|
|
258
|
+
location_id == o.location_id &&
|
|
202
259
|
metadata == o.metadata &&
|
|
203
260
|
name == o.name &&
|
|
261
|
+
project_id == o.project_id &&
|
|
204
262
|
protection_key_name == o.protection_key_name &&
|
|
263
|
+
purpose == o.purpose &&
|
|
205
264
|
tags == o.tags &&
|
|
206
265
|
target_name == o.target_name &&
|
|
266
|
+
tenant_secret_type == o.tenant_secret_type &&
|
|
207
267
|
token == o.token &&
|
|
208
268
|
uid_token == o.uid_token &&
|
|
209
269
|
vault_name == o.vault_name
|
|
@@ -218,7 +278,7 @@ module Akeyless
|
|
|
218
278
|
# Calculates hash code according to all attributes.
|
|
219
279
|
# @return [Integer] Hash code
|
|
220
280
|
def hash
|
|
221
|
-
[alg, cert_file_data, key_data, key_operations, metadata, name, protection_key_name, tags, target_name, token, uid_token, vault_name].hash
|
|
281
|
+
[alg, cert_file_data, key_data, key_operations, keyring_name, kms_algorithm, location_id, metadata, name, project_id, protection_key_name, purpose, tags, target_name, tenant_secret_type, token, uid_token, vault_name].hash
|
|
222
282
|
end
|
|
223
283
|
|
|
224
284
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module Akeyless
|
|
|
27
27
|
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation
|
|
28
28
|
attr_accessor :auto_rotate
|
|
29
29
|
|
|
30
|
+
# Region (used in aws)
|
|
31
|
+
attr_accessor :aws_region
|
|
32
|
+
|
|
30
33
|
attr_accessor :custom_payload
|
|
31
34
|
|
|
32
35
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
@@ -54,12 +57,54 @@ module Akeyless
|
|
|
54
57
|
# Rotator Type
|
|
55
58
|
attr_accessor :rotator_type
|
|
56
59
|
|
|
60
|
+
# Secure Access Allow Providing External User (used in ssh)
|
|
61
|
+
attr_accessor :secure_access_allow_external_user
|
|
62
|
+
|
|
63
|
+
# Secure Access Account Id (used in aws)
|
|
64
|
+
attr_accessor :secure_access_aws_account_id
|
|
65
|
+
|
|
66
|
+
# Secure Access Aws Native Cli (used in aws)
|
|
67
|
+
attr_accessor :secure_access_aws_native_cli
|
|
68
|
+
|
|
69
|
+
# Secure Access Bastion Issuer
|
|
70
|
+
attr_accessor :secure_access_bastion_issuer
|
|
71
|
+
|
|
72
|
+
# Secure Access DB Name (used in data bases)
|
|
73
|
+
attr_accessor :secure_access_db_name
|
|
74
|
+
|
|
75
|
+
# Secure Access Schema (used in mssql, postgresql)
|
|
76
|
+
attr_accessor :secure_access_db_schema
|
|
77
|
+
|
|
78
|
+
# Secure Access Enabled
|
|
79
|
+
attr_accessor :secure_access_enable
|
|
80
|
+
|
|
81
|
+
# Secure Access Host
|
|
82
|
+
attr_accessor :secure_access_host
|
|
83
|
+
|
|
84
|
+
# Secure Access Domain (used in ssh)
|
|
85
|
+
attr_accessor :secure_access_rdp_domain
|
|
86
|
+
|
|
87
|
+
# Secure Access Override User (used in ssh)
|
|
88
|
+
attr_accessor :secure_access_rdp_user
|
|
89
|
+
|
|
90
|
+
# Secure Access Web
|
|
91
|
+
attr_accessor :secure_access_web
|
|
92
|
+
|
|
93
|
+
# Secure Access Isolated (used in aws, azure)
|
|
94
|
+
attr_accessor :secure_access_web_browsing
|
|
95
|
+
|
|
96
|
+
# Secure Access Web Proxy (used in aws, azure)
|
|
97
|
+
attr_accessor :secure_access_web_proxy
|
|
98
|
+
|
|
57
99
|
# Deprecated: use RotatedPassword
|
|
58
100
|
attr_accessor :ssh_password
|
|
59
101
|
|
|
60
102
|
# Deprecated: use RotatedUser
|
|
61
103
|
attr_accessor :ssh_username
|
|
62
104
|
|
|
105
|
+
# The name of the storage account key to rotate [key1/key2/kerb1/kerb2] (relevat to azure-storage-account)
|
|
106
|
+
attr_accessor :storage_account_key_name
|
|
107
|
+
|
|
63
108
|
# List of the tags attached to this secret
|
|
64
109
|
attr_accessor :tags
|
|
65
110
|
|
|
@@ -86,6 +131,7 @@ module Akeyless
|
|
|
86
131
|
:'application_id' => :'application-id',
|
|
87
132
|
:'authentication_credentials' => :'authentication-credentials',
|
|
88
133
|
:'auto_rotate' => :'auto-rotate',
|
|
134
|
+
:'aws_region' => :'aws-region',
|
|
89
135
|
:'custom_payload' => :'custom-payload',
|
|
90
136
|
:'key' => :'key',
|
|
91
137
|
:'metadata' => :'metadata',
|
|
@@ -97,8 +143,22 @@ module Akeyless
|
|
|
97
143
|
:'rotator_creds_type' => :'rotator-creds-type',
|
|
98
144
|
:'rotator_custom_cmd' => :'rotator-custom-cmd',
|
|
99
145
|
:'rotator_type' => :'rotator-type',
|
|
146
|
+
:'secure_access_allow_external_user' => :'secure-access-allow-external-user',
|
|
147
|
+
:'secure_access_aws_account_id' => :'secure-access-aws-account-id',
|
|
148
|
+
:'secure_access_aws_native_cli' => :'secure-access-aws-native-cli',
|
|
149
|
+
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
|
150
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
|
151
|
+
:'secure_access_db_schema' => :'secure-access-db-schema',
|
|
152
|
+
:'secure_access_enable' => :'secure-access-enable',
|
|
153
|
+
:'secure_access_host' => :'secure-access-host',
|
|
154
|
+
:'secure_access_rdp_domain' => :'secure-access-rdp-domain',
|
|
155
|
+
:'secure_access_rdp_user' => :'secure-access-rdp-user',
|
|
156
|
+
:'secure_access_web' => :'secure-access-web',
|
|
157
|
+
:'secure_access_web_browsing' => :'secure-access-web-browsing',
|
|
158
|
+
:'secure_access_web_proxy' => :'secure-access-web-proxy',
|
|
100
159
|
:'ssh_password' => :'ssh-password',
|
|
101
160
|
:'ssh_username' => :'ssh-username',
|
|
161
|
+
:'storage_account_key_name' => :'storage-account-key-name',
|
|
102
162
|
:'tags' => :'tags',
|
|
103
163
|
:'target_name' => :'target-name',
|
|
104
164
|
:'token' => :'token',
|
|
@@ -121,6 +181,7 @@ module Akeyless
|
|
|
121
181
|
:'application_id' => :'String',
|
|
122
182
|
:'authentication_credentials' => :'String',
|
|
123
183
|
:'auto_rotate' => :'String',
|
|
184
|
+
:'aws_region' => :'String',
|
|
124
185
|
:'custom_payload' => :'String',
|
|
125
186
|
:'key' => :'String',
|
|
126
187
|
:'metadata' => :'String',
|
|
@@ -132,8 +193,22 @@ module Akeyless
|
|
|
132
193
|
:'rotator_creds_type' => :'String',
|
|
133
194
|
:'rotator_custom_cmd' => :'String',
|
|
134
195
|
:'rotator_type' => :'String',
|
|
196
|
+
:'secure_access_allow_external_user' => :'Boolean',
|
|
197
|
+
:'secure_access_aws_account_id' => :'String',
|
|
198
|
+
:'secure_access_aws_native_cli' => :'Boolean',
|
|
199
|
+
:'secure_access_bastion_issuer' => :'String',
|
|
200
|
+
:'secure_access_db_name' => :'String',
|
|
201
|
+
:'secure_access_db_schema' => :'String',
|
|
202
|
+
:'secure_access_enable' => :'String',
|
|
203
|
+
:'secure_access_host' => :'Array<String>',
|
|
204
|
+
:'secure_access_rdp_domain' => :'String',
|
|
205
|
+
:'secure_access_rdp_user' => :'String',
|
|
206
|
+
:'secure_access_web' => :'Boolean',
|
|
207
|
+
:'secure_access_web_browsing' => :'Boolean',
|
|
208
|
+
:'secure_access_web_proxy' => :'Boolean',
|
|
135
209
|
:'ssh_password' => :'String',
|
|
136
210
|
:'ssh_username' => :'String',
|
|
211
|
+
:'storage_account_key_name' => :'String',
|
|
137
212
|
:'tags' => :'Array<String>',
|
|
138
213
|
:'target_name' => :'String',
|
|
139
214
|
:'token' => :'String',
|
|
@@ -184,6 +259,12 @@ module Akeyless
|
|
|
184
259
|
self.auto_rotate = attributes[:'auto_rotate']
|
|
185
260
|
end
|
|
186
261
|
|
|
262
|
+
if attributes.key?(:'aws_region')
|
|
263
|
+
self.aws_region = attributes[:'aws_region']
|
|
264
|
+
else
|
|
265
|
+
self.aws_region = 'us-east-2'
|
|
266
|
+
end
|
|
267
|
+
|
|
187
268
|
if attributes.key?(:'custom_payload')
|
|
188
269
|
self.custom_payload = attributes[:'custom_payload']
|
|
189
270
|
end
|
|
@@ -228,6 +309,68 @@ module Akeyless
|
|
|
228
309
|
self.rotator_type = attributes[:'rotator_type']
|
|
229
310
|
end
|
|
230
311
|
|
|
312
|
+
if attributes.key?(:'secure_access_allow_external_user')
|
|
313
|
+
self.secure_access_allow_external_user = attributes[:'secure_access_allow_external_user']
|
|
314
|
+
else
|
|
315
|
+
self.secure_access_allow_external_user = false
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
if attributes.key?(:'secure_access_aws_account_id')
|
|
319
|
+
self.secure_access_aws_account_id = attributes[:'secure_access_aws_account_id']
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
if attributes.key?(:'secure_access_aws_native_cli')
|
|
323
|
+
self.secure_access_aws_native_cli = attributes[:'secure_access_aws_native_cli']
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
if attributes.key?(:'secure_access_bastion_issuer')
|
|
327
|
+
self.secure_access_bastion_issuer = attributes[:'secure_access_bastion_issuer']
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
if attributes.key?(:'secure_access_db_name')
|
|
331
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
if attributes.key?(:'secure_access_db_schema')
|
|
335
|
+
self.secure_access_db_schema = attributes[:'secure_access_db_schema']
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
if attributes.key?(:'secure_access_enable')
|
|
339
|
+
self.secure_access_enable = attributes[:'secure_access_enable']
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
if attributes.key?(:'secure_access_host')
|
|
343
|
+
if (value = attributes[:'secure_access_host']).is_a?(Array)
|
|
344
|
+
self.secure_access_host = value
|
|
345
|
+
end
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
if attributes.key?(:'secure_access_rdp_domain')
|
|
349
|
+
self.secure_access_rdp_domain = attributes[:'secure_access_rdp_domain']
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
if attributes.key?(:'secure_access_rdp_user')
|
|
353
|
+
self.secure_access_rdp_user = attributes[:'secure_access_rdp_user']
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
if attributes.key?(:'secure_access_web')
|
|
357
|
+
self.secure_access_web = attributes[:'secure_access_web']
|
|
358
|
+
else
|
|
359
|
+
self.secure_access_web = false
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
if attributes.key?(:'secure_access_web_browsing')
|
|
363
|
+
self.secure_access_web_browsing = attributes[:'secure_access_web_browsing']
|
|
364
|
+
else
|
|
365
|
+
self.secure_access_web_browsing = false
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
if attributes.key?(:'secure_access_web_proxy')
|
|
369
|
+
self.secure_access_web_proxy = attributes[:'secure_access_web_proxy']
|
|
370
|
+
else
|
|
371
|
+
self.secure_access_web_proxy = false
|
|
372
|
+
end
|
|
373
|
+
|
|
231
374
|
if attributes.key?(:'ssh_password')
|
|
232
375
|
self.ssh_password = attributes[:'ssh_password']
|
|
233
376
|
end
|
|
@@ -236,6 +379,10 @@ module Akeyless
|
|
|
236
379
|
self.ssh_username = attributes[:'ssh_username']
|
|
237
380
|
end
|
|
238
381
|
|
|
382
|
+
if attributes.key?(:'storage_account_key_name')
|
|
383
|
+
self.storage_account_key_name = attributes[:'storage_account_key_name']
|
|
384
|
+
end
|
|
385
|
+
|
|
239
386
|
if attributes.key?(:'tags')
|
|
240
387
|
if (value = attributes[:'tags']).is_a?(Array)
|
|
241
388
|
self.tags = value
|
|
@@ -301,6 +448,7 @@ module Akeyless
|
|
|
301
448
|
application_id == o.application_id &&
|
|
302
449
|
authentication_credentials == o.authentication_credentials &&
|
|
303
450
|
auto_rotate == o.auto_rotate &&
|
|
451
|
+
aws_region == o.aws_region &&
|
|
304
452
|
custom_payload == o.custom_payload &&
|
|
305
453
|
key == o.key &&
|
|
306
454
|
metadata == o.metadata &&
|
|
@@ -312,8 +460,22 @@ module Akeyless
|
|
|
312
460
|
rotator_creds_type == o.rotator_creds_type &&
|
|
313
461
|
rotator_custom_cmd == o.rotator_custom_cmd &&
|
|
314
462
|
rotator_type == o.rotator_type &&
|
|
463
|
+
secure_access_allow_external_user == o.secure_access_allow_external_user &&
|
|
464
|
+
secure_access_aws_account_id == o.secure_access_aws_account_id &&
|
|
465
|
+
secure_access_aws_native_cli == o.secure_access_aws_native_cli &&
|
|
466
|
+
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
|
467
|
+
secure_access_db_name == o.secure_access_db_name &&
|
|
468
|
+
secure_access_db_schema == o.secure_access_db_schema &&
|
|
469
|
+
secure_access_enable == o.secure_access_enable &&
|
|
470
|
+
secure_access_host == o.secure_access_host &&
|
|
471
|
+
secure_access_rdp_domain == o.secure_access_rdp_domain &&
|
|
472
|
+
secure_access_rdp_user == o.secure_access_rdp_user &&
|
|
473
|
+
secure_access_web == o.secure_access_web &&
|
|
474
|
+
secure_access_web_browsing == o.secure_access_web_browsing &&
|
|
475
|
+
secure_access_web_proxy == o.secure_access_web_proxy &&
|
|
315
476
|
ssh_password == o.ssh_password &&
|
|
316
477
|
ssh_username == o.ssh_username &&
|
|
478
|
+
storage_account_key_name == o.storage_account_key_name &&
|
|
317
479
|
tags == o.tags &&
|
|
318
480
|
target_name == o.target_name &&
|
|
319
481
|
token == o.token &&
|
|
@@ -331,7 +493,7 @@ module Akeyless
|
|
|
331
493
|
# Calculates hash code according to all attributes.
|
|
332
494
|
# @return [Integer] Hash code
|
|
333
495
|
def hash
|
|
334
|
-
[api_id, api_key, application_id, authentication_credentials, auto_rotate, custom_payload, key, metadata, name, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, ssh_password, ssh_username, tags, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
496
|
+
[api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, key, metadata, name, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, tags, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
335
497
|
end
|
|
336
498
|
|
|
337
499
|
# Builds the object from hash
|