akeyless 4.2.0 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/docs/Auth.md +4 -2
- data/docs/AuthMethod.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/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/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/AuthOutput.md +2 -0
- data/docs/BastionListEntry.md +2 -0
- data/docs/BatchEncryptionRequestLine.md +24 -0
- data/docs/BatchEncryptionResponseLine.md +20 -0
- data/docs/Connect.md +2 -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/CreateCertificate.md +1 -1
- data/docs/CreateClassicKey.md +3 -1
- data/docs/CreateDFCKey.md +3 -1
- data/docs/CreateDynamicSecret.md +1 -1
- data/docs/CreateESM.md +1 -1
- data/docs/CreateKey.md +1 -1
- data/docs/CreateOidcApp.md +1 -1
- data/docs/CreatePKICertIssuer.md +1 -1
- data/docs/CreateRole.md +2 -0
- data/docs/CreateRotatedSecret.md +1 -1
- data/docs/CreateSSHCertIssuer.md +1 -1
- data/docs/CreateSecret.md +1 -1
- data/docs/CreateTokenizer.md +1 -1
- data/docs/CreateUSC.md +1 -1
- data/docs/DSProducerDetails.md +4 -0
- data/docs/DescribeItem.md +2 -0
- data/docs/DynamicSecretCreateArtifactory.md +1 -1
- data/docs/DynamicSecretCreateAws.md +5 -1
- data/docs/DynamicSecretCreateAzure.md +1 -1
- data/docs/DynamicSecretCreateCassandra.md +1 -1
- data/docs/DynamicSecretCreateChef.md +1 -1
- data/docs/DynamicSecretCreateCustom.md +1 -1
- data/docs/DynamicSecretCreateDockerhub.md +1 -1
- data/docs/DynamicSecretCreateEks.md +1 -1
- data/docs/DynamicSecretCreateGcp.md +1 -1
- data/docs/DynamicSecretCreateGithub.md +1 -1
- data/docs/DynamicSecretCreateGitlab.md +1 -1
- data/docs/DynamicSecretCreateGke.md +1 -1
- data/docs/DynamicSecretCreateGoogleWorkspace.md +1 -1
- data/docs/DynamicSecretCreateHanaDb.md +1 -1
- data/docs/DynamicSecretCreateK8s.md +1 -1
- data/docs/DynamicSecretCreateLdap.md +1 -1
- data/docs/DynamicSecretCreateMongoDb.md +1 -1
- data/docs/DynamicSecretCreateMsSql.md +1 -1
- data/docs/DynamicSecretCreateMySql.md +1 -1
- data/docs/DynamicSecretCreateOracleDb.md +1 -1
- data/docs/DynamicSecretCreatePing.md +1 -1
- data/docs/DynamicSecretCreatePostgreSql.md +1 -1
- data/docs/DynamicSecretCreateRabbitMq.md +1 -1
- data/docs/DynamicSecretCreateRdp.md +1 -1
- data/docs/DynamicSecretCreateRedis.md +1 -1
- data/docs/DynamicSecretCreateRedshift.md +1 -1
- data/docs/DynamicSecretCreateSnowflake.md +1 -1
- data/docs/DynamicSecretCreateVenafi.md +1 -1
- data/docs/DynamicSecretUpdateArtifactory.md +1 -1
- data/docs/DynamicSecretUpdateAws.md +5 -1
- data/docs/DynamicSecretUpdateAzure.md +1 -1
- data/docs/DynamicSecretUpdateCassandra.md +1 -1
- data/docs/DynamicSecretUpdateChef.md +1 -1
- data/docs/DynamicSecretUpdateCustom.md +1 -1
- data/docs/DynamicSecretUpdateDockerhub.md +1 -1
- data/docs/DynamicSecretUpdateEks.md +1 -1
- data/docs/DynamicSecretUpdateGcp.md +1 -1
- data/docs/DynamicSecretUpdateGithub.md +1 -1
- data/docs/DynamicSecretUpdateGitlab.md +1 -1
- data/docs/DynamicSecretUpdateGke.md +1 -1
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
- data/docs/DynamicSecretUpdateHanaDb.md +1 -1
- data/docs/DynamicSecretUpdateK8s.md +1 -1
- data/docs/DynamicSecretUpdateLdap.md +1 -1
- data/docs/DynamicSecretUpdateMongoDb.md +1 -1
- data/docs/DynamicSecretUpdateMsSql.md +1 -1
- data/docs/DynamicSecretUpdateMySql.md +1 -1
- data/docs/DynamicSecretUpdateOracleDb.md +1 -1
- data/docs/DynamicSecretUpdatePing.md +1 -1
- data/docs/DynamicSecretUpdatePostgreSql.md +1 -1
- data/docs/DynamicSecretUpdateRabbitMq.md +1 -1
- data/docs/DynamicSecretUpdateRdp.md +1 -1
- data/docs/DynamicSecretUpdateRedis.md +1 -1
- data/docs/DynamicSecretUpdateRedshift.md +1 -1
- data/docs/DynamicSecretUpdateSnowflake.md +1 -1
- data/docs/DynamicSecretUpdateVenafi.md +1 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerArtifactory.md +1 -1
- data/docs/GatewayCreateProducerAws.md +5 -1
- data/docs/GatewayCreateProducerAzure.md +1 -1
- data/docs/GatewayCreateProducerCassandra.md +1 -1
- data/docs/GatewayCreateProducerChef.md +1 -1
- data/docs/GatewayCreateProducerCustom.md +1 -1
- data/docs/GatewayCreateProducerDockerhub.md +1 -1
- data/docs/GatewayCreateProducerEks.md +1 -1
- data/docs/GatewayCreateProducerGcp.md +1 -1
- data/docs/GatewayCreateProducerGithub.md +1 -1
- data/docs/GatewayCreateProducerGke.md +1 -1
- data/docs/GatewayCreateProducerHanaDb.md +1 -1
- data/docs/GatewayCreateProducerLdap.md +1 -1
- data/docs/GatewayCreateProducerMSSQL.md +1 -1
- data/docs/GatewayCreateProducerMongo.md +1 -1
- data/docs/GatewayCreateProducerMySQL.md +1 -1
- data/docs/GatewayCreateProducerNativeK8S.md +1 -1
- data/docs/GatewayCreateProducerOracleDb.md +1 -1
- data/docs/GatewayCreateProducerPing.md +1 -1
- data/docs/GatewayCreateProducerPostgreSQL.md +1 -1
- data/docs/GatewayCreateProducerRabbitMQ.md +1 -1
- data/docs/GatewayCreateProducerRdp.md +1 -1
- data/docs/GatewayCreateProducerRedis.md +1 -1
- data/docs/GatewayCreateProducerRedshift.md +1 -1
- data/docs/GatewayCreateProducerSnowflake.md +1 -1
- data/docs/GatewayCreateProducerVenafi.md +1 -1
- data/docs/GatewayUpdateItem.md +1 -1
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerArtifactory.md +1 -1
- data/docs/GatewayUpdateProducerAws.md +5 -1
- data/docs/GatewayUpdateProducerAzure.md +1 -1
- data/docs/GatewayUpdateProducerCassandra.md +1 -1
- data/docs/GatewayUpdateProducerChef.md +1 -1
- data/docs/GatewayUpdateProducerCustom.md +1 -1
- data/docs/GatewayUpdateProducerDockerhub.md +1 -1
- data/docs/GatewayUpdateProducerEks.md +1 -1
- data/docs/GatewayUpdateProducerGcp.md +1 -1
- data/docs/GatewayUpdateProducerGithub.md +1 -1
- data/docs/GatewayUpdateProducerGke.md +1 -1
- data/docs/GatewayUpdateProducerHanaDb.md +1 -1
- data/docs/GatewayUpdateProducerLdap.md +1 -1
- data/docs/GatewayUpdateProducerMSSQL.md +1 -1
- data/docs/GatewayUpdateProducerMongo.md +1 -1
- data/docs/GatewayUpdateProducerMySQL.md +1 -1
- data/docs/GatewayUpdateProducerNativeK8S.md +1 -1
- data/docs/GatewayUpdateProducerOracleDb.md +1 -1
- data/docs/GatewayUpdateProducerPing.md +1 -1
- data/docs/GatewayUpdateProducerPostgreSQL.md +1 -1
- data/docs/GatewayUpdateProducerRabbitMQ.md +1 -1
- data/docs/GatewayUpdateProducerRdp.md +1 -1
- data/docs/GatewayUpdateProducerRedis.md +1 -1
- data/docs/GatewayUpdateProducerRedshift.md +1 -1
- data/docs/GatewayUpdateProducerSnowflake.md +1 -1
- data/docs/GatewayUpdateProducerVenafi.md +1 -1
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/NotiForwarder.md +2 -0
- data/docs/RenewCertificate.md +2 -0
- data/docs/Role.md +2 -0
- data/docs/RotatedSecretCreateAws.md +1 -1
- data/docs/RotatedSecretCreateAzure.md +3 -1
- data/docs/RotatedSecretCreateCassandra.md +1 -1
- data/docs/RotatedSecretCreateCustom.md +3 -1
- data/docs/RotatedSecretCreateDockerhub.md +1 -1
- data/docs/RotatedSecretCreateGcp.md +1 -1
- data/docs/RotatedSecretCreateHanadb.md +1 -1
- data/docs/RotatedSecretCreateLdap.md +1 -1
- data/docs/RotatedSecretCreateMongodb.md +1 -1
- data/docs/RotatedSecretCreateMssql.md +1 -1
- data/docs/RotatedSecretCreateMysql.md +1 -1
- data/docs/RotatedSecretCreateOracledb.md +1 -1
- data/docs/RotatedSecretCreatePostgresql.md +1 -1
- data/docs/RotatedSecretCreateRedis.md +1 -1
- data/docs/RotatedSecretCreateRedshift.md +1 -1
- data/docs/RotatedSecretCreateSnowflake.md +1 -1
- data/docs/RotatedSecretCreateSsh.md +1 -1
- data/docs/RotatedSecretCreateWindows.md +1 -1
- data/docs/RotatedSecretDetailsInfo.md +3 -1
- data/docs/RotatedSecretUpdateAws.md +1 -1
- data/docs/RotatedSecretUpdateAzure.md +3 -1
- data/docs/RotatedSecretUpdateCassandra.md +1 -1
- data/docs/RotatedSecretUpdateCustom.md +3 -1
- data/docs/RotatedSecretUpdateDockerhub.md +1 -1
- data/docs/RotatedSecretUpdateGcp.md +1 -1
- data/docs/RotatedSecretUpdateHanadb.md +1 -1
- data/docs/RotatedSecretUpdateLdap.md +1 -1
- data/docs/RotatedSecretUpdateMongodb.md +1 -1
- data/docs/RotatedSecretUpdateMssql.md +1 -1
- data/docs/RotatedSecretUpdateMysql.md +1 -1
- data/docs/RotatedSecretUpdateOracledb.md +1 -1
- data/docs/RotatedSecretUpdatePostgresql.md +1 -1
- data/docs/RotatedSecretUpdateRedis.md +1 -1
- data/docs/RotatedSecretUpdateRedshift.md +1 -1
- data/docs/RotatedSecretUpdateSnowflake.md +1 -1
- data/docs/RotatedSecretUpdateSsh.md +1 -1
- data/docs/RotatedSecretUpdateWindows.md +1 -1
- 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/UpdateCertificateValue.md +1 -1
- data/docs/UpdateItem.md +1 -1
- data/docs/UpdatePKICertIssuer.md +1 -1
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateSSHCertIssuer.md +1 -1
- data/docs/UploadPKCS12.md +1 -1
- data/docs/UploadRSA.md +3 -1
- data/docs/V2Api.md +126 -0
- data/lib/akeyless/api/v2_api.rb +659 -531
- data/lib/akeyless/models/auth.rb +15 -5
- data/lib/akeyless/models/auth_method.rb +10 -1
- data/lib/akeyless/models/auth_method_create_api_key.rb +11 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +11 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +11 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_create_email.rb +11 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +11 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +11 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +11 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +11 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +11 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +11 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +11 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +11 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_update_email.rb +11 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +11 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +11 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +11 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +11 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +11 -1
- data/lib/akeyless/models/auth_output.rb +10 -1
- data/lib/akeyless/models/bastion_list_entry.rb +10 -1
- data/lib/akeyless/models/batch_encryption_request_line.rb +243 -0
- data/lib/akeyless/models/batch_encryption_response_line.rb +223 -0
- data/lib/akeyless/models/connect.rb +11 -1
- data/lib/akeyless/models/create_auth_method.rb +11 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +11 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/create_auth_method_email.rb +11 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +11 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/create_certificate.rb +1 -1
- data/lib/akeyless/models/create_classic_key.rb +11 -2
- data/lib/akeyless/models/create_dfc_key.rb +11 -2
- data/lib/akeyless/models/create_dynamic_secret.rb +1 -1
- data/lib/akeyless/models/create_esm.rb +1 -1
- data/lib/akeyless/models/create_key.rb +1 -1
- data/lib/akeyless/models/create_oidc_app.rb +1 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +1 -1
- data/lib/akeyless/models/create_role.rb +11 -1
- data/lib/akeyless/models/create_rotated_secret.rb +1 -1
- data/lib/akeyless/models/create_secret.rb +1 -1
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +1 -1
- data/lib/akeyless/models/create_tokenizer.rb +1 -1
- data/lib/akeyless/models/create_usc.rb +1 -1
- data/lib/akeyless/models/describe_item.rb +13 -1
- data/lib/akeyless/models/ds_producer_details.rb +19 -1
- data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_aws.rb +22 -2
- data/lib/akeyless/models/dynamic_secret_create_azure.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_chef.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_custom.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_dockerhub.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_eks.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_github.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_gitlab.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_gke.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_ldap.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_ping.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_rdp.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_redis.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_redshift.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_create_venafi.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +22 -2
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_rdp.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_redis.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_redshift.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
- data/lib/akeyless/models/gateway_create_migration.rb +10 -1
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_azure.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_custom.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_github.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_gke.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_ping.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_redis.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_venafi.rb +1 -1
- data/lib/akeyless/models/gateway_update_item.rb +1 -1
- data/lib/akeyless/models/gateway_update_migration.rb +10 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_azure.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_custom.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_github.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_gke.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_ping.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_redis.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_venafi.rb +1 -1
- data/lib/akeyless/models/get_rotated_secret_value.rb +0 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/noti_forwarder.rb +10 -1
- data/lib/akeyless/models/renew_certificate.rb +11 -1
- data/lib/akeyless/models/role.rb +10 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -2
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +14 -2
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_redis.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_windows.rb +1 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +13 -4
- data/lib/akeyless/models/rotated_secret_update_aws.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -2
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -2
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_redis.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_windows.rb +1 -1
- data/lib/akeyless/models/update_auth_method.rb +11 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +11 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +11 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/update_certificate_value.rb +1 -1
- data/lib/akeyless/models/update_item.rb +1 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +1 -1
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +1 -1
- data/lib/akeyless/models/upload_pkcs12.rb +1 -1
- data/lib/akeyless/models/upload_rsa.rb +11 -2
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +2 -0
- data/spec/models/batch_encryption_request_line_spec.rb +54 -0
- data/spec/models/batch_encryption_response_line_spec.rb +42 -0
- metadata +985 -977
@@ -25,6 +25,9 @@ module Akeyless
|
|
25
25
|
# A CIDR whitelist with the IPs that the access is restricted to
|
26
26
|
attr_accessor :bound_ips
|
27
27
|
|
28
|
+
# Protection from accidental deletion of this object [true/false]
|
29
|
+
attr_accessor :delete_protection
|
30
|
+
|
28
31
|
# Auth Method description
|
29
32
|
attr_accessor :description
|
30
33
|
|
@@ -67,6 +70,7 @@ module Akeyless
|
|
67
70
|
:'access_expires' => :'access-expires',
|
68
71
|
:'audit_logs_claims' => :'audit-logs-claims',
|
69
72
|
:'bound_ips' => :'bound-ips',
|
73
|
+
:'delete_protection' => :'delete_protection',
|
70
74
|
:'description' => :'description',
|
71
75
|
:'force_sub_claims' => :'force-sub-claims',
|
72
76
|
:'group_ocid' => :'group-ocid',
|
@@ -93,6 +97,7 @@ module Akeyless
|
|
93
97
|
:'access_expires' => :'Integer',
|
94
98
|
:'audit_logs_claims' => :'Array<String>',
|
95
99
|
:'bound_ips' => :'Array<String>',
|
100
|
+
:'delete_protection' => :'String',
|
96
101
|
:'description' => :'String',
|
97
102
|
:'force_sub_claims' => :'Boolean',
|
98
103
|
:'group_ocid' => :'Array<String>',
|
@@ -147,6 +152,10 @@ module Akeyless
|
|
147
152
|
end
|
148
153
|
end
|
149
154
|
|
155
|
+
if attributes.key?(:'delete_protection')
|
156
|
+
self.delete_protection = attributes[:'delete_protection']
|
157
|
+
end
|
158
|
+
|
150
159
|
if attributes.key?(:'description')
|
151
160
|
self.description = attributes[:'description']
|
152
161
|
end
|
@@ -250,6 +259,7 @@ module Akeyless
|
|
250
259
|
access_expires == o.access_expires &&
|
251
260
|
audit_logs_claims == o.audit_logs_claims &&
|
252
261
|
bound_ips == o.bound_ips &&
|
262
|
+
delete_protection == o.delete_protection &&
|
253
263
|
description == o.description &&
|
254
264
|
force_sub_claims == o.force_sub_claims &&
|
255
265
|
group_ocid == o.group_ocid &&
|
@@ -273,7 +283,7 @@ module Akeyless
|
|
273
283
|
# Calculates hash code according to all attributes.
|
274
284
|
# @return [Integer] Hash code
|
275
285
|
def hash
|
276
|
-
[access_expires, audit_logs_claims, bound_ips, description, force_sub_claims, group_ocid, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, tenant_ocid, token, uid_token].hash
|
286
|
+
[access_expires, audit_logs_claims, bound_ips, delete_protection, description, force_sub_claims, group_ocid, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, tenant_ocid, token, uid_token].hash
|
277
287
|
end
|
278
288
|
|
279
289
|
# Builds the object from hash
|
@@ -37,6 +37,9 @@ module Akeyless
|
|
37
37
|
# Client Secret
|
38
38
|
attr_accessor :client_secret
|
39
39
|
|
40
|
+
# Protection from accidental deletion of this object [true/false]
|
41
|
+
attr_accessor :delete_protection
|
42
|
+
|
40
43
|
# Auth Method description
|
41
44
|
attr_accessor :description
|
42
45
|
|
@@ -92,6 +95,7 @@ module Akeyless
|
|
92
95
|
:'bound_ips' => :'bound-ips',
|
93
96
|
:'client_id' => :'client-id',
|
94
97
|
:'client_secret' => :'client-secret',
|
98
|
+
:'delete_protection' => :'delete_protection',
|
95
99
|
:'description' => :'description',
|
96
100
|
:'force_sub_claims' => :'force-sub-claims',
|
97
101
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -125,6 +129,7 @@ module Akeyless
|
|
125
129
|
:'bound_ips' => :'Array<String>',
|
126
130
|
:'client_id' => :'String',
|
127
131
|
:'client_secret' => :'String',
|
132
|
+
:'delete_protection' => :'String',
|
128
133
|
:'description' => :'String',
|
129
134
|
:'force_sub_claims' => :'Boolean',
|
130
135
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -200,6 +205,10 @@ module Akeyless
|
|
200
205
|
self.client_secret = attributes[:'client_secret']
|
201
206
|
end
|
202
207
|
|
208
|
+
if attributes.key?(:'delete_protection')
|
209
|
+
self.delete_protection = attributes[:'delete_protection']
|
210
|
+
end
|
211
|
+
|
203
212
|
if attributes.key?(:'description')
|
204
213
|
self.description = attributes[:'description']
|
205
214
|
end
|
@@ -314,6 +323,7 @@ module Akeyless
|
|
314
323
|
bound_ips == o.bound_ips &&
|
315
324
|
client_id == o.client_id &&
|
316
325
|
client_secret == o.client_secret &&
|
326
|
+
delete_protection == o.delete_protection &&
|
317
327
|
description == o.description &&
|
318
328
|
force_sub_claims == o.force_sub_claims &&
|
319
329
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -340,7 +350,7 @@ module Akeyless
|
|
340
350
|
# Calculates hash code according to all attributes.
|
341
351
|
# @return [Integer] Hash code
|
342
352
|
def hash
|
343
|
-
[access_expires, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, description, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, new_name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
353
|
+
[access_expires, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, delete_protection, description, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, new_name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
344
354
|
end
|
345
355
|
|
346
356
|
# Builds the object from hash
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
28
28
|
# A CIDR whitelist with the IPs that the access is restricted to
|
29
29
|
attr_accessor :bound_ips
|
30
30
|
|
31
|
+
# Protection from accidental deletion of this object [true/false]
|
32
|
+
attr_accessor :delete_protection
|
33
|
+
|
31
34
|
# Auth Method description
|
32
35
|
attr_accessor :description
|
33
36
|
|
@@ -77,6 +80,7 @@ module Akeyless
|
|
77
80
|
:'allowed_redirect_uri' => :'allowed-redirect-uri',
|
78
81
|
:'audit_logs_claims' => :'audit-logs-claims',
|
79
82
|
:'bound_ips' => :'bound-ips',
|
83
|
+
:'delete_protection' => :'delete_protection',
|
80
84
|
:'description' => :'description',
|
81
85
|
:'force_sub_claims' => :'force-sub-claims',
|
82
86
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -106,6 +110,7 @@ module Akeyless
|
|
106
110
|
:'allowed_redirect_uri' => :'Array<String>',
|
107
111
|
:'audit_logs_claims' => :'Array<String>',
|
108
112
|
:'bound_ips' => :'Array<String>',
|
113
|
+
:'delete_protection' => :'String',
|
109
114
|
:'description' => :'String',
|
110
115
|
:'force_sub_claims' => :'Boolean',
|
111
116
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -168,6 +173,10 @@ module Akeyless
|
|
168
173
|
end
|
169
174
|
end
|
170
175
|
|
176
|
+
if attributes.key?(:'delete_protection')
|
177
|
+
self.delete_protection = attributes[:'delete_protection']
|
178
|
+
end
|
179
|
+
|
171
180
|
if attributes.key?(:'description')
|
172
181
|
self.description = attributes[:'description']
|
173
182
|
end
|
@@ -273,6 +282,7 @@ module Akeyless
|
|
273
282
|
allowed_redirect_uri == o.allowed_redirect_uri &&
|
274
283
|
audit_logs_claims == o.audit_logs_claims &&
|
275
284
|
bound_ips == o.bound_ips &&
|
285
|
+
delete_protection == o.delete_protection &&
|
276
286
|
description == o.description &&
|
277
287
|
force_sub_claims == o.force_sub_claims &&
|
278
288
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -298,7 +308,7 @@ module Akeyless
|
|
298
308
|
# Calculates hash code according to all attributes.
|
299
309
|
# @return [Integer] Hash code
|
300
310
|
def hash
|
301
|
-
[access_expires, allowed_redirect_uri, audit_logs_claims, bound_ips, description, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
311
|
+
[access_expires, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
302
312
|
end
|
303
313
|
|
304
314
|
# Builds the object from hash
|
@@ -25,6 +25,9 @@ module Akeyless
|
|
25
25
|
# A CIDR whitelist with the IPs that the access is restricted to
|
26
26
|
attr_accessor :bound_ips
|
27
27
|
|
28
|
+
# Protection from accidental deletion of this object [true/false]
|
29
|
+
attr_accessor :delete_protection
|
30
|
+
|
28
31
|
# Deny from root to create children
|
29
32
|
attr_accessor :deny_inheritance
|
30
33
|
|
@@ -70,6 +73,7 @@ module Akeyless
|
|
70
73
|
:'access_expires' => :'access-expires',
|
71
74
|
:'audit_logs_claims' => :'audit-logs-claims',
|
72
75
|
:'bound_ips' => :'bound-ips',
|
76
|
+
:'delete_protection' => :'delete_protection',
|
73
77
|
:'deny_inheritance' => :'deny-inheritance',
|
74
78
|
:'deny_rotate' => :'deny-rotate',
|
75
79
|
:'description' => :'description',
|
@@ -97,6 +101,7 @@ module Akeyless
|
|
97
101
|
:'access_expires' => :'Integer',
|
98
102
|
:'audit_logs_claims' => :'Array<String>',
|
99
103
|
:'bound_ips' => :'Array<String>',
|
104
|
+
:'delete_protection' => :'String',
|
100
105
|
:'deny_inheritance' => :'Boolean',
|
101
106
|
:'deny_rotate' => :'Boolean',
|
102
107
|
:'description' => :'String',
|
@@ -152,6 +157,10 @@ module Akeyless
|
|
152
157
|
end
|
153
158
|
end
|
154
159
|
|
160
|
+
if attributes.key?(:'delete_protection')
|
161
|
+
self.delete_protection = attributes[:'delete_protection']
|
162
|
+
end
|
163
|
+
|
155
164
|
if attributes.key?(:'deny_inheritance')
|
156
165
|
self.deny_inheritance = attributes[:'deny_inheritance']
|
157
166
|
end
|
@@ -245,6 +254,7 @@ module Akeyless
|
|
245
254
|
access_expires == o.access_expires &&
|
246
255
|
audit_logs_claims == o.audit_logs_claims &&
|
247
256
|
bound_ips == o.bound_ips &&
|
257
|
+
delete_protection == o.delete_protection &&
|
248
258
|
deny_inheritance == o.deny_inheritance &&
|
249
259
|
deny_rotate == o.deny_rotate &&
|
250
260
|
description == o.description &&
|
@@ -269,7 +279,7 @@ module Akeyless
|
|
269
279
|
# Calculates hash code according to all attributes.
|
270
280
|
# @return [Integer] Hash code
|
271
281
|
def hash
|
272
|
-
[access_expires, audit_logs_claims, bound_ips, deny_inheritance, deny_rotate, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, ttl, uid_token].hash
|
282
|
+
[access_expires, audit_logs_claims, bound_ips, delete_protection, deny_inheritance, deny_rotate, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, ttl, uid_token].hash
|
273
283
|
end
|
274
284
|
|
275
285
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class AuthOutput
|
18
|
+
attr_accessor :complete_auth_link
|
19
|
+
|
18
20
|
attr_accessor :creds
|
19
21
|
|
20
22
|
attr_accessor :token
|
@@ -22,6 +24,7 @@ module Akeyless
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
25
|
def self.attribute_map
|
24
26
|
{
|
27
|
+
:'complete_auth_link' => :'complete_auth_link',
|
25
28
|
:'creds' => :'creds',
|
26
29
|
:'token' => :'token'
|
27
30
|
}
|
@@ -35,6 +38,7 @@ module Akeyless
|
|
35
38
|
# Attribute type mapping.
|
36
39
|
def self.openapi_types
|
37
40
|
{
|
41
|
+
:'complete_auth_link' => :'String',
|
38
42
|
:'creds' => :'SystemAccessCredentialsReplyObj',
|
39
43
|
:'token' => :'String'
|
40
44
|
}
|
@@ -61,6 +65,10 @@ module Akeyless
|
|
61
65
|
h[k.to_sym] = v
|
62
66
|
}
|
63
67
|
|
68
|
+
if attributes.key?(:'complete_auth_link')
|
69
|
+
self.complete_auth_link = attributes[:'complete_auth_link']
|
70
|
+
end
|
71
|
+
|
64
72
|
if attributes.key?(:'creds')
|
65
73
|
self.creds = attributes[:'creds']
|
66
74
|
end
|
@@ -90,6 +98,7 @@ module Akeyless
|
|
90
98
|
def ==(o)
|
91
99
|
return true if self.equal?(o)
|
92
100
|
self.class == o.class &&
|
101
|
+
complete_auth_link == o.complete_auth_link &&
|
93
102
|
creds == o.creds &&
|
94
103
|
token == o.token
|
95
104
|
end
|
@@ -103,7 +112,7 @@ module Akeyless
|
|
103
112
|
# Calculates hash code according to all attributes.
|
104
113
|
# @return [Integer] Hash code
|
105
114
|
def hash
|
106
|
-
[creds, token].hash
|
115
|
+
[complete_auth_link, creds, token].hash
|
107
116
|
end
|
108
117
|
|
109
118
|
# Builds the object from hash
|
@@ -27,6 +27,8 @@ module Akeyless
|
|
27
27
|
|
28
28
|
attr_accessor :display_name
|
29
29
|
|
30
|
+
attr_accessor :has_gateway_identity
|
31
|
+
|
30
32
|
attr_accessor :last_report
|
31
33
|
|
32
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -38,6 +40,7 @@ module Akeyless
|
|
38
40
|
:'allowed_urls_per_instance' => :'allowed_urls_per_instance',
|
39
41
|
:'cluster_name' => :'cluster_name',
|
40
42
|
:'display_name' => :'display_name',
|
43
|
+
:'has_gateway_identity' => :'has_gateway_identity',
|
41
44
|
:'last_report' => :'last_report'
|
42
45
|
}
|
43
46
|
end
|
@@ -56,6 +59,7 @@ module Akeyless
|
|
56
59
|
:'allowed_urls_per_instance' => :'Hash<String, Array<String>>',
|
57
60
|
:'cluster_name' => :'String',
|
58
61
|
:'display_name' => :'String',
|
62
|
+
:'has_gateway_identity' => :'Boolean',
|
59
63
|
:'last_report' => :'Time'
|
60
64
|
}
|
61
65
|
end
|
@@ -111,6 +115,10 @@ module Akeyless
|
|
111
115
|
self.display_name = attributes[:'display_name']
|
112
116
|
end
|
113
117
|
|
118
|
+
if attributes.key?(:'has_gateway_identity')
|
119
|
+
self.has_gateway_identity = attributes[:'has_gateway_identity']
|
120
|
+
end
|
121
|
+
|
114
122
|
if attributes.key?(:'last_report')
|
115
123
|
self.last_report = attributes[:'last_report']
|
116
124
|
end
|
@@ -142,6 +150,7 @@ module Akeyless
|
|
142
150
|
allowed_urls_per_instance == o.allowed_urls_per_instance &&
|
143
151
|
cluster_name == o.cluster_name &&
|
144
152
|
display_name == o.display_name &&
|
153
|
+
has_gateway_identity == o.has_gateway_identity &&
|
145
154
|
last_report == o.last_report
|
146
155
|
end
|
147
156
|
|
@@ -154,7 +163,7 @@ module Akeyless
|
|
154
163
|
# Calculates hash code according to all attributes.
|
155
164
|
# @return [Integer] Hash code
|
156
165
|
def hash
|
157
|
-
[access_id, allowed_access_ids, allowed_urls, allowed_urls_per_instance, cluster_name, display_name, last_report].hash
|
166
|
+
[access_id, allowed_access_ids, allowed_urls, allowed_urls_per_instance, cluster_name, display_name, has_gateway_identity, last_report].hash
|
158
167
|
end
|
159
168
|
|
160
169
|
# Builds the object from hash
|
@@ -0,0 +1,243 @@
|
|
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: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.8.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Akeyless
|
17
|
+
class BatchEncryptionRequestLine
|
18
|
+
attr_accessor :context
|
19
|
+
|
20
|
+
attr_accessor :data
|
21
|
+
|
22
|
+
attr_accessor :item_id
|
23
|
+
|
24
|
+
attr_accessor :item_version
|
25
|
+
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
27
|
+
def self.attribute_map
|
28
|
+
{
|
29
|
+
:'context' => :'context',
|
30
|
+
:'data' => :'data',
|
31
|
+
:'item_id' => :'item_id',
|
32
|
+
:'item_version' => :'item_version'
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Returns all the JSON keys this model knows about
|
37
|
+
def self.acceptable_attributes
|
38
|
+
attribute_map.values
|
39
|
+
end
|
40
|
+
|
41
|
+
# Attribute type mapping.
|
42
|
+
def self.openapi_types
|
43
|
+
{
|
44
|
+
:'context' => :'Hash<String, String>',
|
45
|
+
:'data' => :'String',
|
46
|
+
:'item_id' => :'Integer',
|
47
|
+
:'item_version' => :'Integer'
|
48
|
+
}
|
49
|
+
end
|
50
|
+
|
51
|
+
# List of attributes with nullable: true
|
52
|
+
def self.openapi_nullable
|
53
|
+
Set.new([
|
54
|
+
])
|
55
|
+
end
|
56
|
+
|
57
|
+
# Initializes the object
|
58
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
59
|
+
def initialize(attributes = {})
|
60
|
+
if (!attributes.is_a?(Hash))
|
61
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::BatchEncryptionRequestLine` initialize method"
|
62
|
+
end
|
63
|
+
|
64
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
66
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::BatchEncryptionRequestLine`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
68
|
+
end
|
69
|
+
h[k.to_sym] = v
|
70
|
+
}
|
71
|
+
|
72
|
+
if attributes.key?(:'context')
|
73
|
+
if (value = attributes[:'context']).is_a?(Hash)
|
74
|
+
self.context = value
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
if attributes.key?(:'data')
|
79
|
+
self.data = attributes[:'data']
|
80
|
+
end
|
81
|
+
|
82
|
+
if attributes.key?(:'item_id')
|
83
|
+
self.item_id = attributes[:'item_id']
|
84
|
+
end
|
85
|
+
|
86
|
+
if attributes.key?(:'item_version')
|
87
|
+
self.item_version = attributes[:'item_version']
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
92
|
+
# @return Array for valid properties with the reasons
|
93
|
+
def list_invalid_properties
|
94
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
95
|
+
invalid_properties = Array.new
|
96
|
+
invalid_properties
|
97
|
+
end
|
98
|
+
|
99
|
+
# Check to see if the all the properties in the model are valid
|
100
|
+
# @return true if the model is valid
|
101
|
+
def valid?
|
102
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
103
|
+
true
|
104
|
+
end
|
105
|
+
|
106
|
+
# Checks equality by comparing each attribute.
|
107
|
+
# @param [Object] Object to be compared
|
108
|
+
def ==(o)
|
109
|
+
return true if self.equal?(o)
|
110
|
+
self.class == o.class &&
|
111
|
+
context == o.context &&
|
112
|
+
data == o.data &&
|
113
|
+
item_id == o.item_id &&
|
114
|
+
item_version == o.item_version
|
115
|
+
end
|
116
|
+
|
117
|
+
# @see the `==` method
|
118
|
+
# @param [Object] Object to be compared
|
119
|
+
def eql?(o)
|
120
|
+
self == o
|
121
|
+
end
|
122
|
+
|
123
|
+
# Calculates hash code according to all attributes.
|
124
|
+
# @return [Integer] Hash code
|
125
|
+
def hash
|
126
|
+
[context, data, item_id, item_version].hash
|
127
|
+
end
|
128
|
+
|
129
|
+
# Builds the object from hash
|
130
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
131
|
+
# @return [Object] Returns the model itself
|
132
|
+
def self.build_from_hash(attributes)
|
133
|
+
return nil unless attributes.is_a?(Hash)
|
134
|
+
attributes = attributes.transform_keys(&:to_sym)
|
135
|
+
transformed_hash = {}
|
136
|
+
openapi_types.each_pair do |key, type|
|
137
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
138
|
+
transformed_hash["#{key}"] = nil
|
139
|
+
elsif type =~ /\AArray<(.*)>/i
|
140
|
+
# check to ensure the input is an array given that the attribute
|
141
|
+
# is documented as an array but the input is not
|
142
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
143
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
144
|
+
end
|
145
|
+
elsif !attributes[attribute_map[key]].nil?
|
146
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
147
|
+
end
|
148
|
+
end
|
149
|
+
new(transformed_hash)
|
150
|
+
end
|
151
|
+
|
152
|
+
# Deserializes the data based on type
|
153
|
+
# @param string type Data type
|
154
|
+
# @param string value Value to be deserialized
|
155
|
+
# @return [Object] Deserialized data
|
156
|
+
def self._deserialize(type, value)
|
157
|
+
case type.to_sym
|
158
|
+
when :Time
|
159
|
+
Time.parse(value)
|
160
|
+
when :Date
|
161
|
+
Date.parse(value)
|
162
|
+
when :String
|
163
|
+
value.to_s
|
164
|
+
when :Integer
|
165
|
+
value.to_i
|
166
|
+
when :Float
|
167
|
+
value.to_f
|
168
|
+
when :Boolean
|
169
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
170
|
+
true
|
171
|
+
else
|
172
|
+
false
|
173
|
+
end
|
174
|
+
when :Object
|
175
|
+
# generic object (usually a Hash), return directly
|
176
|
+
value
|
177
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
178
|
+
inner_type = Regexp.last_match[:inner_type]
|
179
|
+
value.map { |v| _deserialize(inner_type, v) }
|
180
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
181
|
+
k_type = Regexp.last_match[:k_type]
|
182
|
+
v_type = Regexp.last_match[:v_type]
|
183
|
+
{}.tap do |hash|
|
184
|
+
value.each do |k, v|
|
185
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
else # model
|
189
|
+
# models (e.g. Pet) or oneOf
|
190
|
+
klass = Akeyless.const_get(type)
|
191
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
# Returns the string representation of the object
|
196
|
+
# @return [String] String presentation of the object
|
197
|
+
def to_s
|
198
|
+
to_hash.to_s
|
199
|
+
end
|
200
|
+
|
201
|
+
# to_body is an alias to to_hash (backward compatibility)
|
202
|
+
# @return [Hash] Returns the object in the form of hash
|
203
|
+
def to_body
|
204
|
+
to_hash
|
205
|
+
end
|
206
|
+
|
207
|
+
# Returns the object in the form of hash
|
208
|
+
# @return [Hash] Returns the object in the form of hash
|
209
|
+
def to_hash
|
210
|
+
hash = {}
|
211
|
+
self.class.attribute_map.each_pair do |attr, param|
|
212
|
+
value = self.send(attr)
|
213
|
+
if value.nil?
|
214
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
215
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
216
|
+
end
|
217
|
+
|
218
|
+
hash[param] = _to_hash(value)
|
219
|
+
end
|
220
|
+
hash
|
221
|
+
end
|
222
|
+
|
223
|
+
# Outputs non-array value in the form of hash
|
224
|
+
# For object, use to_hash. Otherwise, just return the value
|
225
|
+
# @param [Object] value Any valid value
|
226
|
+
# @return [Hash] Returns the value in the form of hash
|
227
|
+
def _to_hash(value)
|
228
|
+
if value.is_a?(Array)
|
229
|
+
value.compact.map { |v| _to_hash(v) }
|
230
|
+
elsif value.is_a?(Hash)
|
231
|
+
{}.tap do |hash|
|
232
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
233
|
+
end
|
234
|
+
elsif value.respond_to? :to_hash
|
235
|
+
value.to_hash
|
236
|
+
else
|
237
|
+
value
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
end
|
242
|
+
|
243
|
+
end
|