akeyless 5.0.37 → 5.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -2
- data/docs/AssocTargetItem.md +5 -1
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +2 -0
- data/docs/AuthMethodCreateSAML.md +2 -0
- data/docs/AuthMethodUpdateOIDC.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +2 -0
- data/docs/ClientEvent.md +26 -0
- data/docs/ClientEventOutput.md +18 -0
- data/docs/Connect.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateLdapTarget.md +3 -1
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DigiCertTargetDetails.md +8 -0
- data/docs/DynamicSecretCreateAerospike.md +1 -1
- data/docs/DynamicSecretCreateArtifactory.md +1 -1
- data/docs/DynamicSecretCreateAws.md +1 -1
- data/docs/DynamicSecretCreateAzure.md +1 -1
- data/docs/DynamicSecretCreateCassandra.md +1 -1
- data/docs/DynamicSecretCreateChef.md +2 -2
- 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/DynamicSecretCreateOpenAI.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/DynamicSecretTmpCredsDelete.md +1 -1
- data/docs/DynamicSecretTmpCredsGet.md +1 -1
- data/docs/DynamicSecretTmpCredsUpdate.md +1 -1
- data/docs/DynamicSecretUpdateAerospike.md +1 -1
- data/docs/DynamicSecretUpdateArtifactory.md +1 -1
- data/docs/DynamicSecretUpdateAws.md +1 -1
- data/docs/DynamicSecretUpdateAzure.md +1 -1
- data/docs/DynamicSecretUpdateCassandra.md +1 -1
- data/docs/DynamicSecretUpdateChef.md +2 -2
- 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/DynamicSecretUpdateOpenAI.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/EventForwarderCreateEmail.md +1 -1
- data/docs/EventForwarderCreateServiceNow.md +1 -1
- data/docs/EventForwarderCreateSlack.md +1 -1
- data/docs/EventForwarderCreateTeams.md +1 -1
- data/docs/EventForwarderCreateWebhook.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +1 -1
- data/docs/EventForwarderUpdateServiceNow.md +1 -1
- data/docs/EventForwarderUpdateSlack.md +1 -1
- data/docs/EventForwarderUpdateTeams.md +1 -1
- data/docs/EventForwarderUpdateWebhook.md +1 -1
- data/docs/GatewayCreateAllowedAccess.md +1 -1
- data/docs/GatewayCreateProducerArtifactory.md +1 -1
- data/docs/GatewayCreateProducerAws.md +1 -1
- data/docs/GatewayCreateProducerAzure.md +1 -1
- data/docs/GatewayCreateProducerCassandra.md +1 -1
- data/docs/GatewayCreateProducerChef.md +2 -2
- 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/GatewayDeleteProducer.md +1 -1
- data/docs/GatewayGetProducer.md +1 -1
- data/docs/GatewayGetTmpUsers.md +1 -1
- data/docs/GatewayRevokeTmpUsers.md +1 -1
- data/docs/GatewayStartProducer.md +1 -1
- data/docs/GatewayStopProducer.md +1 -1
- data/docs/GatewayUpdateAllowedAccess.md +1 -1
- data/docs/GatewayUpdateProducerArtifactory.md +1 -1
- data/docs/GatewayUpdateProducerAws.md +1 -1
- data/docs/GatewayUpdateProducerAzure.md +1 -1
- data/docs/GatewayUpdateProducerCassandra.md +1 -1
- data/docs/GatewayUpdateProducerChef.md +2 -2
- 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/GatewayUpdateTmpUsers.md +1 -1
- data/docs/GenerateIntermediateCA.md +48 -0
- data/docs/GenerateIntermediateCAOutput.md +26 -0
- data/docs/GoogleTrustTargetDetails.md +8 -0
- data/docs/InjectorCertificateEvent.md +28 -0
- data/docs/Item.md +2 -0
- data/docs/LdapTargetDetails.md +3 -1
- data/docs/LetsEncryptTargetDetails.md +8 -0
- data/docs/ListSRASessions.md +2 -0
- data/docs/ListSraSessionsOutput.md +3 -3
- data/docs/LockItem.md +1 -1
- data/docs/MigrationGeneral.md +6 -0
- data/docs/PKICertificateIssueDetails.md +4 -0
- data/docs/RequestAccess.md +2 -0
- data/docs/RotatedSecretCreateAerospike.md +1 -1
- data/docs/RotatedSecretCreateAws.md +1 -1
- data/docs/RotatedSecretCreateAzure.md +1 -1
- data/docs/RotatedSecretCreateCassandra.md +1 -1
- data/docs/RotatedSecretCreateCustom.md +1 -1
- data/docs/RotatedSecretCreateDockerhub.md +1 -1
- data/docs/RotatedSecretCreateF5BigIp.md +1 -1
- data/docs/RotatedSecretCreateGcp.md +1 -1
- data/docs/RotatedSecretCreateHanadb.md +1 -1
- data/docs/RotatedSecretCreateHashiVault.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/RotatedSecretCreateOkta.md +82 -0
- data/docs/RotatedSecretCreateOpenAI.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/RotatedSecretCreateSplunk.md +1 -1
- data/docs/RotatedSecretCreateSsh.md +1 -1
- data/docs/RotatedSecretCreateWindows.md +1 -1
- data/docs/RotatedSecretUpdateAerospike.md +1 -1
- data/docs/RotatedSecretUpdateAws.md +1 -1
- data/docs/RotatedSecretUpdateAzure.md +1 -1
- data/docs/RotatedSecretUpdateCassandra.md +1 -1
- data/docs/RotatedSecretUpdateCustom.md +1 -1
- data/docs/RotatedSecretUpdateDockerhub.md +1 -1
- data/docs/RotatedSecretUpdateGcp.md +1 -1
- data/docs/RotatedSecretUpdateHanadb.md +1 -1
- data/docs/RotatedSecretUpdateHashiVault.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/RotatedSecretUpdateOkta.md +84 -0
- data/docs/RotatedSecretUpdateOpenAI.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/RotatedSecretUpdateSplunk.md +1 -1
- data/docs/RotatedSecretUpdateSsh.md +1 -1
- data/docs/RotatedSecretUpdateWindows.md +1 -1
- data/docs/SystemAccessCredentialsReplyObj.md +5 -1
- data/docs/Target.md +2 -0
- data/docs/TargetCreateDigiCert.md +8 -0
- data/docs/TargetCreateGoogleTrust.md +8 -0
- data/docs/TargetCreateLdap.md +3 -1
- data/docs/TargetCreateLetsEncrypt.md +8 -0
- data/docs/TargetUpdateDigiCert.md +8 -0
- data/docs/TargetUpdateGoogleTrust.md +8 -0
- data/docs/TargetUpdateLdap.md +3 -1
- data/docs/TargetUpdateLetsEncrypt.md +8 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateLdapTarget.md +3 -1
- data/docs/UpdatePKICertIssuer.md +6 -0
- data/docs/V2Api.md +257 -3
- data/lib/akeyless/api/v2_api.rb +260 -0
- data/lib/akeyless/models/assoc_target_item.rb +24 -2
- data/lib/akeyless/models/auth_method_access_info.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_update_oidc.rb +11 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +11 -1
- data/lib/akeyless/models/client_event.rb +256 -0
- data/lib/akeyless/models/client_event_output.rb +214 -0
- data/lib/akeyless/models/connect.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_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_ldap_target.rb +14 -4
- data/lib/akeyless/models/create_pki_cert_issuer.rb +31 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +43 -1
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/dynamic_secret_create_aerospike.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_aws.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_azure.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_chef.rb +11 -11
- data/lib/akeyless/models/dynamic_secret_create_custom.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_dockerhub.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_eks.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_github.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_gitlab.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_gke.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_ldap.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_open_ai.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_ping.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_rdp.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_redis.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_redshift.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_create_venafi.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_tmp_creds_delete.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_tmp_creds_get.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_tmp_creds_update.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_aerospike.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +11 -11
- data/lib/akeyless/models/dynamic_secret_update_custom.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_github.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_open_ai.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_ping.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_rdp.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_redis.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_redshift.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +3 -3
- data/lib/akeyless/models/dynamic_secret_update_venafi.rb +3 -3
- data/lib/akeyless/models/event_forwarder_create_email.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
- data/lib/akeyless/models/gateway_create_allowed_access.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_aws.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_azure.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_chef.rb +11 -11
- data/lib/akeyless/models/gateway_create_producer_custom.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_eks.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_github.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_gke.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_ping.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_redis.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +3 -3
- data/lib/akeyless/models/gateway_create_producer_venafi.rb +3 -3
- data/lib/akeyless/models/gateway_delete_producer.rb +3 -3
- data/lib/akeyless/models/gateway_get_producer.rb +3 -3
- data/lib/akeyless/models/gateway_get_tmp_users.rb +3 -3
- data/lib/akeyless/models/gateway_revoke_tmp_users.rb +3 -3
- data/lib/akeyless/models/gateway_start_producer.rb +3 -3
- data/lib/akeyless/models/gateway_stop_producer.rb +3 -3
- data/lib/akeyless/models/gateway_update_allowed_access.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_aws.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_azure.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_chef.rb +11 -11
- data/lib/akeyless/models/gateway_update_producer_custom.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_eks.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_github.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_gke.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_ping.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_redis.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +3 -3
- data/lib/akeyless/models/gateway_update_producer_venafi.rb +3 -3
- data/lib/akeyless/models/gateway_update_tmp_users.rb +3 -3
- data/lib/akeyless/models/generate_intermediate_ca.rb +379 -0
- data/lib/akeyless/models/generate_intermediate_ca_output.rb +250 -0
- data/lib/akeyless/models/google_trust_target_details.rb +43 -1
- data/lib/akeyless/models/injector_certificate_event.rb +259 -0
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/ldap_target_details.rb +13 -4
- data/lib/akeyless/models/lets_encrypt_target_details.rb +43 -1
- data/lib/akeyless/models/list_sra_sessions.rb +12 -2
- data/lib/akeyless/models/list_sra_sessions_output.rb +3 -0
- data/lib/akeyless/models/lock_item.rb +1 -1
- data/lib/akeyless/models/migration_general.rb +28 -1
- data/lib/akeyless/models/pki_certificate_issue_details.rb +21 -1
- data/lib/akeyless/models/request_access.rb +11 -1
- data/lib/akeyless/models/rotated_secret_create_aerospike.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_aws.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_azure.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_custom.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_f5_big_ip.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_hashi_vault.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_okta.rb +556 -0
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_redis.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_splunk.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +3 -3
- data/lib/akeyless/models/rotated_secret_create_windows.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_aerospike.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_aws.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_azure.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_custom.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_hashi_vault.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_okta.rb +563 -0
- data/lib/akeyless/models/rotated_secret_update_open_ai.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_redis.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_splunk.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +3 -3
- data/lib/akeyless/models/rotated_secret_update_windows.rb +3 -3
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +26 -4
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +43 -1
- data/lib/akeyless/models/target_create_google_trust.rb +43 -1
- data/lib/akeyless/models/target_create_ldap.rb +14 -4
- data/lib/akeyless/models/target_create_lets_encrypt.rb +43 -1
- data/lib/akeyless/models/target_update_digi_cert.rb +43 -1
- data/lib/akeyless/models/target_update_google_trust.rb +43 -1
- data/lib/akeyless/models/target_update_ldap.rb +14 -4
- data/lib/akeyless/models/target_update_lets_encrypt.rb +43 -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_ldap_target.rb +14 -4
- data/lib/akeyless/models/update_pki_cert_issuer.rb +31 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +7 -0
- data/spec/models/client_event_output_spec.rb +36 -0
- data/spec/models/client_event_spec.rb +60 -0
- data/spec/models/generate_intermediate_ca_output_spec.rb +60 -0
- data/spec/models/generate_intermediate_ca_spec.rb +126 -0
- data/spec/models/injector_certificate_event_spec.rb +66 -0
- data/spec/models/rotated_secret_create_okta_spec.rb +228 -0
- data/spec/models/rotated_secret_update_okta_spec.rb +234 -0
- metadata +30 -2
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class ClientEvent
|
|
18
|
+
# Client event kind. One of: injector-cert
|
|
19
|
+
attr_accessor :event_type
|
|
20
|
+
|
|
21
|
+
attr_accessor :injector_certificate
|
|
22
|
+
|
|
23
|
+
# Set output format to JSON
|
|
24
|
+
attr_accessor :json
|
|
25
|
+
|
|
26
|
+
# Authentication token (see `/auth` and `/configure`)
|
|
27
|
+
attr_accessor :token
|
|
28
|
+
|
|
29
|
+
# The universal identity token, Required only for universal_identity authentication
|
|
30
|
+
attr_accessor :uid_token
|
|
31
|
+
|
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
|
+
def self.attribute_map
|
|
34
|
+
{
|
|
35
|
+
:'event_type' => :'event_type',
|
|
36
|
+
:'injector_certificate' => :'injector_certificate',
|
|
37
|
+
:'json' => :'json',
|
|
38
|
+
:'token' => :'token',
|
|
39
|
+
:'uid_token' => :'uid-token'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Returns all the JSON keys this model knows about
|
|
44
|
+
def self.acceptable_attributes
|
|
45
|
+
attribute_map.values
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Attribute type mapping.
|
|
49
|
+
def self.openapi_types
|
|
50
|
+
{
|
|
51
|
+
:'event_type' => :'String',
|
|
52
|
+
:'injector_certificate' => :'InjectorCertificateEvent',
|
|
53
|
+
:'json' => :'Boolean',
|
|
54
|
+
:'token' => :'String',
|
|
55
|
+
:'uid_token' => :'String'
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# List of attributes with nullable: true
|
|
60
|
+
def self.openapi_nullable
|
|
61
|
+
Set.new([
|
|
62
|
+
])
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Initializes the object
|
|
66
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
67
|
+
def initialize(attributes = {})
|
|
68
|
+
if (!attributes.is_a?(Hash))
|
|
69
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::ClientEvent` initialize method"
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
73
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
74
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
75
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::ClientEvent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
76
|
+
end
|
|
77
|
+
h[k.to_sym] = v
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if attributes.key?(:'event_type')
|
|
81
|
+
self.event_type = attributes[:'event_type']
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'injector_certificate')
|
|
85
|
+
self.injector_certificate = attributes[:'injector_certificate']
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.key?(:'json')
|
|
89
|
+
self.json = attributes[:'json']
|
|
90
|
+
else
|
|
91
|
+
self.json = false
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'token')
|
|
95
|
+
self.token = attributes[:'token']
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'uid_token')
|
|
99
|
+
self.uid_token = attributes[:'uid_token']
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
104
|
+
# @return Array for valid properties with the reasons
|
|
105
|
+
def list_invalid_properties
|
|
106
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
107
|
+
invalid_properties = Array.new
|
|
108
|
+
invalid_properties
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Check to see if the all the properties in the model are valid
|
|
112
|
+
# @return true if the model is valid
|
|
113
|
+
def valid?
|
|
114
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
115
|
+
true
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Checks equality by comparing each attribute.
|
|
119
|
+
# @param [Object] Object to be compared
|
|
120
|
+
def ==(o)
|
|
121
|
+
return true if self.equal?(o)
|
|
122
|
+
self.class == o.class &&
|
|
123
|
+
event_type == o.event_type &&
|
|
124
|
+
injector_certificate == o.injector_certificate &&
|
|
125
|
+
json == o.json &&
|
|
126
|
+
token == o.token &&
|
|
127
|
+
uid_token == o.uid_token
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# @see the `==` method
|
|
131
|
+
# @param [Object] Object to be compared
|
|
132
|
+
def eql?(o)
|
|
133
|
+
self == o
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Calculates hash code according to all attributes.
|
|
137
|
+
# @return [Integer] Hash code
|
|
138
|
+
def hash
|
|
139
|
+
[event_type, injector_certificate, json, token, uid_token].hash
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Builds the object from hash
|
|
143
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
144
|
+
# @return [Object] Returns the model itself
|
|
145
|
+
def self.build_from_hash(attributes)
|
|
146
|
+
return nil unless attributes.is_a?(Hash)
|
|
147
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
148
|
+
transformed_hash = {}
|
|
149
|
+
openapi_types.each_pair do |key, type|
|
|
150
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
151
|
+
transformed_hash["#{key}"] = nil
|
|
152
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
153
|
+
# check to ensure the input is an array given that the attribute
|
|
154
|
+
# is documented as an array but the input is not
|
|
155
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
156
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
157
|
+
end
|
|
158
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
159
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
new(transformed_hash)
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Deserializes the data based on type
|
|
166
|
+
# @param string type Data type
|
|
167
|
+
# @param string value Value to be deserialized
|
|
168
|
+
# @return [Object] Deserialized data
|
|
169
|
+
def self._deserialize(type, value)
|
|
170
|
+
case type.to_sym
|
|
171
|
+
when :Time
|
|
172
|
+
Time.parse(value)
|
|
173
|
+
when :Date
|
|
174
|
+
Date.parse(value)
|
|
175
|
+
when :String
|
|
176
|
+
value.to_s
|
|
177
|
+
when :Integer
|
|
178
|
+
value.to_i
|
|
179
|
+
when :Float
|
|
180
|
+
value.to_f
|
|
181
|
+
when :Boolean
|
|
182
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
183
|
+
true
|
|
184
|
+
else
|
|
185
|
+
false
|
|
186
|
+
end
|
|
187
|
+
when :Object
|
|
188
|
+
# generic object (usually a Hash), return directly
|
|
189
|
+
value
|
|
190
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
191
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
192
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
193
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
194
|
+
k_type = Regexp.last_match[:k_type]
|
|
195
|
+
v_type = Regexp.last_match[:v_type]
|
|
196
|
+
{}.tap do |hash|
|
|
197
|
+
value.each do |k, v|
|
|
198
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
else # model
|
|
202
|
+
# models (e.g. Pet) or oneOf
|
|
203
|
+
klass = Akeyless.const_get(type)
|
|
204
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# Returns the string representation of the object
|
|
209
|
+
# @return [String] String presentation of the object
|
|
210
|
+
def to_s
|
|
211
|
+
to_hash.to_s
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
215
|
+
# @return [Hash] Returns the object in the form of hash
|
|
216
|
+
def to_body
|
|
217
|
+
to_hash
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Returns the object in the form of hash
|
|
221
|
+
# @return [Hash] Returns the object in the form of hash
|
|
222
|
+
def to_hash
|
|
223
|
+
hash = {}
|
|
224
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
225
|
+
value = self.send(attr)
|
|
226
|
+
if value.nil?
|
|
227
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
228
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
hash[param] = _to_hash(value)
|
|
232
|
+
end
|
|
233
|
+
hash
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# Outputs non-array value in the form of hash
|
|
237
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
238
|
+
# @param [Object] value Any valid value
|
|
239
|
+
# @return [Hash] Returns the value in the form of hash
|
|
240
|
+
def _to_hash(value)
|
|
241
|
+
if value.is_a?(Array)
|
|
242
|
+
value.compact.map { |v| _to_hash(v) }
|
|
243
|
+
elsif value.is_a?(Hash)
|
|
244
|
+
{}.tap do |hash|
|
|
245
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
246
|
+
end
|
|
247
|
+
elsif value.respond_to? :to_hash
|
|
248
|
+
value.to_hash
|
|
249
|
+
else
|
|
250
|
+
value
|
|
251
|
+
end
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
end
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class ClientEventOutput
|
|
18
|
+
attr_accessor :response
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'response' => :'response'
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Returns all the JSON keys this model knows about
|
|
28
|
+
def self.acceptable_attributes
|
|
29
|
+
attribute_map.values
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Attribute type mapping.
|
|
33
|
+
def self.openapi_types
|
|
34
|
+
{
|
|
35
|
+
:'response' => :'String'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# List of attributes with nullable: true
|
|
40
|
+
def self.openapi_nullable
|
|
41
|
+
Set.new([
|
|
42
|
+
])
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Initializes the object
|
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
47
|
+
def initialize(attributes = {})
|
|
48
|
+
if (!attributes.is_a?(Hash))
|
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::ClientEventOutput` initialize method"
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
54
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::ClientEventOutput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
56
|
+
end
|
|
57
|
+
h[k.to_sym] = v
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if attributes.key?(:'response')
|
|
61
|
+
self.response = attributes[:'response']
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
66
|
+
# @return Array for valid properties with the reasons
|
|
67
|
+
def list_invalid_properties
|
|
68
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
69
|
+
invalid_properties = Array.new
|
|
70
|
+
invalid_properties
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Check to see if the all the properties in the model are valid
|
|
74
|
+
# @return true if the model is valid
|
|
75
|
+
def valid?
|
|
76
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
77
|
+
true
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Checks equality by comparing each attribute.
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def ==(o)
|
|
83
|
+
return true if self.equal?(o)
|
|
84
|
+
self.class == o.class &&
|
|
85
|
+
response == o.response
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# @see the `==` method
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def eql?(o)
|
|
91
|
+
self == o
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Calculates hash code according to all attributes.
|
|
95
|
+
# @return [Integer] Hash code
|
|
96
|
+
def hash
|
|
97
|
+
[response].hash
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Builds the object from hash
|
|
101
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
102
|
+
# @return [Object] Returns the model itself
|
|
103
|
+
def self.build_from_hash(attributes)
|
|
104
|
+
return nil unless attributes.is_a?(Hash)
|
|
105
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
106
|
+
transformed_hash = {}
|
|
107
|
+
openapi_types.each_pair do |key, type|
|
|
108
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
109
|
+
transformed_hash["#{key}"] = nil
|
|
110
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
111
|
+
# check to ensure the input is an array given that the attribute
|
|
112
|
+
# is documented as an array but the input is not
|
|
113
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
114
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
115
|
+
end
|
|
116
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
117
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
new(transformed_hash)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Deserializes the data based on type
|
|
124
|
+
# @param string type Data type
|
|
125
|
+
# @param string value Value to be deserialized
|
|
126
|
+
# @return [Object] Deserialized data
|
|
127
|
+
def self._deserialize(type, value)
|
|
128
|
+
case type.to_sym
|
|
129
|
+
when :Time
|
|
130
|
+
Time.parse(value)
|
|
131
|
+
when :Date
|
|
132
|
+
Date.parse(value)
|
|
133
|
+
when :String
|
|
134
|
+
value.to_s
|
|
135
|
+
when :Integer
|
|
136
|
+
value.to_i
|
|
137
|
+
when :Float
|
|
138
|
+
value.to_f
|
|
139
|
+
when :Boolean
|
|
140
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
141
|
+
true
|
|
142
|
+
else
|
|
143
|
+
false
|
|
144
|
+
end
|
|
145
|
+
when :Object
|
|
146
|
+
# generic object (usually a Hash), return directly
|
|
147
|
+
value
|
|
148
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
149
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
150
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
151
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
152
|
+
k_type = Regexp.last_match[:k_type]
|
|
153
|
+
v_type = Regexp.last_match[:v_type]
|
|
154
|
+
{}.tap do |hash|
|
|
155
|
+
value.each do |k, v|
|
|
156
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
else # model
|
|
160
|
+
# models (e.g. Pet) or oneOf
|
|
161
|
+
klass = Akeyless.const_get(type)
|
|
162
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Returns the string representation of the object
|
|
167
|
+
# @return [String] String presentation of the object
|
|
168
|
+
def to_s
|
|
169
|
+
to_hash.to_s
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
|
174
|
+
def to_body
|
|
175
|
+
to_hash
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Returns the object in the form of hash
|
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
|
180
|
+
def to_hash
|
|
181
|
+
hash = {}
|
|
182
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
183
|
+
value = self.send(attr)
|
|
184
|
+
if value.nil?
|
|
185
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
186
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
hash[param] = _to_hash(value)
|
|
190
|
+
end
|
|
191
|
+
hash
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Outputs non-array value in the form of hash
|
|
195
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
196
|
+
# @param [Object] value Any valid value
|
|
197
|
+
# @return [Hash] Returns the value in the form of hash
|
|
198
|
+
def _to_hash(value)
|
|
199
|
+
if value.is_a?(Array)
|
|
200
|
+
value.compact.map { |v| _to_hash(v) }
|
|
201
|
+
elsif value.is_a?(Hash)
|
|
202
|
+
{}.tap do |hash|
|
|
203
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
204
|
+
end
|
|
205
|
+
elsif value.respond_to? :to_hash
|
|
206
|
+
value.to_hash
|
|
207
|
+
else
|
|
208
|
+
value
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
end
|
|
@@ -50,6 +50,9 @@ module Akeyless
|
|
|
50
50
|
# The Secret name (for database and AWS producers - producer name)
|
|
51
51
|
attr_accessor :name
|
|
52
52
|
|
|
53
|
+
# For how long to grant the requested access, in minutes
|
|
54
|
+
attr_accessor :requested_ttl
|
|
55
|
+
|
|
53
56
|
# The Bastion API path
|
|
54
57
|
attr_accessor :sra_ctrl_path
|
|
55
58
|
|
|
@@ -104,6 +107,7 @@ module Akeyless
|
|
|
104
107
|
:'json' => :'json',
|
|
105
108
|
:'justification' => :'justification',
|
|
106
109
|
:'name' => :'name',
|
|
110
|
+
:'requested_ttl' => :'requested-ttl',
|
|
107
111
|
:'sra_ctrl_path' => :'sra-ctrl-path',
|
|
108
112
|
:'sra_ctrl_port' => :'sra-ctrl-port',
|
|
109
113
|
:'sra_ctrl_proto' => :'sra-ctrl-proto',
|
|
@@ -140,6 +144,7 @@ module Akeyless
|
|
|
140
144
|
:'json' => :'Boolean',
|
|
141
145
|
:'justification' => :'String',
|
|
142
146
|
:'name' => :'String',
|
|
147
|
+
:'requested_ttl' => :'Integer',
|
|
143
148
|
:'sra_ctrl_path' => :'String',
|
|
144
149
|
:'sra_ctrl_port' => :'String',
|
|
145
150
|
:'sra_ctrl_proto' => :'String',
|
|
@@ -227,6 +232,10 @@ module Akeyless
|
|
|
227
232
|
self.name = attributes[:'name']
|
|
228
233
|
end
|
|
229
234
|
|
|
235
|
+
if attributes.key?(:'requested_ttl')
|
|
236
|
+
self.requested_ttl = attributes[:'requested_ttl']
|
|
237
|
+
end
|
|
238
|
+
|
|
230
239
|
if attributes.key?(:'sra_ctrl_path')
|
|
231
240
|
self.sra_ctrl_path = attributes[:'sra_ctrl_path']
|
|
232
241
|
end
|
|
@@ -318,6 +327,7 @@ module Akeyless
|
|
|
318
327
|
json == o.json &&
|
|
319
328
|
justification == o.justification &&
|
|
320
329
|
name == o.name &&
|
|
330
|
+
requested_ttl == o.requested_ttl &&
|
|
321
331
|
sra_ctrl_path == o.sra_ctrl_path &&
|
|
322
332
|
sra_ctrl_port == o.sra_ctrl_port &&
|
|
323
333
|
sra_ctrl_proto == o.sra_ctrl_proto &&
|
|
@@ -342,7 +352,7 @@ module Akeyless
|
|
|
342
352
|
# Calculates hash code according to all attributes.
|
|
343
353
|
# @return [Integer] Hash code
|
|
344
354
|
def hash
|
|
345
|
-
[helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, gateway_url, identity_file, json, justification, name, sra_ctrl_path, sra_ctrl_port, sra_ctrl_proto, sra_ctrl_subdomain, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion, via_sra].hash
|
|
355
|
+
[helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, gateway_url, identity_file, json, justification, name, requested_ttl, sra_ctrl_path, sra_ctrl_port, sra_ctrl_proto, sra_ctrl_subdomain, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion, via_sra].hash
|
|
346
356
|
end
|
|
347
357
|
|
|
348
358
|
# Builds the object from hash
|
|
@@ -52,6 +52,9 @@ module Akeyless
|
|
|
52
52
|
# if true: enforce role-association must include sub claims
|
|
53
53
|
attr_accessor :force_sub_claims
|
|
54
54
|
|
|
55
|
+
# Akeyless Gateway URL (Configuration Management port). Relevant only when working with Gateway mode
|
|
56
|
+
attr_accessor :gateway_url
|
|
57
|
+
|
|
55
58
|
# A CIDR whitelist with the GW IPs that the access is restricted to
|
|
56
59
|
attr_accessor :gw_bound_ips
|
|
57
60
|
|
|
@@ -103,6 +106,7 @@ module Akeyless
|
|
|
103
106
|
:'description' => :'description',
|
|
104
107
|
:'expiration_event_in' => :'expiration-event-in',
|
|
105
108
|
:'force_sub_claims' => :'force-sub-claims',
|
|
109
|
+
:'gateway_url' => :'gateway-url',
|
|
106
110
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
107
111
|
:'issuer' => :'issuer',
|
|
108
112
|
:'json' => :'json',
|
|
@@ -138,6 +142,7 @@ module Akeyless
|
|
|
138
142
|
:'description' => :'String',
|
|
139
143
|
:'expiration_event_in' => :'Array<String>',
|
|
140
144
|
:'force_sub_claims' => :'Boolean',
|
|
145
|
+
:'gateway_url' => :'String',
|
|
141
146
|
:'gw_bound_ips' => :'Array<String>',
|
|
142
147
|
:'issuer' => :'String',
|
|
143
148
|
:'json' => :'Boolean',
|
|
@@ -234,6 +239,10 @@ module Akeyless
|
|
|
234
239
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
235
240
|
end
|
|
236
241
|
|
|
242
|
+
if attributes.key?(:'gateway_url')
|
|
243
|
+
self.gateway_url = attributes[:'gateway_url']
|
|
244
|
+
end
|
|
245
|
+
|
|
237
246
|
if attributes.key?(:'gw_bound_ips')
|
|
238
247
|
if (value = attributes[:'gw_bound_ips']).is_a?(Array)
|
|
239
248
|
self.gw_bound_ips = value
|
|
@@ -341,6 +350,7 @@ module Akeyless
|
|
|
341
350
|
description == o.description &&
|
|
342
351
|
expiration_event_in == o.expiration_event_in &&
|
|
343
352
|
force_sub_claims == o.force_sub_claims &&
|
|
353
|
+
gateway_url == o.gateway_url &&
|
|
344
354
|
gw_bound_ips == o.gw_bound_ips &&
|
|
345
355
|
issuer == o.issuer &&
|
|
346
356
|
json == o.json &&
|
|
@@ -364,7 +374,7 @@ module Akeyless
|
|
|
364
374
|
# Calculates hash code according to all attributes.
|
|
365
375
|
# @return [Integer] Hash code
|
|
366
376
|
def hash
|
|
367
|
-
[access_expires, allowed_client_type, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
377
|
+
[access_expires, allowed_client_type, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, delete_protection, description, expiration_event_in, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwt_ttl, name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
368
378
|
end
|
|
369
379
|
|
|
370
380
|
# Builds the object from hash
|
|
@@ -43,6 +43,9 @@ module Akeyless
|
|
|
43
43
|
# if true: enforce role-association must include sub claims
|
|
44
44
|
attr_accessor :force_sub_claims
|
|
45
45
|
|
|
46
|
+
# Akeyless Gateway URL (Configuration Management port). Relevant only when working with Gateway mode
|
|
47
|
+
attr_accessor :gateway_url
|
|
48
|
+
|
|
46
49
|
# A CIDR whitelist with the GW IPs that the access is restricted to
|
|
47
50
|
attr_accessor :gw_bound_ips
|
|
48
51
|
|
|
@@ -91,6 +94,7 @@ module Akeyless
|
|
|
91
94
|
:'description' => :'description',
|
|
92
95
|
:'expiration_event_in' => :'expiration-event-in',
|
|
93
96
|
:'force_sub_claims' => :'force-sub-claims',
|
|
97
|
+
:'gateway_url' => :'gateway-url',
|
|
94
98
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
95
99
|
:'idp_metadata_url' => :'idp-metadata-url',
|
|
96
100
|
:'idp_metadata_xml_data' => :'idp-metadata-xml-data',
|
|
@@ -123,6 +127,7 @@ module Akeyless
|
|
|
123
127
|
:'description' => :'String',
|
|
124
128
|
:'expiration_event_in' => :'Array<String>',
|
|
125
129
|
:'force_sub_claims' => :'Boolean',
|
|
130
|
+
:'gateway_url' => :'String',
|
|
126
131
|
:'gw_bound_ips' => :'Array<String>',
|
|
127
132
|
:'idp_metadata_url' => :'String',
|
|
128
133
|
:'idp_metadata_xml_data' => :'String',
|
|
@@ -207,6 +212,10 @@ module Akeyless
|
|
|
207
212
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
208
213
|
end
|
|
209
214
|
|
|
215
|
+
if attributes.key?(:'gateway_url')
|
|
216
|
+
self.gateway_url = attributes[:'gateway_url']
|
|
217
|
+
end
|
|
218
|
+
|
|
210
219
|
if attributes.key?(:'gw_bound_ips')
|
|
211
220
|
if (value = attributes[:'gw_bound_ips']).is_a?(Array)
|
|
212
221
|
self.gw_bound_ips = value
|
|
@@ -309,6 +318,7 @@ module Akeyless
|
|
|
309
318
|
description == o.description &&
|
|
310
319
|
expiration_event_in == o.expiration_event_in &&
|
|
311
320
|
force_sub_claims == o.force_sub_claims &&
|
|
321
|
+
gateway_url == o.gateway_url &&
|
|
312
322
|
gw_bound_ips == o.gw_bound_ips &&
|
|
313
323
|
idp_metadata_url == o.idp_metadata_url &&
|
|
314
324
|
idp_metadata_xml_data == o.idp_metadata_xml_data &&
|
|
@@ -332,7 +342,7 @@ module Akeyless
|
|
|
332
342
|
# Calculates hash code according to all attributes.
|
|
333
343
|
# @return [Integer] Hash code
|
|
334
344
|
def hash
|
|
335
|
-
[access_expires, allowed_client_type, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, use_dedicated_saml_urls].hash
|
|
345
|
+
[access_expires, allowed_client_type, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gateway_url, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, use_dedicated_saml_urls].hash
|
|
336
346
|
end
|
|
337
347
|
|
|
338
348
|
# Builds the object from hash
|
|
@@ -49,7 +49,7 @@ module Akeyless
|
|
|
49
49
|
# Event Source type [item, target, auth_method, gateway]
|
|
50
50
|
attr_accessor :event_source_type
|
|
51
51
|
|
|
52
|
-
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
52
|
+
# List of event types to notify about [request-access, access-request-approved, access-request-denied, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
53
53
|
attr_accessor :event_types
|
|
54
54
|
|
|
55
55
|
# Rate of periodic runner repetition in hours
|
|
@@ -67,6 +67,9 @@ module Akeyless
|
|
|
67
67
|
# The universal identity token, Required only for universal_identity authentication
|
|
68
68
|
attr_accessor :uid_token
|
|
69
69
|
|
|
70
|
+
# Username returned for Rotated Secrets. Use the format required by your application, such as sAMAccountName, with or without the domain.
|
|
71
|
+
attr_accessor :username
|
|
72
|
+
|
|
70
73
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
74
|
def self.attribute_map
|
|
72
75
|
{
|
|
@@ -86,7 +89,8 @@ module Akeyless
|
|
|
86
89
|
:'server_type' => :'server-type',
|
|
87
90
|
:'token' => :'token',
|
|
88
91
|
:'token_expiration' => :'token-expiration',
|
|
89
|
-
:'uid_token' => :'uid-token'
|
|
92
|
+
:'uid_token' => :'uid-token',
|
|
93
|
+
:'username' => :'username'
|
|
90
94
|
}
|
|
91
95
|
end
|
|
92
96
|
|
|
@@ -114,7 +118,8 @@ module Akeyless
|
|
|
114
118
|
:'server_type' => :'String',
|
|
115
119
|
:'token' => :'String',
|
|
116
120
|
:'token_expiration' => :'String',
|
|
117
|
-
:'uid_token' => :'String'
|
|
121
|
+
:'uid_token' => :'String',
|
|
122
|
+
:'username' => :'String'
|
|
118
123
|
}
|
|
119
124
|
end
|
|
120
125
|
|
|
@@ -218,6 +223,10 @@ module Akeyless
|
|
|
218
223
|
if attributes.key?(:'uid_token')
|
|
219
224
|
self.uid_token = attributes[:'uid_token']
|
|
220
225
|
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'username')
|
|
228
|
+
self.username = attributes[:'username']
|
|
229
|
+
end
|
|
221
230
|
end
|
|
222
231
|
|
|
223
232
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -276,7 +285,8 @@ module Akeyless
|
|
|
276
285
|
server_type == o.server_type &&
|
|
277
286
|
token == o.token &&
|
|
278
287
|
token_expiration == o.token_expiration &&
|
|
279
|
-
uid_token == o.uid_token
|
|
288
|
+
uid_token == o.uid_token &&
|
|
289
|
+
username == o.username
|
|
280
290
|
end
|
|
281
291
|
|
|
282
292
|
# @see the `==` method
|
|
@@ -288,7 +298,7 @@ module Akeyless
|
|
|
288
298
|
# Calculates hash code according to all attributes.
|
|
289
299
|
# @return [Integer] Hash code
|
|
290
300
|
def hash
|
|
291
|
-
[bind_dn, bind_dn_password, comment, description, json, key, ldap_ca_cert, ldap_url, lock_on_read, lock_ttl, max_versions, name, rotate_on_unlock, server_type, token, token_expiration, uid_token].hash
|
|
301
|
+
[bind_dn, bind_dn_password, comment, description, json, key, ldap_ca_cert, ldap_url, lock_on_read, lock_ttl, max_versions, name, rotate_on_unlock, server_type, token, token_expiration, uid_token, username].hash
|
|
292
302
|
end
|
|
293
303
|
|
|
294
304
|
# Builds the object from hash
|