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
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -2911,6 +2911,70 @@ module Akeyless
|
|
|
2911
2911
|
return data, status_code, headers
|
|
2912
2912
|
end
|
|
2913
2913
|
|
|
2914
|
+
# @param client_event [ClientEvent]
|
|
2915
|
+
# @param [Hash] opts the optional parameters
|
|
2916
|
+
# @return [ClientEventOutput]
|
|
2917
|
+
def client_event(client_event, opts = {})
|
|
2918
|
+
data, _status_code, _headers = client_event_with_http_info(client_event, opts)
|
|
2919
|
+
data
|
|
2920
|
+
end
|
|
2921
|
+
|
|
2922
|
+
# @param client_event [ClientEvent]
|
|
2923
|
+
# @param [Hash] opts the optional parameters
|
|
2924
|
+
# @return [Array<(ClientEventOutput, Integer, Hash)>] ClientEventOutput data, response status code and response headers
|
|
2925
|
+
def client_event_with_http_info(client_event, opts = {})
|
|
2926
|
+
if @api_client.config.debugging
|
|
2927
|
+
@api_client.config.logger.debug 'Calling API: V2Api.client_event ...'
|
|
2928
|
+
end
|
|
2929
|
+
# verify the required parameter 'client_event' is set
|
|
2930
|
+
if @api_client.config.client_side_validation && client_event.nil?
|
|
2931
|
+
fail ArgumentError, "Missing the required parameter 'client_event' when calling V2Api.client_event"
|
|
2932
|
+
end
|
|
2933
|
+
# resource path
|
|
2934
|
+
local_var_path = '/client-event'
|
|
2935
|
+
|
|
2936
|
+
# query parameters
|
|
2937
|
+
query_params = opts[:query_params] || {}
|
|
2938
|
+
|
|
2939
|
+
# header parameters
|
|
2940
|
+
header_params = opts[:header_params] || {}
|
|
2941
|
+
# HTTP header 'Accept' (if needed)
|
|
2942
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2943
|
+
# HTTP header 'Content-Type'
|
|
2944
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2945
|
+
if !content_type.nil?
|
|
2946
|
+
header_params['Content-Type'] = content_type
|
|
2947
|
+
end
|
|
2948
|
+
|
|
2949
|
+
# form parameters
|
|
2950
|
+
form_params = opts[:form_params] || {}
|
|
2951
|
+
|
|
2952
|
+
# http body (model)
|
|
2953
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(client_event)
|
|
2954
|
+
|
|
2955
|
+
# return_type
|
|
2956
|
+
return_type = opts[:debug_return_type] || 'ClientEventOutput'
|
|
2957
|
+
|
|
2958
|
+
# auth_names
|
|
2959
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2960
|
+
|
|
2961
|
+
new_options = opts.merge(
|
|
2962
|
+
:operation => :"V2Api.client_event",
|
|
2963
|
+
:header_params => header_params,
|
|
2964
|
+
:query_params => query_params,
|
|
2965
|
+
:form_params => form_params,
|
|
2966
|
+
:body => post_body,
|
|
2967
|
+
:auth_names => auth_names,
|
|
2968
|
+
:return_type => return_type
|
|
2969
|
+
)
|
|
2970
|
+
|
|
2971
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2972
|
+
if @api_client.config.debugging
|
|
2973
|
+
@api_client.config.logger.debug "API called: V2Api#client_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2974
|
+
end
|
|
2975
|
+
return data, status_code, headers
|
|
2976
|
+
end
|
|
2977
|
+
|
|
2914
2978
|
# @param configure [Configure]
|
|
2915
2979
|
# @param [Hash] opts the optional parameters
|
|
2916
2980
|
# @return [ConfigureOutput]
|
|
@@ -21579,6 +21643,70 @@ module Akeyless
|
|
|
21579
21643
|
return data, status_code, headers
|
|
21580
21644
|
end
|
|
21581
21645
|
|
|
21646
|
+
# @param generate_intermediate_ca [GenerateIntermediateCA]
|
|
21647
|
+
# @param [Hash] opts the optional parameters
|
|
21648
|
+
# @return [GenerateIntermediateCAOutput]
|
|
21649
|
+
def generate_intermediate_ca(generate_intermediate_ca, opts = {})
|
|
21650
|
+
data, _status_code, _headers = generate_intermediate_ca_with_http_info(generate_intermediate_ca, opts)
|
|
21651
|
+
data
|
|
21652
|
+
end
|
|
21653
|
+
|
|
21654
|
+
# @param generate_intermediate_ca [GenerateIntermediateCA]
|
|
21655
|
+
# @param [Hash] opts the optional parameters
|
|
21656
|
+
# @return [Array<(GenerateIntermediateCAOutput, Integer, Hash)>] GenerateIntermediateCAOutput data, response status code and response headers
|
|
21657
|
+
def generate_intermediate_ca_with_http_info(generate_intermediate_ca, opts = {})
|
|
21658
|
+
if @api_client.config.debugging
|
|
21659
|
+
@api_client.config.logger.debug 'Calling API: V2Api.generate_intermediate_ca ...'
|
|
21660
|
+
end
|
|
21661
|
+
# verify the required parameter 'generate_intermediate_ca' is set
|
|
21662
|
+
if @api_client.config.client_side_validation && generate_intermediate_ca.nil?
|
|
21663
|
+
fail ArgumentError, "Missing the required parameter 'generate_intermediate_ca' when calling V2Api.generate_intermediate_ca"
|
|
21664
|
+
end
|
|
21665
|
+
# resource path
|
|
21666
|
+
local_var_path = '/generate-intermediate-ca'
|
|
21667
|
+
|
|
21668
|
+
# query parameters
|
|
21669
|
+
query_params = opts[:query_params] || {}
|
|
21670
|
+
|
|
21671
|
+
# header parameters
|
|
21672
|
+
header_params = opts[:header_params] || {}
|
|
21673
|
+
# HTTP header 'Accept' (if needed)
|
|
21674
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
21675
|
+
# HTTP header 'Content-Type'
|
|
21676
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
21677
|
+
if !content_type.nil?
|
|
21678
|
+
header_params['Content-Type'] = content_type
|
|
21679
|
+
end
|
|
21680
|
+
|
|
21681
|
+
# form parameters
|
|
21682
|
+
form_params = opts[:form_params] || {}
|
|
21683
|
+
|
|
21684
|
+
# http body (model)
|
|
21685
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(generate_intermediate_ca)
|
|
21686
|
+
|
|
21687
|
+
# return_type
|
|
21688
|
+
return_type = opts[:debug_return_type] || 'GenerateIntermediateCAOutput'
|
|
21689
|
+
|
|
21690
|
+
# auth_names
|
|
21691
|
+
auth_names = opts[:debug_auth_names] || []
|
|
21692
|
+
|
|
21693
|
+
new_options = opts.merge(
|
|
21694
|
+
:operation => :"V2Api.generate_intermediate_ca",
|
|
21695
|
+
:header_params => header_params,
|
|
21696
|
+
:query_params => query_params,
|
|
21697
|
+
:form_params => form_params,
|
|
21698
|
+
:body => post_body,
|
|
21699
|
+
:auth_names => auth_names,
|
|
21700
|
+
:return_type => return_type
|
|
21701
|
+
)
|
|
21702
|
+
|
|
21703
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
21704
|
+
if @api_client.config.debugging
|
|
21705
|
+
@api_client.config.logger.debug "API called: V2Api#generate_intermediate_ca\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
21706
|
+
end
|
|
21707
|
+
return data, status_code, headers
|
|
21708
|
+
end
|
|
21709
|
+
|
|
21582
21710
|
# @param [Hash] opts the optional parameters
|
|
21583
21711
|
# @return [Hash<String, String>]
|
|
21584
21712
|
def get_account_logo(opts = {})
|
|
@@ -25385,6 +25513,8 @@ module Akeyless
|
|
|
25385
25513
|
return data, status_code, headers
|
|
25386
25514
|
end
|
|
25387
25515
|
|
|
25516
|
+
# Lists SRA sessions.
|
|
25517
|
+
# Results are returned newest first, ordered by start time, then by session ID. Responses contain up to 1000 sessions. Pagination: Pass the response's `next_page` value as the `pagination-token` in subsequent requests to fetch the next page. Pagination is complete when `next_page` is empty. Sending an empty `pagination-token` retrieves the first page. Filters must remain identical across paginated requests to maintain cursor validity.
|
|
25388
25518
|
# @param list_sra_sessions [ListSRASessions]
|
|
25389
25519
|
# @param [Hash] opts the optional parameters
|
|
25390
25520
|
# @return [ListSraSessionsOutput]
|
|
@@ -25393,6 +25523,8 @@ module Akeyless
|
|
|
25393
25523
|
data
|
|
25394
25524
|
end
|
|
25395
25525
|
|
|
25526
|
+
# Lists SRA sessions.
|
|
25527
|
+
# Results are returned newest first, ordered by start time, then by session ID. Responses contain up to 1000 sessions. Pagination: Pass the response's `next_page` value as the `pagination-token` in subsequent requests to fetch the next page. Pagination is complete when `next_page` is empty. Sending an empty `pagination-token` retrieves the first page. Filters must remain identical across paginated requests to maintain cursor validity.
|
|
25396
25528
|
# @param list_sra_sessions [ListSRASessions]
|
|
25397
25529
|
# @param [Hash] opts the optional parameters
|
|
25398
25530
|
# @return [Array<(ListSraSessionsOutput, Integer, Hash)>] ListSraSessionsOutput data, response status code and response headers
|
|
@@ -27738,6 +27870,70 @@ module Akeyless
|
|
|
27738
27870
|
return data, status_code, headers
|
|
27739
27871
|
end
|
|
27740
27872
|
|
|
27873
|
+
# @param rotated_secret_create_okta [RotatedSecretCreateOkta]
|
|
27874
|
+
# @param [Hash] opts the optional parameters
|
|
27875
|
+
# @return [RotatedSecretCreateOutput]
|
|
27876
|
+
def rotated_secret_create_okta(rotated_secret_create_okta, opts = {})
|
|
27877
|
+
data, _status_code, _headers = rotated_secret_create_okta_with_http_info(rotated_secret_create_okta, opts)
|
|
27878
|
+
data
|
|
27879
|
+
end
|
|
27880
|
+
|
|
27881
|
+
# @param rotated_secret_create_okta [RotatedSecretCreateOkta]
|
|
27882
|
+
# @param [Hash] opts the optional parameters
|
|
27883
|
+
# @return [Array<(RotatedSecretCreateOutput, Integer, Hash)>] RotatedSecretCreateOutput data, response status code and response headers
|
|
27884
|
+
def rotated_secret_create_okta_with_http_info(rotated_secret_create_okta, opts = {})
|
|
27885
|
+
if @api_client.config.debugging
|
|
27886
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_create_okta ...'
|
|
27887
|
+
end
|
|
27888
|
+
# verify the required parameter 'rotated_secret_create_okta' is set
|
|
27889
|
+
if @api_client.config.client_side_validation && rotated_secret_create_okta.nil?
|
|
27890
|
+
fail ArgumentError, "Missing the required parameter 'rotated_secret_create_okta' when calling V2Api.rotated_secret_create_okta"
|
|
27891
|
+
end
|
|
27892
|
+
# resource path
|
|
27893
|
+
local_var_path = '/rotated-secret-create-okta'
|
|
27894
|
+
|
|
27895
|
+
# query parameters
|
|
27896
|
+
query_params = opts[:query_params] || {}
|
|
27897
|
+
|
|
27898
|
+
# header parameters
|
|
27899
|
+
header_params = opts[:header_params] || {}
|
|
27900
|
+
# HTTP header 'Accept' (if needed)
|
|
27901
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
27902
|
+
# HTTP header 'Content-Type'
|
|
27903
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
27904
|
+
if !content_type.nil?
|
|
27905
|
+
header_params['Content-Type'] = content_type
|
|
27906
|
+
end
|
|
27907
|
+
|
|
27908
|
+
# form parameters
|
|
27909
|
+
form_params = opts[:form_params] || {}
|
|
27910
|
+
|
|
27911
|
+
# http body (model)
|
|
27912
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_create_okta)
|
|
27913
|
+
|
|
27914
|
+
# return_type
|
|
27915
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretCreateOutput'
|
|
27916
|
+
|
|
27917
|
+
# auth_names
|
|
27918
|
+
auth_names = opts[:debug_auth_names] || []
|
|
27919
|
+
|
|
27920
|
+
new_options = opts.merge(
|
|
27921
|
+
:operation => :"V2Api.rotated_secret_create_okta",
|
|
27922
|
+
:header_params => header_params,
|
|
27923
|
+
:query_params => query_params,
|
|
27924
|
+
:form_params => form_params,
|
|
27925
|
+
:body => post_body,
|
|
27926
|
+
:auth_names => auth_names,
|
|
27927
|
+
:return_type => return_type
|
|
27928
|
+
)
|
|
27929
|
+
|
|
27930
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
27931
|
+
if @api_client.config.debugging
|
|
27932
|
+
@api_client.config.logger.debug "API called: V2Api#rotated_secret_create_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
27933
|
+
end
|
|
27934
|
+
return data, status_code, headers
|
|
27935
|
+
end
|
|
27936
|
+
|
|
27741
27937
|
# @param rotated_secret_create_open_ai [RotatedSecretCreateOpenAI]
|
|
27742
27938
|
# @param [Hash] opts the optional parameters
|
|
27743
27939
|
# @return [RotatedSecretCreateOutput]
|
|
@@ -29466,6 +29662,70 @@ module Akeyless
|
|
|
29466
29662
|
return data, status_code, headers
|
|
29467
29663
|
end
|
|
29468
29664
|
|
|
29665
|
+
# @param rotated_secret_update_okta [RotatedSecretUpdateOkta]
|
|
29666
|
+
# @param [Hash] opts the optional parameters
|
|
29667
|
+
# @return [RotatedSecretUpdateOutput]
|
|
29668
|
+
def rotated_secret_update_okta(rotated_secret_update_okta, opts = {})
|
|
29669
|
+
data, _status_code, _headers = rotated_secret_update_okta_with_http_info(rotated_secret_update_okta, opts)
|
|
29670
|
+
data
|
|
29671
|
+
end
|
|
29672
|
+
|
|
29673
|
+
# @param rotated_secret_update_okta [RotatedSecretUpdateOkta]
|
|
29674
|
+
# @param [Hash] opts the optional parameters
|
|
29675
|
+
# @return [Array<(RotatedSecretUpdateOutput, Integer, Hash)>] RotatedSecretUpdateOutput data, response status code and response headers
|
|
29676
|
+
def rotated_secret_update_okta_with_http_info(rotated_secret_update_okta, opts = {})
|
|
29677
|
+
if @api_client.config.debugging
|
|
29678
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_update_okta ...'
|
|
29679
|
+
end
|
|
29680
|
+
# verify the required parameter 'rotated_secret_update_okta' is set
|
|
29681
|
+
if @api_client.config.client_side_validation && rotated_secret_update_okta.nil?
|
|
29682
|
+
fail ArgumentError, "Missing the required parameter 'rotated_secret_update_okta' when calling V2Api.rotated_secret_update_okta"
|
|
29683
|
+
end
|
|
29684
|
+
# resource path
|
|
29685
|
+
local_var_path = '/rotated-secret-update-okta'
|
|
29686
|
+
|
|
29687
|
+
# query parameters
|
|
29688
|
+
query_params = opts[:query_params] || {}
|
|
29689
|
+
|
|
29690
|
+
# header parameters
|
|
29691
|
+
header_params = opts[:header_params] || {}
|
|
29692
|
+
# HTTP header 'Accept' (if needed)
|
|
29693
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
29694
|
+
# HTTP header 'Content-Type'
|
|
29695
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
29696
|
+
if !content_type.nil?
|
|
29697
|
+
header_params['Content-Type'] = content_type
|
|
29698
|
+
end
|
|
29699
|
+
|
|
29700
|
+
# form parameters
|
|
29701
|
+
form_params = opts[:form_params] || {}
|
|
29702
|
+
|
|
29703
|
+
# http body (model)
|
|
29704
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_update_okta)
|
|
29705
|
+
|
|
29706
|
+
# return_type
|
|
29707
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretUpdateOutput'
|
|
29708
|
+
|
|
29709
|
+
# auth_names
|
|
29710
|
+
auth_names = opts[:debug_auth_names] || []
|
|
29711
|
+
|
|
29712
|
+
new_options = opts.merge(
|
|
29713
|
+
:operation => :"V2Api.rotated_secret_update_okta",
|
|
29714
|
+
:header_params => header_params,
|
|
29715
|
+
:query_params => query_params,
|
|
29716
|
+
:form_params => form_params,
|
|
29717
|
+
:body => post_body,
|
|
29718
|
+
:auth_names => auth_names,
|
|
29719
|
+
:return_type => return_type
|
|
29720
|
+
)
|
|
29721
|
+
|
|
29722
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
29723
|
+
if @api_client.config.debugging
|
|
29724
|
+
@api_client.config.logger.debug "API called: V2Api#rotated_secret_update_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
29725
|
+
end
|
|
29726
|
+
return data, status_code, headers
|
|
29727
|
+
end
|
|
29728
|
+
|
|
29469
29729
|
# @param rotated_secret_update_open_ai [RotatedSecretUpdateOpenAI]
|
|
29470
29730
|
# @param [Hash] opts the optional parameters
|
|
29471
29731
|
# @return [RotatedSecretUpdateOutput]
|
|
@@ -16,9 +16,12 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# assocTargetItem is a command that creates an association between target and item.
|
|
18
18
|
class AssocTargetItem
|
|
19
|
-
# Bind the provisioned certificate to an existing client-ssl/server-ssl profile, in the format <type>:<partition>:<name> (relevant only for F5 BIG-IP certificate provisioning). Leave the partition empty to use the certificate's partition. Repeat the parameter to bind several profiles.
|
|
19
|
+
# Bind the provisioned certificate to an existing client-ssl/server-ssl profile, in the format <type>:<partition>:<name> (relevant only for F5 BIG-IP certificate provisioning). Leave the partition empty to use the certificate's partition. For a profile in a folder, add the folder to the partition, for example client-ssl:Common/Shared:my-profile. Repeat the parameter to bind several profiles.
|
|
20
20
|
attr_accessor :bind_ssl_profiles
|
|
21
21
|
|
|
22
|
+
# The format the certificate will be provisioned with, available options: pem,pfx (relevant only for certificate provisioning)
|
|
23
|
+
attr_accessor :certificate_format
|
|
24
|
+
|
|
22
25
|
# A path on the target to store the certificate pem file (relevant only for certificate provisioning)
|
|
23
26
|
attr_accessor :certificate_path
|
|
24
27
|
|
|
@@ -52,6 +55,9 @@ module Akeyless
|
|
|
52
55
|
# The item to associate
|
|
53
56
|
attr_accessor :name
|
|
54
57
|
|
|
58
|
+
# Password used to protect the provisioned PFX file. Required when --certificate-format=pfx (relevant only for certificate provisioning)
|
|
59
|
+
attr_accessor :pfx_password
|
|
60
|
+
|
|
55
61
|
# A custom command to run on the remote target after successful provisioning (relevant only for SSH and Windows certificate provisioning, not supported for F5 BIG-IP)
|
|
56
62
|
attr_accessor :post_provision_command
|
|
57
63
|
|
|
@@ -92,6 +98,7 @@ module Akeyless
|
|
|
92
98
|
def self.attribute_map
|
|
93
99
|
{
|
|
94
100
|
:'bind_ssl_profiles' => :'bind-ssl-profiles',
|
|
101
|
+
:'certificate_format' => :'certificate-format',
|
|
95
102
|
:'certificate_path' => :'certificate-path',
|
|
96
103
|
:'chain_path' => :'chain-path',
|
|
97
104
|
:'disable_previous_key_version' => :'disable-previous-key-version',
|
|
@@ -103,6 +110,7 @@ module Akeyless
|
|
|
103
110
|
:'location_id' => :'location-id',
|
|
104
111
|
:'multi_region' => :'multi-region',
|
|
105
112
|
:'name' => :'name',
|
|
113
|
+
:'pfx_password' => :'pfx-password',
|
|
106
114
|
:'post_provision_command' => :'post-provision-command',
|
|
107
115
|
:'private_key_path' => :'private-key-path',
|
|
108
116
|
:'project_id' => :'project-id',
|
|
@@ -127,6 +135,7 @@ module Akeyless
|
|
|
127
135
|
def self.openapi_types
|
|
128
136
|
{
|
|
129
137
|
:'bind_ssl_profiles' => :'Array<String>',
|
|
138
|
+
:'certificate_format' => :'String',
|
|
130
139
|
:'certificate_path' => :'String',
|
|
131
140
|
:'chain_path' => :'String',
|
|
132
141
|
:'disable_previous_key_version' => :'Boolean',
|
|
@@ -138,6 +147,7 @@ module Akeyless
|
|
|
138
147
|
:'location_id' => :'String',
|
|
139
148
|
:'multi_region' => :'String',
|
|
140
149
|
:'name' => :'String',
|
|
150
|
+
:'pfx_password' => :'String',
|
|
141
151
|
:'post_provision_command' => :'String',
|
|
142
152
|
:'private_key_path' => :'String',
|
|
143
153
|
:'project_id' => :'String',
|
|
@@ -180,6 +190,12 @@ module Akeyless
|
|
|
180
190
|
end
|
|
181
191
|
end
|
|
182
192
|
|
|
193
|
+
if attributes.key?(:'certificate_format')
|
|
194
|
+
self.certificate_format = attributes[:'certificate_format']
|
|
195
|
+
else
|
|
196
|
+
self.certificate_format = 'pem'
|
|
197
|
+
end
|
|
198
|
+
|
|
183
199
|
if attributes.key?(:'certificate_path')
|
|
184
200
|
self.certificate_path = attributes[:'certificate_path']
|
|
185
201
|
end
|
|
@@ -234,6 +250,10 @@ module Akeyless
|
|
|
234
250
|
self.name = nil
|
|
235
251
|
end
|
|
236
252
|
|
|
253
|
+
if attributes.key?(:'pfx_password')
|
|
254
|
+
self.pfx_password = attributes[:'pfx_password']
|
|
255
|
+
end
|
|
256
|
+
|
|
237
257
|
if attributes.key?(:'post_provision_command')
|
|
238
258
|
self.post_provision_command = attributes[:'post_provision_command']
|
|
239
259
|
end
|
|
@@ -322,6 +342,7 @@ module Akeyless
|
|
|
322
342
|
return true if self.equal?(o)
|
|
323
343
|
self.class == o.class &&
|
|
324
344
|
bind_ssl_profiles == o.bind_ssl_profiles &&
|
|
345
|
+
certificate_format == o.certificate_format &&
|
|
325
346
|
certificate_path == o.certificate_path &&
|
|
326
347
|
chain_path == o.chain_path &&
|
|
327
348
|
disable_previous_key_version == o.disable_previous_key_version &&
|
|
@@ -333,6 +354,7 @@ module Akeyless
|
|
|
333
354
|
location_id == o.location_id &&
|
|
334
355
|
multi_region == o.multi_region &&
|
|
335
356
|
name == o.name &&
|
|
357
|
+
pfx_password == o.pfx_password &&
|
|
336
358
|
post_provision_command == o.post_provision_command &&
|
|
337
359
|
private_key_path == o.private_key_path &&
|
|
338
360
|
project_id == o.project_id &&
|
|
@@ -356,7 +378,7 @@ module Akeyless
|
|
|
356
378
|
# Calculates hash code according to all attributes.
|
|
357
379
|
# @return [Integer] Hash code
|
|
358
380
|
def hash
|
|
359
|
-
[bind_ssl_profiles, certificate_path, chain_path, disable_previous_key_version, external_key_name, json, key_operations, keyring_name, kms_algorithm, location_id, multi_region, name, post_provision_command, private_key_path, project_id, protection_level, purpose, regions, sra_association, target_name, tenant_secret_type, token, uid_token, vault_name].hash
|
|
381
|
+
[bind_ssl_profiles, certificate_format, certificate_path, chain_path, disable_previous_key_version, external_key_name, json, key_operations, keyring_name, kms_algorithm, location_id, multi_region, name, pfx_password, post_provision_command, private_key_path, project_id, protection_level, purpose, regions, sra_association, target_name, tenant_secret_type, token, uid_token, vault_name].hash
|
|
360
382
|
end
|
|
361
383
|
|
|
362
384
|
# Builds the object from hash
|
|
@@ -38,6 +38,9 @@ module Akeyless
|
|
|
38
38
|
|
|
39
39
|
attr_accessor :email_pass_access_rules
|
|
40
40
|
|
|
41
|
+
# EnforceClientType mirrors the SaaS Auth client-type enforcement decision (GwAuthEligibilityReply.EnforceClientType) captured online, so Gateway-owned offline auth and cached-creds usage honor the same enforce flag SaaS uses (see base_access.AuthenticateClientType). When false, client-type mismatches are not rejected.
|
|
42
|
+
attr_accessor :enforce_client_type
|
|
43
|
+
|
|
41
44
|
# if true the role associated with this auth method must include sub claims
|
|
42
45
|
attr_accessor :force_sub_claims
|
|
43
46
|
|
|
@@ -89,6 +92,7 @@ module Akeyless
|
|
|
89
92
|
:'cert_access_rules' => :'cert_access_rules',
|
|
90
93
|
:'cidr_whitelist' => :'cidr_whitelist',
|
|
91
94
|
:'email_pass_access_rules' => :'email_pass_access_rules',
|
|
95
|
+
:'enforce_client_type' => :'enforce_client_type',
|
|
92
96
|
:'force_sub_claims' => :'force_sub_claims',
|
|
93
97
|
:'gcp_access_rules' => :'gcp_access_rules',
|
|
94
98
|
:'gw_cidr_whitelist' => :'gw_cidr_whitelist',
|
|
@@ -128,6 +132,7 @@ module Akeyless
|
|
|
128
132
|
:'cert_access_rules' => :'CertAccessRules',
|
|
129
133
|
:'cidr_whitelist' => :'String',
|
|
130
134
|
:'email_pass_access_rules' => :'EmailPassAccessRules',
|
|
135
|
+
:'enforce_client_type' => :'Boolean',
|
|
131
136
|
:'force_sub_claims' => :'Boolean',
|
|
132
137
|
:'gcp_access_rules' => :'GCPAccessRules',
|
|
133
138
|
:'gw_cidr_whitelist' => :'String',
|
|
@@ -217,6 +222,10 @@ module Akeyless
|
|
|
217
222
|
self.email_pass_access_rules = attributes[:'email_pass_access_rules']
|
|
218
223
|
end
|
|
219
224
|
|
|
225
|
+
if attributes.key?(:'enforce_client_type')
|
|
226
|
+
self.enforce_client_type = attributes[:'enforce_client_type']
|
|
227
|
+
end
|
|
228
|
+
|
|
220
229
|
if attributes.key?(:'force_sub_claims')
|
|
221
230
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
222
231
|
end
|
|
@@ -323,6 +332,7 @@ module Akeyless
|
|
|
323
332
|
cert_access_rules == o.cert_access_rules &&
|
|
324
333
|
cidr_whitelist == o.cidr_whitelist &&
|
|
325
334
|
email_pass_access_rules == o.email_pass_access_rules &&
|
|
335
|
+
enforce_client_type == o.enforce_client_type &&
|
|
326
336
|
force_sub_claims == o.force_sub_claims &&
|
|
327
337
|
gcp_access_rules == o.gcp_access_rules &&
|
|
328
338
|
gw_cidr_whitelist == o.gw_cidr_whitelist &&
|
|
@@ -351,7 +361,7 @@ module Akeyless
|
|
|
351
361
|
# Calculates hash code according to all attributes.
|
|
352
362
|
# @return [Integer] Hash code
|
|
353
363
|
def hash
|
|
354
|
-
[access_expires, access_id_alias, alicloud_access_rules, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, sub_claims_delimiters, uid_expiration_events, universal_identity_access_rules].hash
|
|
364
|
+
[access_expires, access_id_alias, alicloud_access_rules, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, enforce_client_type, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, sub_claims_delimiters, uid_expiration_events, universal_identity_access_rules].hash
|
|
355
365
|
end
|
|
356
366
|
|
|
357
367
|
# 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
|
|
@@ -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
|
|
|
@@ -106,6 +109,7 @@ module Akeyless
|
|
|
106
109
|
:'description' => :'description',
|
|
107
110
|
:'expiration_event_in' => :'expiration-event-in',
|
|
108
111
|
:'force_sub_claims' => :'force-sub-claims',
|
|
112
|
+
:'gateway_url' => :'gateway-url',
|
|
109
113
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
110
114
|
:'issuer' => :'issuer',
|
|
111
115
|
:'json' => :'json',
|
|
@@ -142,6 +146,7 @@ module Akeyless
|
|
|
142
146
|
:'description' => :'String',
|
|
143
147
|
:'expiration_event_in' => :'Array<String>',
|
|
144
148
|
:'force_sub_claims' => :'Boolean',
|
|
149
|
+
:'gateway_url' => :'String',
|
|
145
150
|
:'gw_bound_ips' => :'Array<String>',
|
|
146
151
|
:'issuer' => :'String',
|
|
147
152
|
:'json' => :'Boolean',
|
|
@@ -239,6 +244,10 @@ module Akeyless
|
|
|
239
244
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
240
245
|
end
|
|
241
246
|
|
|
247
|
+
if attributes.key?(:'gateway_url')
|
|
248
|
+
self.gateway_url = attributes[:'gateway_url']
|
|
249
|
+
end
|
|
250
|
+
|
|
242
251
|
if attributes.key?(:'gw_bound_ips')
|
|
243
252
|
if (value = attributes[:'gw_bound_ips']).is_a?(Array)
|
|
244
253
|
self.gw_bound_ips = value
|
|
@@ -350,6 +359,7 @@ module Akeyless
|
|
|
350
359
|
description == o.description &&
|
|
351
360
|
expiration_event_in == o.expiration_event_in &&
|
|
352
361
|
force_sub_claims == o.force_sub_claims &&
|
|
362
|
+
gateway_url == o.gateway_url &&
|
|
353
363
|
gw_bound_ips == o.gw_bound_ips &&
|
|
354
364
|
issuer == o.issuer &&
|
|
355
365
|
json == o.json &&
|
|
@@ -374,7 +384,7 @@ module Akeyless
|
|
|
374
384
|
# Calculates hash code according to all attributes.
|
|
375
385
|
# @return [Integer] Hash code
|
|
376
386
|
def 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, gw_bound_ips, issuer, json, jwt_ttl, name, new_name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
387
|
+
[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, new_name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
378
388
|
end
|
|
379
389
|
|
|
380
390
|
# 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
|
|
|
@@ -94,6 +97,7 @@ module Akeyless
|
|
|
94
97
|
:'description' => :'description',
|
|
95
98
|
:'expiration_event_in' => :'expiration-event-in',
|
|
96
99
|
:'force_sub_claims' => :'force-sub-claims',
|
|
100
|
+
:'gateway_url' => :'gateway-url',
|
|
97
101
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
98
102
|
:'idp_metadata_url' => :'idp-metadata-url',
|
|
99
103
|
:'idp_metadata_xml_data' => :'idp-metadata-xml-data',
|
|
@@ -127,6 +131,7 @@ module Akeyless
|
|
|
127
131
|
:'description' => :'String',
|
|
128
132
|
:'expiration_event_in' => :'Array<String>',
|
|
129
133
|
:'force_sub_claims' => :'Boolean',
|
|
134
|
+
:'gateway_url' => :'String',
|
|
130
135
|
:'gw_bound_ips' => :'Array<String>',
|
|
131
136
|
:'idp_metadata_url' => :'String',
|
|
132
137
|
:'idp_metadata_xml_data' => :'String',
|
|
@@ -212,6 +217,10 @@ module Akeyless
|
|
|
212
217
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
213
218
|
end
|
|
214
219
|
|
|
220
|
+
if attributes.key?(:'gateway_url')
|
|
221
|
+
self.gateway_url = attributes[:'gateway_url']
|
|
222
|
+
end
|
|
223
|
+
|
|
215
224
|
if attributes.key?(:'gw_bound_ips')
|
|
216
225
|
if (value = attributes[:'gw_bound_ips']).is_a?(Array)
|
|
217
226
|
self.gw_bound_ips = value
|
|
@@ -318,6 +327,7 @@ module Akeyless
|
|
|
318
327
|
description == o.description &&
|
|
319
328
|
expiration_event_in == o.expiration_event_in &&
|
|
320
329
|
force_sub_claims == o.force_sub_claims &&
|
|
330
|
+
gateway_url == o.gateway_url &&
|
|
321
331
|
gw_bound_ips == o.gw_bound_ips &&
|
|
322
332
|
idp_metadata_url == o.idp_metadata_url &&
|
|
323
333
|
idp_metadata_xml_data == o.idp_metadata_xml_data &&
|
|
@@ -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
|
-
[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, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, use_dedicated_saml_urls].hash
|
|
355
|
+
[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, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, use_dedicated_saml_urls].hash
|
|
346
356
|
end
|
|
347
357
|
|
|
348
358
|
# Builds the object from hash
|