akeyless 5.0.14 → 5.0.16
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 +6 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/ActiveDirectoryPayload.md +2 -0
- data/docs/AllowedClientType.md +20 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateApiKey.md +2 -0
- data/docs/AuthMethodCreateAwsIam.md +2 -0
- data/docs/AuthMethodCreateAzureAD.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateEmail.md +2 -0
- data/docs/AuthMethodCreateGcp.md +2 -0
- data/docs/AuthMethodCreateK8s.md +2 -0
- data/docs/AuthMethodCreateKerberos.md +2 -0
- data/docs/AuthMethodCreateLdap.md +2 -0
- data/docs/AuthMethodCreateOCI.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +2 -0
- data/docs/AuthMethodCreateOauth2.md +2 -0
- data/docs/AuthMethodCreateSAML.md +2 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
- data/docs/AuthMethodUpdateApiKey.md +2 -0
- data/docs/AuthMethodUpdateAwsIam.md +2 -0
- data/docs/AuthMethodUpdateAzureAD.md +2 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateEmail.md +2 -0
- data/docs/AuthMethodUpdateGcp.md +2 -0
- data/docs/AuthMethodUpdateK8s.md +2 -0
- data/docs/AuthMethodUpdateKerberos.md +2 -0
- data/docs/AuthMethodUpdateLdap.md +2 -0
- data/docs/AuthMethodUpdateOCI.md +2 -0
- data/docs/AuthMethodUpdateOIDC.md +2 -0
- data/docs/AuthMethodUpdateOauth2.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +2 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
- data/docs/BastionGlobalConf.md +4 -0
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +2 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOCI.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DynamicSecretCreateGcp.md +22 -6
- data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretCreateMongoDb.md +2 -0
- data/docs/DynamicSecretCreateMsSql.md +2 -0
- data/docs/DynamicSecretGetValue.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +22 -6
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +2 -0
- data/docs/DynamicSecretUpdateMsSql.md +2 -0
- data/docs/EventForwarderGetOutput.md +3 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +22 -6
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +22 -6
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateRemoteAccess.md +4 -0
- data/docs/GetDynamicSecretValue.md +2 -0
- data/docs/NotiForwarderDetailsInput.md +28 -0
- data/docs/PKICertificateIssueDetails.md +6 -0
- data/docs/RotatedSecretCreateSsh.md +4 -0
- data/docs/RotatedSecretDeleteSync.md +2 -0
- data/docs/RotatedSecretDetailsInfo.md +4 -0
- data/docs/RotatedSecretUpdateSsh.md +4 -0
- data/docs/SlackNotiForwarderDetails.md +18 -0
- data/docs/StaticSecretDeleteSync.md +2 -0
- data/docs/TeamsNotiForwarderDetails.md +18 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +2 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOCI.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdatePKICertIssuer.md +6 -0
- data/docs/V2Api.md +4 -4
- data/docs/WebhookNotiForwarderDetails.md +26 -0
- data/docs/WindowsServiceAttributes.md +4 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/active_directory_payload.rb +10 -1
- data/lib/akeyless/models/allowed_client_type.rb +225 -0
- data/lib/akeyless/models/auth_method_access_info.rb +12 -1
- data/lib/akeyless/models/auth_method_create_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_create_email.rb +12 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_update_email.rb +12 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -1
- data/lib/akeyless/models/bastion_global_conf.rb +19 -1
- data/lib/akeyless/models/create_auth_method.rb +12 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/create_auth_method_email.rb +12 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +12 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/ds_producer_details.rb +47 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +92 -12
- data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_get_value.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +92 -12
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +11 -1
- data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
- data/lib/akeyless/models/gateway_create_migration.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +92 -12
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +92 -12
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_remote_access.rb +25 -1
- data/lib/akeyless/models/get_dynamic_secret_value.rb +11 -1
- data/lib/akeyless/models/noti_forwarder_details_input.rb +261 -0
- data/lib/akeyless/models/pki_certificate_issue_details.rb +31 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +21 -1
- data/lib/akeyless/models/rotated_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +21 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +21 -1
- data/lib/akeyless/models/slack_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/static_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/teams_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/update_account_settings.rb +21 -1
- data/lib/akeyless/models/update_auth_method.rb +12 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/webhook_noti_forwarder_details.rb +253 -0
- data/lib/akeyless/models/windows_service_attributes.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/allowed_client_type_spec.rb +42 -0
- data/spec/models/noti_forwarder_details_input_spec.rb +66 -0
- data/spec/models/slack_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/teams_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/webhook_noti_forwarder_details_spec.rb +60 -0
- metadata +21 -1
data/docs/UpdateAuthMethodOCI.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **access_expires** | **Integer** | Access expiration date in Unix timestamp (select 0 for access without expiry date) | [optional][default to 0] |
|
|
8
|
+
| **allowed_client_type** | **Array<String>** | | [optional] |
|
|
8
9
|
| **audit_logs_claims** | **Array<String>** | Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\" | [optional] |
|
|
9
10
|
| **bound_ips** | **Array<String>** | A CIDR whitelist with the IPs that the access is restricted to | [optional] |
|
|
10
11
|
| **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
|
|
@@ -29,6 +30,7 @@ require 'akeyless'
|
|
|
29
30
|
|
|
30
31
|
instance = Akeyless::UpdateAuthMethodOCI.new(
|
|
31
32
|
access_expires: null,
|
|
33
|
+
allowed_client_type: null,
|
|
32
34
|
audit_logs_claims: null,
|
|
33
35
|
bound_ips: null,
|
|
34
36
|
delete_protection: null,
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **access_expires** | **Integer** | Access expiration date in Unix timestamp (select 0 for access without expiry date) | [optional][default to 0] |
|
|
8
|
+
| **allowed_client_type** | **Array<String>** | | [optional] |
|
|
8
9
|
| **allowed_redirect_uri** | **Array<String>** | Allowed redirect URIs after the authentication | [optional] |
|
|
9
10
|
| **audience** | **String** | Audience claim to be used as part of the authentication flow. In case set, it must match the one configured on the Identity Provider's Application | [optional] |
|
|
10
11
|
| **audit_logs_claims** | **Array<String>** | Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\" | [optional] |
|
|
@@ -36,6 +37,7 @@ require 'akeyless'
|
|
|
36
37
|
|
|
37
38
|
instance = Akeyless::UpdateAuthMethodOIDC.new(
|
|
38
39
|
access_expires: null,
|
|
40
|
+
allowed_client_type: null,
|
|
39
41
|
allowed_redirect_uri: null,
|
|
40
42
|
audience: null,
|
|
41
43
|
audit_logs_claims: null,
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **access_expires** | **Integer** | Access expiration date in Unix timestamp (select 0 for access without expiry date) | [optional][default to 0] |
|
|
8
|
+
| **allowed_client_type** | **Array<String>** | | [optional] |
|
|
8
9
|
| **allowed_redirect_uri** | **Array<String>** | Allowed redirect URIs after the authentication | [optional] |
|
|
9
10
|
| **audit_logs_claims** | **Array<String>** | Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\" | [optional] |
|
|
10
11
|
| **bound_ips** | **Array<String>** | A CIDR whitelist with the IPs that the access is restricted to | [optional] |
|
|
@@ -32,6 +33,7 @@ require 'akeyless'
|
|
|
32
33
|
|
|
33
34
|
instance = Akeyless::UpdateAuthMethodSAML.new(
|
|
34
35
|
access_expires: null,
|
|
36
|
+
allowed_client_type: null,
|
|
35
37
|
allowed_redirect_uri: null,
|
|
36
38
|
audit_logs_claims: null,
|
|
37
39
|
bound_ips: null,
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **access_expires** | **Integer** | Access expiration date in Unix timestamp (select 0 for access without expiry date) | [optional][default to 0] |
|
|
8
|
+
| **allowed_client_type** | **Array<String>** | | [optional] |
|
|
8
9
|
| **audit_logs_claims** | **Array<String>** | Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\" | [optional] |
|
|
9
10
|
| **bound_ips** | **Array<String>** | A CIDR whitelist with the IPs that the access is restricted to | [optional] |
|
|
10
11
|
| **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
|
|
@@ -30,6 +31,7 @@ require 'akeyless'
|
|
|
30
31
|
|
|
31
32
|
instance = Akeyless::UpdateAuthMethodUniversalIdentity.new(
|
|
32
33
|
access_expires: null,
|
|
34
|
+
allowed_client_type: null,
|
|
33
35
|
audit_logs_claims: null,
|
|
34
36
|
bound_ips: null,
|
|
35
37
|
delete_protection: null,
|
data/docs/UpdatePKICertIssuer.md
CHANGED
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
| **code_signing_flag** | **Boolean** | If set, certificates will be flagged for code signing use | [optional] |
|
|
18
18
|
| **country** | **String** | A comma-separated list of countries that will be set in the issued certificate | [optional] |
|
|
19
19
|
| **create_private_crl** | **Boolean** | Set this to allow the issuer will expose a CRL endpoint in the Gateway | [optional] |
|
|
20
|
+
| **create_private_ocsp** | **Boolean** | | [optional] |
|
|
20
21
|
| **create_public_crl** | **Boolean** | Set this to allow the cert issuer will expose a public CRL endpoint | [optional] |
|
|
22
|
+
| **create_public_ocsp** | **Boolean** | | [optional] |
|
|
21
23
|
| **critical_key_usage** | **String** | Mark key usage as critical [true/false] | [optional][default to 'true'] |
|
|
22
24
|
| **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
|
|
23
25
|
| **description** | **String** | Description of the object | [optional] |
|
|
@@ -37,6 +39,7 @@
|
|
|
37
39
|
| **new_name** | **String** | New item name | [optional] |
|
|
38
40
|
| **not_enforce_hostnames** | **Boolean** | If set, any names are allowed for CN and SANs in the certificate and not only a valid host name | [optional] |
|
|
39
41
|
| **not_require_cn** | **Boolean** | If set, clients can request certificates without a CN | [optional] |
|
|
42
|
+
| **ocsp_ttl** | **String** | | [optional] |
|
|
40
43
|
| **organizational_units** | **String** | A comma-separated list of organizational units (OU) that will be set in the issued certificate | [optional] |
|
|
41
44
|
| **organizations** | **String** | A comma-separated list of organizations (O) that will be set in the issued certificate | [optional] |
|
|
42
45
|
| **postal_code** | **String** | A comma-separated list of postal codes that will be set in the issued certificate | [optional] |
|
|
@@ -70,7 +73,9 @@ instance = Akeyless::UpdatePKICertIssuer.new(
|
|
|
70
73
|
code_signing_flag: null,
|
|
71
74
|
country: null,
|
|
72
75
|
create_private_crl: null,
|
|
76
|
+
create_private_ocsp: null,
|
|
73
77
|
create_public_crl: null,
|
|
78
|
+
create_public_ocsp: null,
|
|
74
79
|
critical_key_usage: null,
|
|
75
80
|
delete_protection: null,
|
|
76
81
|
description: null,
|
|
@@ -90,6 +95,7 @@ instance = Akeyless::UpdatePKICertIssuer.new(
|
|
|
90
95
|
new_name: null,
|
|
91
96
|
not_enforce_hostnames: null,
|
|
92
97
|
not_require_cn: null,
|
|
98
|
+
ocsp_ttl: null,
|
|
93
99
|
organizational_units: null,
|
|
94
100
|
organizations: null,
|
|
95
101
|
postal_code: null,
|
data/docs/V2Api.md
CHANGED
|
@@ -8982,7 +8982,7 @@ require 'time'
|
|
|
8982
8982
|
require 'akeyless'
|
|
8983
8983
|
|
|
8984
8984
|
api_instance = Akeyless::V2Api.new
|
|
8985
|
-
dynamic_secret_create_gcp = Akeyless::DynamicSecretCreateGcp.new({name: 'name_example'
|
|
8985
|
+
dynamic_secret_create_gcp = Akeyless::DynamicSecretCreateGcp.new({name: 'name_example'}) # DynamicSecretCreateGcp |
|
|
8986
8986
|
|
|
8987
8987
|
begin
|
|
8988
8988
|
|
|
@@ -11152,7 +11152,7 @@ require 'time'
|
|
|
11152
11152
|
require 'akeyless'
|
|
11153
11153
|
|
|
11154
11154
|
api_instance = Akeyless::V2Api.new
|
|
11155
|
-
dynamic_secret_update_gcp = Akeyless::DynamicSecretUpdateGcp.new({name: 'name_example'
|
|
11155
|
+
dynamic_secret_update_gcp = Akeyless::DynamicSecretUpdateGcp.new({name: 'name_example'}) # DynamicSecretUpdateGcp |
|
|
11156
11156
|
|
|
11157
11157
|
begin
|
|
11158
11158
|
|
|
@@ -14812,7 +14812,7 @@ require 'time'
|
|
|
14812
14812
|
require 'akeyless'
|
|
14813
14813
|
|
|
14814
14814
|
api_instance = Akeyless::V2Api.new
|
|
14815
|
-
gateway_create_producer_gcp = Akeyless::GatewayCreateProducerGcp.new({name: 'name_example'
|
|
14815
|
+
gateway_create_producer_gcp = Akeyless::GatewayCreateProducerGcp.new({name: 'name_example'}) # GatewayCreateProducerGcp |
|
|
14816
14816
|
|
|
14817
14817
|
begin
|
|
14818
14818
|
|
|
@@ -19155,7 +19155,7 @@ require 'time'
|
|
|
19155
19155
|
require 'akeyless'
|
|
19156
19156
|
|
|
19157
19157
|
api_instance = Akeyless::V2Api.new
|
|
19158
|
-
gateway_update_producer_gcp = Akeyless::GatewayUpdateProducerGcp.new({name: 'name_example'
|
|
19158
|
+
gateway_update_producer_gcp = Akeyless::GatewayUpdateProducerGcp.new({name: 'name_example'}) # GatewayUpdateProducerGcp |
|
|
19159
19159
|
|
|
19160
19160
|
begin
|
|
19161
19161
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Akeyless::WebhookNotiForwarderDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **certificate** | **String** | Auth type - Certificate | [optional] |
|
|
8
|
+
| **password** | **String** | Auth type - User Password | [optional] |
|
|
9
|
+
| **private_key** | **String** | | [optional] |
|
|
10
|
+
| **server_certificate** | **String** | | [optional] |
|
|
11
|
+
| **token** | **String** | Auth type - Token | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'akeyless'
|
|
17
|
+
|
|
18
|
+
instance = Akeyless::WebhookNotiForwarderDetails.new(
|
|
19
|
+
certificate: null,
|
|
20
|
+
password: null,
|
|
21
|
+
private_key: null,
|
|
22
|
+
server_certificate: null,
|
|
23
|
+
token: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **connection_type** | **String** | | [optional] |
|
|
8
|
+
| **iis_app_pool** | **Boolean** | IISAppPool marks this entry as an IIS Application Pool rather than a Windows Service | [optional] |
|
|
8
9
|
| **port** | **String** | | [optional] |
|
|
10
|
+
| **skip_restart** | **Boolean** | SkipRestart allows skipping recycle/start of the IIS App Pool after credential update | [optional] |
|
|
9
11
|
| **use_tls** | **Boolean** | | [optional] |
|
|
10
12
|
|
|
11
13
|
## Example
|
|
@@ -15,7 +17,9 @@ require 'akeyless'
|
|
|
15
17
|
|
|
16
18
|
instance = Akeyless::WindowsServiceAttributes.new(
|
|
17
19
|
connection_type: null,
|
|
20
|
+
iis_app_pool: null,
|
|
18
21
|
port: null,
|
|
22
|
+
skip_restart: null,
|
|
19
23
|
use_tls: null
|
|
20
24
|
)
|
|
21
25
|
```
|
|
@@ -24,6 +24,8 @@ module Akeyless
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :ai_insights
|
|
26
26
|
|
|
27
|
+
attr_accessor :allowed_client_types
|
|
28
|
+
|
|
27
29
|
attr_accessor :allowed_clients_ips
|
|
28
30
|
|
|
29
31
|
attr_accessor :allowed_gateways_ips
|
|
@@ -70,6 +72,7 @@ module Akeyless
|
|
|
70
72
|
:'account_default_key_item_id' => :'account_default_key_item_id',
|
|
71
73
|
:'account_default_key_name' => :'account_default_key_name',
|
|
72
74
|
:'ai_insights' => :'ai_insights',
|
|
75
|
+
:'allowed_client_types' => :'allowed_client_types',
|
|
73
76
|
:'allowed_clients_ips' => :'allowed_clients_ips',
|
|
74
77
|
:'allowed_gateways_ips' => :'allowed_gateways_ips',
|
|
75
78
|
:'auth_usage_event' => :'auth_usage_event',
|
|
@@ -103,6 +106,7 @@ module Akeyless
|
|
|
103
106
|
:'account_default_key_item_id' => :'Integer',
|
|
104
107
|
:'account_default_key_name' => :'String',
|
|
105
108
|
:'ai_insights' => :'AiInsightsSetting',
|
|
109
|
+
:'allowed_client_types' => :'AllowedClientType',
|
|
106
110
|
:'allowed_clients_ips' => :'AllowedIpSettings',
|
|
107
111
|
:'allowed_gateways_ips' => :'AllowedIpSettings',
|
|
108
112
|
:'auth_usage_event' => :'UsageEventSetting',
|
|
@@ -158,6 +162,10 @@ module Akeyless
|
|
|
158
162
|
self.ai_insights = attributes[:'ai_insights']
|
|
159
163
|
end
|
|
160
164
|
|
|
165
|
+
if attributes.key?(:'allowed_client_types')
|
|
166
|
+
self.allowed_client_types = attributes[:'allowed_client_types']
|
|
167
|
+
end
|
|
168
|
+
|
|
161
169
|
if attributes.key?(:'allowed_clients_ips')
|
|
162
170
|
self.allowed_clients_ips = attributes[:'allowed_clients_ips']
|
|
163
171
|
end
|
|
@@ -258,6 +266,7 @@ module Akeyless
|
|
|
258
266
|
account_default_key_item_id == o.account_default_key_item_id &&
|
|
259
267
|
account_default_key_name == o.account_default_key_name &&
|
|
260
268
|
ai_insights == o.ai_insights &&
|
|
269
|
+
allowed_client_types == o.allowed_client_types &&
|
|
261
270
|
allowed_clients_ips == o.allowed_clients_ips &&
|
|
262
271
|
allowed_gateways_ips == o.allowed_gateways_ips &&
|
|
263
272
|
auth_usage_event == o.auth_usage_event &&
|
|
@@ -288,7 +297,7 @@ module Akeyless
|
|
|
288
297
|
# Calculates hash code according to all attributes.
|
|
289
298
|
# @return [Integer] Hash code
|
|
290
299
|
def hash
|
|
291
|
-
[account_default_key_item_id, account_default_key_name, ai_insights, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
300
|
+
[account_default_key_item_id, account_default_key_name, ai_insights, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
292
301
|
end
|
|
293
302
|
|
|
294
303
|
# Builds the object from hash
|
|
@@ -25,6 +25,8 @@ module Akeyless
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :computer_base_dn
|
|
27
27
|
|
|
28
|
+
attr_accessor :discover_iis_apps
|
|
29
|
+
|
|
28
30
|
# Deprecated
|
|
29
31
|
attr_accessor :discover_local_users
|
|
30
32
|
|
|
@@ -68,6 +70,7 @@ module Akeyless
|
|
|
68
70
|
:'auto_rotate_interval_in_days' => :'auto_rotate_interval_in_days',
|
|
69
71
|
:'auto_rotate_rotation_hour' => :'auto_rotate_rotation_hour',
|
|
70
72
|
:'computer_base_dn' => :'computer_base_dn',
|
|
73
|
+
:'discover_iis_apps' => :'discover_iis_apps',
|
|
71
74
|
:'discover_local_users' => :'discover_local_users',
|
|
72
75
|
:'discover_services' => :'discover_services',
|
|
73
76
|
:'discovery_types' => :'discovery_types',
|
|
@@ -101,6 +104,7 @@ module Akeyless
|
|
|
101
104
|
:'auto_rotate_interval_in_days' => :'Integer',
|
|
102
105
|
:'auto_rotate_rotation_hour' => :'Integer',
|
|
103
106
|
:'computer_base_dn' => :'String',
|
|
107
|
+
:'discover_iis_apps' => :'Boolean',
|
|
104
108
|
:'discover_local_users' => :'Boolean',
|
|
105
109
|
:'discover_services' => :'Boolean',
|
|
106
110
|
:'discovery_types' => :'Array<String>',
|
|
@@ -162,6 +166,10 @@ module Akeyless
|
|
|
162
166
|
self.computer_base_dn = attributes[:'computer_base_dn']
|
|
163
167
|
end
|
|
164
168
|
|
|
169
|
+
if attributes.key?(:'discover_iis_apps')
|
|
170
|
+
self.discover_iis_apps = attributes[:'discover_iis_apps']
|
|
171
|
+
end
|
|
172
|
+
|
|
165
173
|
if attributes.key?(:'discover_local_users')
|
|
166
174
|
self.discover_local_users = attributes[:'discover_local_users']
|
|
167
175
|
end
|
|
@@ -262,6 +270,7 @@ module Akeyless
|
|
|
262
270
|
auto_rotate_interval_in_days == o.auto_rotate_interval_in_days &&
|
|
263
271
|
auto_rotate_rotation_hour == o.auto_rotate_rotation_hour &&
|
|
264
272
|
computer_base_dn == o.computer_base_dn &&
|
|
273
|
+
discover_iis_apps == o.discover_iis_apps &&
|
|
265
274
|
discover_local_users == o.discover_local_users &&
|
|
266
275
|
discover_services == o.discover_services &&
|
|
267
276
|
discovery_types == o.discovery_types &&
|
|
@@ -290,7 +299,7 @@ module Akeyless
|
|
|
290
299
|
# Calculates hash code according to all attributes.
|
|
291
300
|
# @return [Integer] Hash code
|
|
292
301
|
def hash
|
|
293
|
-
[active_directory_target_id, auto_rotate, auto_rotate_interval_in_days, auto_rotate_rotation_hour, computer_base_dn, discover_local_users, discover_services, discovery_types, domain_name, domain_server_targets_path_template, domain_users_rotated_secrets_path_template, enable_rdp_sra, local_users_ignore_list, local_users_rotated_secrets_path_template, os_filter, ssh_port, target_format, targets_type, user_base_dn, user_groups, winrm_over_http, winrm_port].hash
|
|
302
|
+
[active_directory_target_id, auto_rotate, auto_rotate_interval_in_days, auto_rotate_rotation_hour, computer_base_dn, discover_iis_apps, discover_local_users, discover_services, discovery_types, domain_name, domain_server_targets_path_template, domain_users_rotated_secrets_path_template, enable_rdp_sra, local_users_ignore_list, local_users_rotated_secrets_path_template, os_filter, ssh_port, target_format, targets_type, user_base_dn, user_groups, winrm_over_http, winrm_port].hash
|
|
294
303
|
end
|
|
295
304
|
|
|
296
305
|
# Builds the object from hash
|
|
@@ -0,0 +1,225 @@
|
|
|
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 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class AllowedClientType
|
|
18
|
+
attr_accessor :client_types
|
|
19
|
+
|
|
20
|
+
attr_accessor :lock
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'client_types' => :'client_types',
|
|
26
|
+
:'lock' => :'lock'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns all the JSON keys this model knows about
|
|
31
|
+
def self.acceptable_attributes
|
|
32
|
+
attribute_map.values
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Attribute type mapping.
|
|
36
|
+
def self.openapi_types
|
|
37
|
+
{
|
|
38
|
+
:'client_types' => :'Array<String>',
|
|
39
|
+
:'lock' => :'Boolean'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# List of attributes with nullable: true
|
|
44
|
+
def self.openapi_nullable
|
|
45
|
+
Set.new([
|
|
46
|
+
])
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
if (!attributes.is_a?(Hash))
|
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::AllowedClientType` initialize method"
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::AllowedClientType`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
60
|
+
end
|
|
61
|
+
h[k.to_sym] = v
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if attributes.key?(:'client_types')
|
|
65
|
+
if (value = attributes[:'client_types']).is_a?(Array)
|
|
66
|
+
self.client_types = value
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'lock')
|
|
71
|
+
self.lock = attributes[:'lock']
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
76
|
+
# @return Array for valid properties with the reasons
|
|
77
|
+
def list_invalid_properties
|
|
78
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
79
|
+
invalid_properties = Array.new
|
|
80
|
+
invalid_properties
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Check to see if the all the properties in the model are valid
|
|
84
|
+
# @return true if the model is valid
|
|
85
|
+
def valid?
|
|
86
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
87
|
+
true
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Checks equality by comparing each attribute.
|
|
91
|
+
# @param [Object] Object to be compared
|
|
92
|
+
def ==(o)
|
|
93
|
+
return true if self.equal?(o)
|
|
94
|
+
self.class == o.class &&
|
|
95
|
+
client_types == o.client_types &&
|
|
96
|
+
lock == o.lock
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# @see the `==` method
|
|
100
|
+
# @param [Object] Object to be compared
|
|
101
|
+
def eql?(o)
|
|
102
|
+
self == o
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Calculates hash code according to all attributes.
|
|
106
|
+
# @return [Integer] Hash code
|
|
107
|
+
def hash
|
|
108
|
+
[client_types, lock].hash
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Builds the object from hash
|
|
112
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
113
|
+
# @return [Object] Returns the model itself
|
|
114
|
+
def self.build_from_hash(attributes)
|
|
115
|
+
return nil unless attributes.is_a?(Hash)
|
|
116
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
117
|
+
transformed_hash = {}
|
|
118
|
+
openapi_types.each_pair do |key, type|
|
|
119
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
120
|
+
transformed_hash["#{key}"] = nil
|
|
121
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
122
|
+
# check to ensure the input is an array given that the attribute
|
|
123
|
+
# is documented as an array but the input is not
|
|
124
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
125
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
126
|
+
end
|
|
127
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
128
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
new(transformed_hash)
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Deserializes the data based on type
|
|
135
|
+
# @param string type Data type
|
|
136
|
+
# @param string value Value to be deserialized
|
|
137
|
+
# @return [Object] Deserialized data
|
|
138
|
+
def self._deserialize(type, value)
|
|
139
|
+
case type.to_sym
|
|
140
|
+
when :Time
|
|
141
|
+
Time.parse(value)
|
|
142
|
+
when :Date
|
|
143
|
+
Date.parse(value)
|
|
144
|
+
when :String
|
|
145
|
+
value.to_s
|
|
146
|
+
when :Integer
|
|
147
|
+
value.to_i
|
|
148
|
+
when :Float
|
|
149
|
+
value.to_f
|
|
150
|
+
when :Boolean
|
|
151
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
152
|
+
true
|
|
153
|
+
else
|
|
154
|
+
false
|
|
155
|
+
end
|
|
156
|
+
when :Object
|
|
157
|
+
# generic object (usually a Hash), return directly
|
|
158
|
+
value
|
|
159
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
160
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
161
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
162
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
163
|
+
k_type = Regexp.last_match[:k_type]
|
|
164
|
+
v_type = Regexp.last_match[:v_type]
|
|
165
|
+
{}.tap do |hash|
|
|
166
|
+
value.each do |k, v|
|
|
167
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
else # model
|
|
171
|
+
# models (e.g. Pet) or oneOf
|
|
172
|
+
klass = Akeyless.const_get(type)
|
|
173
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Returns the string representation of the object
|
|
178
|
+
# @return [String] String presentation of the object
|
|
179
|
+
def to_s
|
|
180
|
+
to_hash.to_s
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
184
|
+
# @return [Hash] Returns the object in the form of hash
|
|
185
|
+
def to_body
|
|
186
|
+
to_hash
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# Returns the object in the form of hash
|
|
190
|
+
# @return [Hash] Returns the object in the form of hash
|
|
191
|
+
def to_hash
|
|
192
|
+
hash = {}
|
|
193
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
194
|
+
value = self.send(attr)
|
|
195
|
+
if value.nil?
|
|
196
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
197
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
hash[param] = _to_hash(value)
|
|
201
|
+
end
|
|
202
|
+
hash
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
# Outputs non-array value in the form of hash
|
|
206
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
207
|
+
# @param [Object] value Any valid value
|
|
208
|
+
# @return [Hash] Returns the value in the form of hash
|
|
209
|
+
def _to_hash(value)
|
|
210
|
+
if value.is_a?(Array)
|
|
211
|
+
value.compact.map { |v| _to_hash(v) }
|
|
212
|
+
elsif value.is_a?(Hash)
|
|
213
|
+
{}.tap do |hash|
|
|
214
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
215
|
+
end
|
|
216
|
+
elsif value.respond_to? :to_hash
|
|
217
|
+
value.to_hash
|
|
218
|
+
else
|
|
219
|
+
value
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
end
|
|
@@ -20,6 +20,8 @@ module Akeyless
|
|
|
20
20
|
# for accounts where AccessId holds encrypted email this field will hold generated AccessId, for accounts based on regular AccessId it will be equal to accessId itself
|
|
21
21
|
attr_accessor :access_id_alias
|
|
22
22
|
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
23
25
|
attr_accessor :api_key_access_rules
|
|
24
26
|
|
|
25
27
|
attr_accessor :audit_logs_claims
|
|
@@ -73,6 +75,7 @@ module Akeyless
|
|
|
73
75
|
{
|
|
74
76
|
:'access_expires' => :'access_expires',
|
|
75
77
|
:'access_id_alias' => :'access_id_alias',
|
|
78
|
+
:'allowed_client_type' => :'allowed_client_type',
|
|
76
79
|
:'api_key_access_rules' => :'api_key_access_rules',
|
|
77
80
|
:'audit_logs_claims' => :'audit_logs_claims',
|
|
78
81
|
:'aws_iam_access_rules' => :'aws_iam_access_rules',
|
|
@@ -109,6 +112,7 @@ module Akeyless
|
|
|
109
112
|
{
|
|
110
113
|
:'access_expires' => :'Integer',
|
|
111
114
|
:'access_id_alias' => :'String',
|
|
115
|
+
:'allowed_client_type' => :'Array<String>',
|
|
112
116
|
:'api_key_access_rules' => :'APIKeyAccessRules',
|
|
113
117
|
:'audit_logs_claims' => :'Array<String>',
|
|
114
118
|
:'aws_iam_access_rules' => :'AWSIAMAccessRules',
|
|
@@ -164,6 +168,12 @@ module Akeyless
|
|
|
164
168
|
self.access_id_alias = attributes[:'access_id_alias']
|
|
165
169
|
end
|
|
166
170
|
|
|
171
|
+
if attributes.key?(:'allowed_client_type')
|
|
172
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
173
|
+
self.allowed_client_type = value
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
167
177
|
if attributes.key?(:'api_key_access_rules')
|
|
168
178
|
self.api_key_access_rules = attributes[:'api_key_access_rules']
|
|
169
179
|
end
|
|
@@ -285,6 +295,7 @@ module Akeyless
|
|
|
285
295
|
self.class == o.class &&
|
|
286
296
|
access_expires == o.access_expires &&
|
|
287
297
|
access_id_alias == o.access_id_alias &&
|
|
298
|
+
allowed_client_type == o.allowed_client_type &&
|
|
288
299
|
api_key_access_rules == o.api_key_access_rules &&
|
|
289
300
|
audit_logs_claims == o.audit_logs_claims &&
|
|
290
301
|
aws_iam_access_rules == o.aws_iam_access_rules &&
|
|
@@ -319,7 +330,7 @@ module Akeyless
|
|
|
319
330
|
# Calculates hash code according to all attributes.
|
|
320
331
|
# @return [Integer] Hash code
|
|
321
332
|
def hash
|
|
322
|
-
[access_expires, access_id_alias, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, sub_claims_delimiters, universal_identity_access_rules].hash
|
|
333
|
+
[access_expires, access_id_alias, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, sub_claims_delimiters, universal_identity_access_rules].hash
|
|
323
334
|
end
|
|
324
335
|
|
|
325
336
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
25
|
attr_accessor :audit_logs_claims
|
|
24
26
|
|
|
@@ -62,6 +64,7 @@ module Akeyless
|
|
|
62
64
|
def self.attribute_map
|
|
63
65
|
{
|
|
64
66
|
:'access_expires' => :'access-expires',
|
|
67
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
65
68
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
66
69
|
:'bound_ips' => :'bound-ips',
|
|
67
70
|
:'delete_protection' => :'delete_protection',
|
|
@@ -87,6 +90,7 @@ module Akeyless
|
|
|
87
90
|
def self.openapi_types
|
|
88
91
|
{
|
|
89
92
|
:'access_expires' => :'Integer',
|
|
93
|
+
:'allowed_client_type' => :'Array<String>',
|
|
90
94
|
:'audit_logs_claims' => :'Array<String>',
|
|
91
95
|
:'bound_ips' => :'Array<String>',
|
|
92
96
|
:'delete_protection' => :'String',
|
|
@@ -130,6 +134,12 @@ module Akeyless
|
|
|
130
134
|
self.access_expires = 0
|
|
131
135
|
end
|
|
132
136
|
|
|
137
|
+
if attributes.key?(:'allowed_client_type')
|
|
138
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
139
|
+
self.allowed_client_type = value
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
133
143
|
if attributes.key?(:'audit_logs_claims')
|
|
134
144
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
135
145
|
self.audit_logs_claims = value
|
|
@@ -225,6 +235,7 @@ module Akeyless
|
|
|
225
235
|
return true if self.equal?(o)
|
|
226
236
|
self.class == o.class &&
|
|
227
237
|
access_expires == o.access_expires &&
|
|
238
|
+
allowed_client_type == o.allowed_client_type &&
|
|
228
239
|
audit_logs_claims == o.audit_logs_claims &&
|
|
229
240
|
bound_ips == o.bound_ips &&
|
|
230
241
|
delete_protection == o.delete_protection &&
|
|
@@ -249,7 +260,7 @@ module Akeyless
|
|
|
249
260
|
# Calculates hash code according to all attributes.
|
|
250
261
|
# @return [Integer] Hash code
|
|
251
262
|
def hash
|
|
252
|
-
[access_expires, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
|
263
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
|
253
264
|
end
|
|
254
265
|
|
|
255
266
|
# Builds the object from hash
|