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
@@ -0,0 +1,223 @@
|
|
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 BatchEncryptionResponseLine
|
18
|
+
attr_accessor :data
|
19
|
+
|
20
|
+
attr_accessor :error
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'data' => :'data',
|
26
|
+
:'error' => :'error'
|
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
|
+
:'data' => :'String',
|
39
|
+
:'error' => :'String'
|
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::BatchEncryptionResponseLine` 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::BatchEncryptionResponseLine`. 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?(:'data')
|
65
|
+
self.data = attributes[:'data']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.key?(:'error')
|
69
|
+
self.error = attributes[:'error']
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
+
# @return Array for valid properties with the reasons
|
75
|
+
def list_invalid_properties
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
77
|
+
invalid_properties = Array.new
|
78
|
+
invalid_properties
|
79
|
+
end
|
80
|
+
|
81
|
+
# Check to see if the all the properties in the model are valid
|
82
|
+
# @return true if the model is valid
|
83
|
+
def valid?
|
84
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
85
|
+
true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Checks equality by comparing each attribute.
|
89
|
+
# @param [Object] Object to be compared
|
90
|
+
def ==(o)
|
91
|
+
return true if self.equal?(o)
|
92
|
+
self.class == o.class &&
|
93
|
+
data == o.data &&
|
94
|
+
error == o.error
|
95
|
+
end
|
96
|
+
|
97
|
+
# @see the `==` method
|
98
|
+
# @param [Object] Object to be compared
|
99
|
+
def eql?(o)
|
100
|
+
self == o
|
101
|
+
end
|
102
|
+
|
103
|
+
# Calculates hash code according to all attributes.
|
104
|
+
# @return [Integer] Hash code
|
105
|
+
def hash
|
106
|
+
[data, error].hash
|
107
|
+
end
|
108
|
+
|
109
|
+
# Builds the object from hash
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
111
|
+
# @return [Object] Returns the model itself
|
112
|
+
def self.build_from_hash(attributes)
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
114
|
+
attributes = attributes.transform_keys(&:to_sym)
|
115
|
+
transformed_hash = {}
|
116
|
+
openapi_types.each_pair do |key, type|
|
117
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
118
|
+
transformed_hash["#{key}"] = nil
|
119
|
+
elsif type =~ /\AArray<(.*)>/i
|
120
|
+
# check to ensure the input is an array given that the attribute
|
121
|
+
# is documented as an array but the input is not
|
122
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
123
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
124
|
+
end
|
125
|
+
elsif !attributes[attribute_map[key]].nil?
|
126
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
127
|
+
end
|
128
|
+
end
|
129
|
+
new(transformed_hash)
|
130
|
+
end
|
131
|
+
|
132
|
+
# Deserializes the data based on type
|
133
|
+
# @param string type Data type
|
134
|
+
# @param string value Value to be deserialized
|
135
|
+
# @return [Object] Deserialized data
|
136
|
+
def self._deserialize(type, value)
|
137
|
+
case type.to_sym
|
138
|
+
when :Time
|
139
|
+
Time.parse(value)
|
140
|
+
when :Date
|
141
|
+
Date.parse(value)
|
142
|
+
when :String
|
143
|
+
value.to_s
|
144
|
+
when :Integer
|
145
|
+
value.to_i
|
146
|
+
when :Float
|
147
|
+
value.to_f
|
148
|
+
when :Boolean
|
149
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
150
|
+
true
|
151
|
+
else
|
152
|
+
false
|
153
|
+
end
|
154
|
+
when :Object
|
155
|
+
# generic object (usually a Hash), return directly
|
156
|
+
value
|
157
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
158
|
+
inner_type = Regexp.last_match[:inner_type]
|
159
|
+
value.map { |v| _deserialize(inner_type, v) }
|
160
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
161
|
+
k_type = Regexp.last_match[:k_type]
|
162
|
+
v_type = Regexp.last_match[:v_type]
|
163
|
+
{}.tap do |hash|
|
164
|
+
value.each do |k, v|
|
165
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
else # model
|
169
|
+
# models (e.g. Pet) or oneOf
|
170
|
+
klass = Akeyless.const_get(type)
|
171
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# Returns the string representation of the object
|
176
|
+
# @return [String] String presentation of the object
|
177
|
+
def to_s
|
178
|
+
to_hash.to_s
|
179
|
+
end
|
180
|
+
|
181
|
+
# to_body is an alias to to_hash (backward compatibility)
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
183
|
+
def to_body
|
184
|
+
to_hash
|
185
|
+
end
|
186
|
+
|
187
|
+
# Returns the object in the form of hash
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
189
|
+
def to_hash
|
190
|
+
hash = {}
|
191
|
+
self.class.attribute_map.each_pair do |attr, param|
|
192
|
+
value = self.send(attr)
|
193
|
+
if value.nil?
|
194
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
195
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
196
|
+
end
|
197
|
+
|
198
|
+
hash[param] = _to_hash(value)
|
199
|
+
end
|
200
|
+
hash
|
201
|
+
end
|
202
|
+
|
203
|
+
# Outputs non-array value in the form of hash
|
204
|
+
# For object, use to_hash. Otherwise, just return the value
|
205
|
+
# @param [Object] value Any valid value
|
206
|
+
# @return [Hash] Returns the value in the form of hash
|
207
|
+
def _to_hash(value)
|
208
|
+
if value.is_a?(Array)
|
209
|
+
value.compact.map { |v| _to_hash(v) }
|
210
|
+
elsif value.is_a?(Hash)
|
211
|
+
{}.tap do |hash|
|
212
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
213
|
+
end
|
214
|
+
elsif value.respond_to? :to_hash
|
215
|
+
value.to_hash
|
216
|
+
else
|
217
|
+
value
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
end
|
222
|
+
|
223
|
+
end
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# Connect is a command that performs secure remote access
|
18
18
|
class Connect
|
19
|
+
# todo - enable when gw-sra unification is done The Gateway URL (configuration management) address, e.g. http://localhost:8000
|
20
|
+
attr_accessor :bastion_gateway_url
|
21
|
+
|
19
22
|
attr_accessor :helper
|
20
23
|
|
21
24
|
# used to override .akeyless-connect.rc in tests
|
@@ -74,6 +77,7 @@ module Akeyless
|
|
74
77
|
# Attribute mapping from ruby-style variable name to JSON key.
|
75
78
|
def self.attribute_map
|
76
79
|
{
|
80
|
+
:'bastion_gateway_url' => :'BastionGatewayUrl',
|
77
81
|
:'helper' => :'Helper',
|
78
82
|
:'rc_file_override' => :'RcFileOverride',
|
79
83
|
:'bastion_ctrl_path' => :'bastion-ctrl-path',
|
@@ -104,6 +108,7 @@ module Akeyless
|
|
104
108
|
# Attribute type mapping.
|
105
109
|
def self.openapi_types
|
106
110
|
{
|
111
|
+
:'bastion_gateway_url' => :'String',
|
107
112
|
:'helper' => :'Object',
|
108
113
|
:'rc_file_override' => :'String',
|
109
114
|
:'bastion_ctrl_path' => :'String',
|
@@ -147,6 +152,10 @@ module Akeyless
|
|
147
152
|
h[k.to_sym] = v
|
148
153
|
}
|
149
154
|
|
155
|
+
if attributes.key?(:'bastion_gateway_url')
|
156
|
+
self.bastion_gateway_url = attributes[:'bastion_gateway_url']
|
157
|
+
end
|
158
|
+
|
150
159
|
if attributes.key?(:'helper')
|
151
160
|
self.helper = attributes[:'helper']
|
152
161
|
end
|
@@ -252,6 +261,7 @@ module Akeyless
|
|
252
261
|
def ==(o)
|
253
262
|
return true if self.equal?(o)
|
254
263
|
self.class == o.class &&
|
264
|
+
bastion_gateway_url == o.bastion_gateway_url &&
|
255
265
|
helper == o.helper &&
|
256
266
|
rc_file_override == o.rc_file_override &&
|
257
267
|
bastion_ctrl_path == o.bastion_ctrl_path &&
|
@@ -282,7 +292,7 @@ module Akeyless
|
|
282
292
|
# Calculates hash code according to all attributes.
|
283
293
|
# @return [Integer] Hash code
|
284
294
|
def hash
|
285
|
-
[helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, identity_file, json, justification, name, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion].hash
|
295
|
+
[bastion_gateway_url, helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, identity_file, json, justification, name, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion].hash
|
286
296
|
end
|
287
297
|
|
288
298
|
# 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
|
# Auth Method description
|
29
32
|
attr_accessor :description
|
30
33
|
|
@@ -58,6 +61,7 @@ module Akeyless
|
|
58
61
|
:'access_expires' => :'access-expires',
|
59
62
|
:'audit_logs_claims' => :'audit-logs-claims',
|
60
63
|
:'bound_ips' => :'bound-ips',
|
64
|
+
:'delete_protection' => :'delete_protection',
|
61
65
|
:'description' => :'description',
|
62
66
|
:'force_sub_claims' => :'force-sub-claims',
|
63
67
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -81,6 +85,7 @@ module Akeyless
|
|
81
85
|
:'access_expires' => :'Integer',
|
82
86
|
:'audit_logs_claims' => :'Array<String>',
|
83
87
|
:'bound_ips' => :'Array<String>',
|
88
|
+
:'delete_protection' => :'String',
|
84
89
|
:'description' => :'String',
|
85
90
|
:'force_sub_claims' => :'Boolean',
|
86
91
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -132,6 +137,10 @@ module Akeyless
|
|
132
137
|
end
|
133
138
|
end
|
134
139
|
|
140
|
+
if attributes.key?(:'delete_protection')
|
141
|
+
self.delete_protection = attributes[:'delete_protection']
|
142
|
+
end
|
143
|
+
|
135
144
|
if attributes.key?(:'description')
|
136
145
|
self.description = attributes[:'description']
|
137
146
|
end
|
@@ -207,6 +216,7 @@ module Akeyless
|
|
207
216
|
access_expires == o.access_expires &&
|
208
217
|
audit_logs_claims == o.audit_logs_claims &&
|
209
218
|
bound_ips == o.bound_ips &&
|
219
|
+
delete_protection == o.delete_protection &&
|
210
220
|
description == o.description &&
|
211
221
|
force_sub_claims == o.force_sub_claims &&
|
212
222
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -227,7 +237,7 @@ module Akeyless
|
|
227
237
|
# Calculates hash code according to all attributes.
|
228
238
|
# @return [Integer] Hash code
|
229
239
|
def hash
|
230
|
-
[access_expires, audit_logs_claims, bound_ips, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
240
|
+
[access_expires, audit_logs_claims, bound_ips, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
231
241
|
end
|
232
242
|
|
233
243
|
# Builds the object from hash
|
@@ -46,6 +46,9 @@ module Akeyless
|
|
46
46
|
# A list of full user-name that the access is restricted to
|
47
47
|
attr_accessor :bound_user_name
|
48
48
|
|
49
|
+
# Protection from accidental deletion of this object [true/false]
|
50
|
+
attr_accessor :delete_protection
|
51
|
+
|
49
52
|
# Auth Method description
|
50
53
|
attr_accessor :description
|
51
54
|
|
@@ -89,6 +92,7 @@ module Akeyless
|
|
89
92
|
:'bound_role_name' => :'bound-role-name',
|
90
93
|
:'bound_user_id' => :'bound-user-id',
|
91
94
|
:'bound_user_name' => :'bound-user-name',
|
95
|
+
:'delete_protection' => :'delete_protection',
|
92
96
|
:'description' => :'description',
|
93
97
|
:'force_sub_claims' => :'force-sub-claims',
|
94
98
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -120,6 +124,7 @@ module Akeyless
|
|
120
124
|
:'bound_role_name' => :'Array<String>',
|
121
125
|
:'bound_user_id' => :'Array<String>',
|
122
126
|
:'bound_user_name' => :'Array<String>',
|
127
|
+
:'delete_protection' => :'String',
|
123
128
|
:'description' => :'String',
|
124
129
|
:'force_sub_claims' => :'Boolean',
|
125
130
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -216,6 +221,10 @@ module Akeyless
|
|
216
221
|
end
|
217
222
|
end
|
218
223
|
|
224
|
+
if attributes.key?(:'delete_protection')
|
225
|
+
self.delete_protection = attributes[:'delete_protection']
|
226
|
+
end
|
227
|
+
|
219
228
|
if attributes.key?(:'description')
|
220
229
|
self.description = attributes[:'description']
|
221
230
|
end
|
@@ -309,6 +318,7 @@ module Akeyless
|
|
309
318
|
bound_role_name == o.bound_role_name &&
|
310
319
|
bound_user_id == o.bound_user_id &&
|
311
320
|
bound_user_name == o.bound_user_name &&
|
321
|
+
delete_protection == o.delete_protection &&
|
312
322
|
description == o.description &&
|
313
323
|
force_sub_claims == o.force_sub_claims &&
|
314
324
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -330,7 +340,7 @@ module Akeyless
|
|
330
340
|
# Calculates hash code according to all attributes.
|
331
341
|
# @return [Integer] Hash code
|
332
342
|
def hash
|
333
|
-
[access_expires, audit_logs_claims, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, sts_url, token, uid_token].hash
|
343
|
+
[access_expires, audit_logs_claims, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, sts_url, token, uid_token].hash
|
334
344
|
end
|
335
345
|
|
336
346
|
# Builds the object from hash
|
@@ -55,6 +55,9 @@ module Akeyless
|
|
55
55
|
# The Azure tenant id that the access is restricted to
|
56
56
|
attr_accessor :bound_tenant_id
|
57
57
|
|
58
|
+
# Protection from accidental deletion of this object [true/false]
|
59
|
+
attr_accessor :delete_protection
|
60
|
+
|
58
61
|
# Auth Method description
|
59
62
|
attr_accessor :description
|
60
63
|
|
@@ -104,6 +107,7 @@ module Akeyless
|
|
104
107
|
:'bound_spid' => :'bound-spid',
|
105
108
|
:'bound_sub_id' => :'bound-sub-id',
|
106
109
|
:'bound_tenant_id' => :'bound-tenant-id',
|
110
|
+
:'delete_protection' => :'delete_protection',
|
107
111
|
:'description' => :'description',
|
108
112
|
:'force_sub_claims' => :'force-sub-claims',
|
109
113
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -139,6 +143,7 @@ module Akeyless
|
|
139
143
|
:'bound_spid' => :'Array<String>',
|
140
144
|
:'bound_sub_id' => :'Array<String>',
|
141
145
|
:'bound_tenant_id' => :'String',
|
146
|
+
:'delete_protection' => :'String',
|
142
147
|
:'description' => :'String',
|
143
148
|
:'force_sub_claims' => :'Boolean',
|
144
149
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -252,6 +257,10 @@ module Akeyless
|
|
252
257
|
self.bound_tenant_id = nil
|
253
258
|
end
|
254
259
|
|
260
|
+
if attributes.key?(:'delete_protection')
|
261
|
+
self.delete_protection = attributes[:'delete_protection']
|
262
|
+
end
|
263
|
+
|
255
264
|
if attributes.key?(:'description')
|
256
265
|
self.description = attributes[:'description']
|
257
266
|
end
|
@@ -354,6 +363,7 @@ module Akeyless
|
|
354
363
|
bound_spid == o.bound_spid &&
|
355
364
|
bound_sub_id == o.bound_sub_id &&
|
356
365
|
bound_tenant_id == o.bound_tenant_id &&
|
366
|
+
delete_protection == o.delete_protection &&
|
357
367
|
description == o.description &&
|
358
368
|
force_sub_claims == o.force_sub_claims &&
|
359
369
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -376,7 +386,7 @@ module Akeyless
|
|
376
386
|
# Calculates hash code according to all attributes.
|
377
387
|
# @return [Integer] Hash code
|
378
388
|
def hash
|
379
|
-
[access_expires, audience, audit_logs_claims, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, description, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, product_type, token, uid_token].hash
|
389
|
+
[access_expires, audience, audit_logs_claims, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, delete_protection, description, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, product_type, token, uid_token].hash
|
380
390
|
end
|
381
391
|
|
382
392
|
# Builds the object from hash
|
@@ -49,6 +49,9 @@ module Akeyless
|
|
49
49
|
# The certificate data in base64, if no file was provided
|
50
50
|
attr_accessor :certificate_data
|
51
51
|
|
52
|
+
# Protection from accidental deletion of this object [true/false]
|
53
|
+
attr_accessor :delete_protection
|
54
|
+
|
52
55
|
# Auth Method description
|
53
56
|
attr_accessor :description
|
54
57
|
|
@@ -96,6 +99,7 @@ module Akeyless
|
|
96
99
|
:'bound_organizational_units' => :'bound-organizational-units',
|
97
100
|
:'bound_uri_sans' => :'bound-uri-sans',
|
98
101
|
:'certificate_data' => :'certificate-data',
|
102
|
+
:'delete_protection' => :'delete_protection',
|
99
103
|
:'description' => :'description',
|
100
104
|
:'force_sub_claims' => :'force-sub-claims',
|
101
105
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -129,6 +133,7 @@ module Akeyless
|
|
129
133
|
:'bound_organizational_units' => :'Array<String>',
|
130
134
|
:'bound_uri_sans' => :'Array<String>',
|
131
135
|
:'certificate_data' => :'String',
|
136
|
+
:'delete_protection' => :'String',
|
132
137
|
:'description' => :'String',
|
133
138
|
:'force_sub_claims' => :'Boolean',
|
134
139
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -226,6 +231,10 @@ module Akeyless
|
|
226
231
|
self.certificate_data = attributes[:'certificate_data']
|
227
232
|
end
|
228
233
|
|
234
|
+
if attributes.key?(:'delete_protection')
|
235
|
+
self.delete_protection = attributes[:'delete_protection']
|
236
|
+
end
|
237
|
+
|
229
238
|
if attributes.key?(:'description')
|
230
239
|
self.description = attributes[:'description']
|
231
240
|
end
|
@@ -326,6 +335,7 @@ module Akeyless
|
|
326
335
|
bound_organizational_units == o.bound_organizational_units &&
|
327
336
|
bound_uri_sans == o.bound_uri_sans &&
|
328
337
|
certificate_data == o.certificate_data &&
|
338
|
+
delete_protection == o.delete_protection &&
|
329
339
|
description == o.description &&
|
330
340
|
force_sub_claims == o.force_sub_claims &&
|
331
341
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -348,7 +358,7 @@ module Akeyless
|
|
348
358
|
# Calculates hash code according to all attributes.
|
349
359
|
# @return [Integer] Hash code
|
350
360
|
def hash
|
351
|
-
[access_expires, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
361
|
+
[access_expires, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
352
362
|
end
|
353
363
|
|
354
364
|
# 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
|
# Auth Method description
|
29
32
|
attr_accessor :description
|
30
33
|
|
@@ -61,6 +64,7 @@ module Akeyless
|
|
61
64
|
:'access_expires' => :'access-expires',
|
62
65
|
:'audit_logs_claims' => :'audit-logs-claims',
|
63
66
|
:'bound_ips' => :'bound-ips',
|
67
|
+
:'delete_protection' => :'delete_protection',
|
64
68
|
:'description' => :'description',
|
65
69
|
:'email' => :'email',
|
66
70
|
:'force_sub_claims' => :'force-sub-claims',
|
@@ -85,6 +89,7 @@ module Akeyless
|
|
85
89
|
:'access_expires' => :'Integer',
|
86
90
|
:'audit_logs_claims' => :'Array<String>',
|
87
91
|
:'bound_ips' => :'Array<String>',
|
92
|
+
:'delete_protection' => :'String',
|
88
93
|
:'description' => :'String',
|
89
94
|
:'email' => :'String',
|
90
95
|
:'force_sub_claims' => :'Boolean',
|
@@ -137,6 +142,10 @@ module Akeyless
|
|
137
142
|
end
|
138
143
|
end
|
139
144
|
|
145
|
+
if attributes.key?(:'delete_protection')
|
146
|
+
self.delete_protection = attributes[:'delete_protection']
|
147
|
+
end
|
148
|
+
|
140
149
|
if attributes.key?(:'description')
|
141
150
|
self.description = attributes[:'description']
|
142
151
|
end
|
@@ -223,6 +232,7 @@ module Akeyless
|
|
223
232
|
access_expires == o.access_expires &&
|
224
233
|
audit_logs_claims == o.audit_logs_claims &&
|
225
234
|
bound_ips == o.bound_ips &&
|
235
|
+
delete_protection == o.delete_protection &&
|
226
236
|
description == o.description &&
|
227
237
|
email == o.email &&
|
228
238
|
force_sub_claims == o.force_sub_claims &&
|
@@ -244,7 +254,7 @@ module Akeyless
|
|
244
254
|
# Calculates hash code according to all attributes.
|
245
255
|
# @return [Integer] Hash code
|
246
256
|
def hash
|
247
|
-
[access_expires, audit_logs_claims, bound_ips, description, email, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
257
|
+
[access_expires, audit_logs_claims, bound_ips, delete_protection, description, email, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
248
258
|
end
|
249
259
|
|
250
260
|
# Builds the object from hash
|
@@ -43,6 +43,9 @@ module Akeyless
|
|
43
43
|
# === Machine authentication section === List of zones that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a zonal group and the group must belong to this zone.
|
44
44
|
attr_accessor :bound_zones
|
45
45
|
|
46
|
+
# Protection from accidental deletion of this object [true/false]
|
47
|
+
attr_accessor :delete_protection
|
48
|
+
|
46
49
|
# Auth Method description
|
47
50
|
attr_accessor :description
|
48
51
|
|
@@ -88,6 +91,7 @@ module Akeyless
|
|
88
91
|
:'bound_regions' => :'bound-regions',
|
89
92
|
:'bound_service_accounts' => :'bound-service-accounts',
|
90
93
|
:'bound_zones' => :'bound-zones',
|
94
|
+
:'delete_protection' => :'delete_protection',
|
91
95
|
:'description' => :'description',
|
92
96
|
:'force_sub_claims' => :'force-sub-claims',
|
93
97
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -119,6 +123,7 @@ module Akeyless
|
|
119
123
|
:'bound_regions' => :'Array<String>',
|
120
124
|
:'bound_service_accounts' => :'Array<String>',
|
121
125
|
:'bound_zones' => :'Array<String>',
|
126
|
+
:'delete_protection' => :'String',
|
122
127
|
:'description' => :'String',
|
123
128
|
:'force_sub_claims' => :'Boolean',
|
124
129
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -208,6 +213,10 @@ module Akeyless
|
|
208
213
|
end
|
209
214
|
end
|
210
215
|
|
216
|
+
if attributes.key?(:'delete_protection')
|
217
|
+
self.delete_protection = attributes[:'delete_protection']
|
218
|
+
end
|
219
|
+
|
211
220
|
if attributes.key?(:'description')
|
212
221
|
self.description = attributes[:'description']
|
213
222
|
end
|
@@ -309,6 +318,7 @@ module Akeyless
|
|
309
318
|
bound_regions == o.bound_regions &&
|
310
319
|
bound_service_accounts == o.bound_service_accounts &&
|
311
320
|
bound_zones == o.bound_zones &&
|
321
|
+
delete_protection == o.delete_protection &&
|
312
322
|
description == o.description &&
|
313
323
|
force_sub_claims == o.force_sub_claims &&
|
314
324
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -331,7 +341,7 @@ module Akeyless
|
|
331
341
|
# Calculates hash code according to all attributes.
|
332
342
|
# @return [Integer] Hash code
|
333
343
|
def hash
|
334
|
-
[access_expires, audience, audit_logs_claims, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, service_account_creds_data, token, type, uid_token].hash
|
344
|
+
[access_expires, audience, audit_logs_claims, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, service_account_creds_data, token, type, uid_token].hash
|
335
345
|
end
|
336
346
|
|
337
347
|
# Builds the object from hash
|
@@ -46,6 +46,9 @@ module Akeyless
|
|
46
46
|
# A list of full user-name that the access is restricted to
|
47
47
|
attr_accessor :bound_user_name
|
48
48
|
|
49
|
+
# Protection from accidental deletion of this object [true/false]
|
50
|
+
attr_accessor :delete_protection
|
51
|
+
|
49
52
|
# Auth Method description
|
50
53
|
attr_accessor :description
|
51
54
|
|
@@ -86,6 +89,7 @@ module Akeyless
|
|
86
89
|
:'bound_tenant_name' => :'bound-tenant-name',
|
87
90
|
:'bound_user_id' => :'bound-user-id',
|
88
91
|
:'bound_user_name' => :'bound-user-name',
|
92
|
+
:'delete_protection' => :'delete_protection',
|
89
93
|
:'description' => :'description',
|
90
94
|
:'force_sub_claims' => :'force-sub-claims',
|
91
95
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -116,6 +120,7 @@ module Akeyless
|
|
116
120
|
:'bound_tenant_name' => :'Array<String>',
|
117
121
|
:'bound_user_id' => :'Array<String>',
|
118
122
|
:'bound_user_name' => :'Array<String>',
|
123
|
+
:'delete_protection' => :'String',
|
119
124
|
:'description' => :'String',
|
120
125
|
:'force_sub_claims' => :'Boolean',
|
121
126
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -209,6 +214,10 @@ module Akeyless
|
|
209
214
|
end
|
210
215
|
end
|
211
216
|
|
217
|
+
if attributes.key?(:'delete_protection')
|
218
|
+
self.delete_protection = attributes[:'delete_protection']
|
219
|
+
end
|
220
|
+
|
212
221
|
if attributes.key?(:'description')
|
213
222
|
self.description = attributes[:'description']
|
214
223
|
end
|
@@ -291,6 +300,7 @@ module Akeyless
|
|
291
300
|
bound_tenant_name == o.bound_tenant_name &&
|
292
301
|
bound_user_id == o.bound_user_id &&
|
293
302
|
bound_user_name == o.bound_user_name &&
|
303
|
+
delete_protection == o.delete_protection &&
|
294
304
|
description == o.description &&
|
295
305
|
force_sub_claims == o.force_sub_claims &&
|
296
306
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -311,7 +321,7 @@ module Akeyless
|
|
311
321
|
# Calculates hash code according to all attributes.
|
312
322
|
# @return [Integer] Hash code
|
313
323
|
def hash
|
314
|
-
[access_expires, audit_logs_claims, auth_url, bound_domain_id, bound_domain_name, bound_ips, bound_tenant_id, bound_tenant_name, bound_user_id, bound_user_name, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
324
|
+
[access_expires, audit_logs_claims, auth_url, bound_domain_id, bound_domain_name, bound_ips, bound_tenant_id, bound_tenant_name, bound_user_id, bound_user_name, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
|
315
325
|
end
|
316
326
|
|
317
327
|
# Builds the object from hash
|