akeyless 0.0.2.pre.rc1 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +112 -16
- data/akeyless.gemspec +2 -2
- data/docs/AccountGeneralSettings.md +22 -0
- data/docs/ActiveDirectoryMigration.md +20 -0
- data/docs/ActiveDirectoryPayload.md +46 -0
- data/docs/AssocRoleAuthMethod.md +2 -0
- data/docs/AssocTargetItem.md +23 -1
- data/docs/Auth.md +9 -1
- data/docs/AuthMethod.md +7 -1
- data/docs/AuthMethodAccessInfo.md +4 -0
- data/docs/AuthMethodRoleAssociation.md +2 -0
- data/docs/AwsS3LogForwardingConfig.md +2 -0
- data/docs/BastionListEntry.md +30 -0
- data/docs/BastionsList.md +18 -0
- data/docs/CertAccessRules.md +34 -0
- data/docs/ConfigHash.md +2 -0
- data/docs/Configure.md +7 -1
- data/docs/Connect.md +4 -0
- data/docs/CreateAWSTarget.md +2 -0
- data/docs/CreateArtifactoryTarget.md +3 -1
- data/docs/CreateAuthMethod.md +5 -1
- data/docs/CreateAuthMethodAWSIAM.md +5 -1
- data/docs/CreateAuthMethodAzureAD.md +5 -1
- data/docs/CreateAuthMethodCert.md +52 -0
- data/docs/CreateAuthMethodCertOutput.md +18 -0
- data/docs/CreateAuthMethodGCP.md +5 -1
- data/docs/CreateAuthMethodHuawei.md +5 -1
- data/docs/CreateAuthMethodK8S.md +7 -3
- data/docs/CreateAuthMethodLDAP.md +11 -3
- data/docs/CreateAuthMethodLDAPOutput.md +3 -1
- data/docs/CreateAuthMethodOAuth2.md +5 -1
- data/docs/CreateAuthMethodOIDC.md +11 -1
- data/docs/CreateAuthMethodSAML.md +5 -1
- data/docs/CreateAuthMethodUniversalIdentity.md +5 -1
- data/docs/CreateAzureTarget.md +8 -0
- data/docs/CreateClassicKey.md +4 -2
- data/docs/CreateDBTarget.md +2 -0
- data/docs/CreateDFCKey.md +6 -2
- data/docs/CreateDockerhubTarget.md +2 -0
- data/docs/CreateDynamicSecret.md +4 -0
- data/docs/CreateEKSTarget.md +2 -0
- data/docs/CreateGKETarget.md +2 -0
- data/docs/CreateGcpTarget.md +2 -2
- data/docs/CreateGithubTarget.md +2 -0
- data/docs/CreateKey.md +5 -1
- data/docs/CreateKeyOutput.md +5 -1
- data/docs/CreateLdapTarget.md +4 -0
- data/docs/CreateNativeK8STarget.md +2 -0
- data/docs/CreatePKICertIssuer.md +9 -5
- data/docs/CreateRabbitMQTarget.md +2 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateRotatedSecret.md +36 -2
- data/docs/CreateSSHCertIssuer.md +5 -1
- data/docs/CreateSSHTarget.md +2 -0
- data/docs/CreateSalesforceTarget.md +48 -0
- data/docs/CreateSalesforceTargetOutput.md +18 -0
- data/docs/CreateSecret.md +16 -0
- data/docs/CreateTokenizer.md +46 -0
- data/docs/CreateTokenizerOutput.md +18 -0
- data/docs/CreateWebTarget.md +2 -0
- data/docs/DSProducerDetails.md +23 -1
- data/docs/DataProtectionSection.md +18 -0
- data/docs/Decrypt.md +7 -1
- data/docs/DecryptFile.md +8 -0
- data/docs/DecryptPKCS1.md +7 -1
- data/docs/DecryptWithClassicKey.md +2 -0
- data/docs/DeleteAuthMethod.md +2 -0
- data/docs/DeleteAuthMethods.md +2 -0
- data/docs/DeleteItem.md +4 -0
- data/docs/DeleteItems.md +2 -0
- data/docs/DeleteRole.md +2 -0
- data/docs/DeleteRoleAssociation.md +2 -0
- data/docs/DeleteRoleRule.md +3 -1
- data/docs/DeleteRoles.md +2 -0
- data/docs/DeleteTarget.md +2 -0
- data/docs/DeleteTargetAssociation.md +2 -0
- data/docs/DeleteTargets.md +2 -0
- data/docs/DescribeItem.md +6 -0
- data/docs/DescribePermissions.md +2 -0
- data/docs/DescribeSubClaims.md +22 -0
- data/docs/DescribeSubClaimsOutput.md +18 -0
- data/docs/Detokenize.md +28 -0
- data/docs/DetokenizeOutput.md +18 -0
- data/docs/DynamicSecretProducerInfo.md +2 -0
- data/docs/EmailTokenizerInfo.md +22 -0
- data/docs/Encrypt.md +7 -1
- data/docs/EncryptFile.md +6 -0
- data/docs/EncryptPKCS1.md +5 -1
- data/docs/EncryptWithClassicKey.md +2 -0
- data/docs/ExportClassicKey.md +28 -0
- data/docs/ExportClassicKeyOutput.md +20 -0
- data/docs/GCPPayload.md +18 -0
- data/docs/GCPSecretsMigration.md +20 -0
- data/docs/GatewayAddAllowedManagementAccess.md +2 -0
- data/docs/GatewayCreateK8SAuthConfig.md +14 -4
- data/docs/GatewayCreateMigration.md +112 -0
- data/docs/GatewayCreateProducerArtifactory.md +4 -0
- data/docs/GatewayCreateProducerAws.md +4 -0
- data/docs/GatewayCreateProducerAzure.md +4 -0
- data/docs/GatewayCreateProducerCassandra.md +4 -0
- data/docs/GatewayCreateProducerCertificateAutomation.md +4 -0
- data/docs/GatewayCreateProducerChef.md +4 -0
- data/docs/GatewayCreateProducerCustom.md +8 -0
- data/docs/GatewayCreateProducerDockerhub.md +5 -1
- data/docs/GatewayCreateProducerEks.md +4 -0
- data/docs/GatewayCreateProducerGcp.md +9 -1
- data/docs/GatewayCreateProducerGithub.md +4 -0
- data/docs/GatewayCreateProducerGke.md +4 -0
- data/docs/GatewayCreateProducerHanaDb.md +58 -0
- data/docs/GatewayCreateProducerHanaDbOutput.md +18 -0
- data/docs/GatewayCreateProducerLdap.md +4 -0
- data/docs/GatewayCreateProducerMSSQL.md +4 -0
- data/docs/GatewayCreateProducerMongo.md +5 -1
- data/docs/GatewayCreateProducerMySQL.md +4 -0
- data/docs/GatewayCreateProducerNativeK8S.md +4 -0
- data/docs/GatewayCreateProducerOracleDb.md +12 -0
- data/docs/GatewayCreateProducerPostgreSQL.md +4 -0
- data/docs/GatewayCreateProducerRabbitMQ.md +6 -0
- data/docs/GatewayCreateProducerRdp.md +4 -0
- data/docs/GatewayCreateProducerRedshift.md +6 -0
- data/docs/GatewayCreateProducerSnowflake.md +4 -0
- data/docs/GatewayDeleteAllowedManagementAccess.md +2 -0
- data/docs/GatewayDeleteK8SAuthConfig.md +2 -0
- data/docs/GatewayDeleteMigration.md +24 -0
- data/docs/GatewayDeleteProducer.md +2 -0
- data/docs/GatewayGetConfig.md +2 -0
- data/docs/GatewayGetK8SAuthConfig.md +2 -0
- data/docs/GatewayGetK8SAuthConfigOutput.md +7 -1
- data/docs/GatewayGetLdapAuthConfig.md +22 -0
- data/docs/GatewayGetLdapAuthConfigOutput.md +44 -0
- data/docs/GatewayGetMigration.md +24 -0
- data/docs/GatewayGetProducer.md +2 -0
- data/docs/GatewayGetTmpUsers.md +2 -0
- data/docs/GatewayListAllowedManagementAccess.md +2 -0
- data/docs/GatewayListMigration.md +2 -0
- data/docs/GatewayListProducers.md +2 -0
- data/docs/GatewayMessageQueueInfo.md +1 -3
- data/docs/GatewayMigratePersonalItems.md +38 -0
- data/docs/GatewayMigratePersonalItemsOutput.md +18 -0
- data/docs/GatewayMigrationCreateOutput.md +18 -0
- data/docs/GatewayMigrationDeleteOutput.md +18 -0
- data/docs/GatewayMigrationGetOutput.md +18 -0
- data/docs/GatewayMigrationUpdateOutput.md +18 -0
- data/docs/GatewayRevokeTmpUsers.md +6 -2
- data/docs/GatewayStartProducer.md +2 -0
- data/docs/GatewayStatusMigration.md +26 -0
- data/docs/GatewayStopProducer.md +2 -0
- data/docs/GatewaySyncMigration.md +3 -1
- data/docs/GatewayUpdateItem.md +4 -0
- data/docs/GatewayUpdateK8SAuthConfig.md +14 -4
- data/docs/GatewayUpdateLdapAuthConfig.md +48 -0
- data/docs/GatewayUpdateLdapAuthConfigOutput.md +18 -0
- data/docs/GatewayUpdateMigration.md +114 -0
- data/docs/GatewayUpdateProducerArtifactory.md +4 -0
- data/docs/GatewayUpdateProducerAws.md +4 -0
- data/docs/GatewayUpdateProducerAzure.md +4 -0
- data/docs/GatewayUpdateProducerCassandra.md +4 -0
- data/docs/GatewayUpdateProducerCertificateAutomation.md +4 -0
- data/docs/GatewayUpdateProducerChef.md +4 -0
- data/docs/GatewayUpdateProducerCustom.md +8 -0
- data/docs/GatewayUpdateProducerDockerhub.md +5 -1
- data/docs/GatewayUpdateProducerEks.md +4 -0
- data/docs/GatewayUpdateProducerGcp.md +9 -1
- data/docs/GatewayUpdateProducerGithub.md +4 -0
- data/docs/GatewayUpdateProducerGke.md +4 -0
- data/docs/GatewayUpdateProducerHanaDb.md +60 -0
- data/docs/GatewayUpdateProducerHanaDbOutput.md +18 -0
- data/docs/GatewayUpdateProducerLdap.md +4 -0
- data/docs/GatewayUpdateProducerMSSQL.md +4 -0
- data/docs/GatewayUpdateProducerMongo.md +5 -1
- data/docs/GatewayUpdateProducerMySQL.md +4 -0
- data/docs/GatewayUpdateProducerNativeK8S.md +4 -0
- data/docs/GatewayUpdateProducerOracleDb.md +12 -0
- data/docs/GatewayUpdateProducerPostgreSQL.md +4 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +6 -0
- data/docs/GatewayUpdateProducerRdp.md +4 -0
- data/docs/GatewayUpdateProducerRedshift.md +6 -0
- data/docs/GatewayUpdateProducerSnowflake.md +4 -0
- data/docs/GatewayUpdateTmpUsers.md +2 -0
- data/docs/GatewaysListResponse.md +18 -0
- data/docs/GenCustomerFragment.md +3 -1
- data/docs/GetAccountSettings.md +2 -0
- data/docs/GetAccountSettingsCommandOutput.md +2 -0
- data/docs/GetAuthMethod.md +2 -0
- data/docs/GetCloudIdentity.md +2 -0
- data/docs/GetDynamicSecretValue.md +2 -0
- data/docs/GetKubeExecCreds.md +6 -0
- data/docs/GetPKICertificate.md +6 -0
- data/docs/GetRSAPublic.md +2 -0
- data/docs/GetRSAPublicOutput.md +3 -1
- data/docs/GetRole.md +2 -0
- data/docs/GetRotatedSecretValue.md +4 -0
- data/docs/GetSSHCertificate.md +6 -0
- data/docs/GetSecretValue.md +8 -0
- data/docs/GetTags.md +2 -0
- data/docs/GetTarget.md +2 -0
- data/docs/GetTargetDetails.md +2 -0
- data/docs/GwClusterIdentity.md +40 -0
- data/docs/HashiPayload.md +2 -0
- data/docs/Item.md +14 -0
- data/docs/ItemGeneralInfo.md +7 -1
- data/docs/ItemTargetAssociation.md +5 -1
- data/docs/ItemVersion.md +4 -0
- data/docs/K8SAuth.md +7 -1
- data/docs/KMIPClient.md +4 -0
- data/docs/KMIPConfigPart.md +5 -1
- data/docs/KMIPServer.md +30 -0
- data/docs/KmipClientDeleteRule.md +2 -0
- data/docs/KmipClientSetRule.md +2 -0
- data/docs/KmipCreateClient.md +4 -0
- data/docs/KmipDeleteClient.md +2 -0
- data/docs/KmipDeleteServer.md +22 -0
- data/docs/KmipDescribeClient.md +2 -0
- data/docs/KmipDescribeServer.md +2 -0
- data/docs/KmipDescribeServerOutput.md +4 -0
- data/docs/KmipListClients.md +2 -0
- data/docs/KmipMoveServer.md +24 -0
- data/docs/KmipMoveServerOutput.md +20 -0
- data/docs/KmipRenewClientCertificate.md +2 -0
- data/docs/KmipRenewServerCertificate.md +2 -0
- data/docs/KmipServerSetup.md +2 -0
- data/docs/KmipSetServerState.md +2 -0
- data/docs/KubernetesAccessRules.md +2 -0
- data/docs/LDAPAccessRules.md +2 -0
- data/docs/ListAuthMethods.md +6 -0
- data/docs/ListGateways.md +22 -0
- data/docs/ListItems.md +9 -1
- data/docs/ListRoles.md +4 -0
- data/docs/ListSRABastions.md +22 -0
- data/docs/ListTargets.md +6 -0
- data/docs/LogForwardingConfigPart.md +2 -2
- data/docs/MigrationGeneral.md +7 -1
- data/docs/MigrationItems.md +24 -0
- data/docs/MigrationStatus.md +2 -0
- data/docs/MigrationStatusReplyObj.md +36 -0
- data/docs/MigrationsConfigPart.md +9 -1
- data/docs/MockMigration.md +20 -0
- data/docs/MockPayload.md +18 -0
- data/docs/MoveObjects.md +2 -0
- data/docs/OIDCAccessRules.md +6 -0
- data/docs/OnePasswordMigration.md +20 -0
- data/docs/OnePasswordPayload.md +26 -0
- data/docs/PathRule.md +12 -0
- data/docs/Producer.md +2 -0
- data/docs/RefreshKey.md +2 -0
- data/docs/RegexpTokenizerInfo.md +24 -0
- data/docs/ReverseRBAC.md +2 -0
- data/docs/ReverseRBACClient.md +0 -2
- data/docs/RevokeCreds.md +2 -0
- data/docs/Role.md +6 -0
- data/docs/RollbackSecret.md +2 -0
- data/docs/RotateKey.md +4 -4
- data/docs/RotateKeyOutput.md +4 -0
- data/docs/RotateSecret.md +24 -0
- data/docs/RotatedSecretOutput.md +18 -0
- data/docs/RuleAssigner.md +20 -0
- data/docs/SetItemState.md +2 -0
- data/docs/SetRoleRule.md +3 -1
- data/docs/ShareItem.md +34 -0
- data/docs/SignJWTWithClassicKey.md +2 -0
- data/docs/SignPKCS1.md +7 -1
- data/docs/SignPKICertWithClassicKey.md +2 -0
- data/docs/SmInfo.md +3 -3
- data/docs/SraInfo.md +3 -3
- data/docs/StaticCredsAuth.md +3 -1
- data/docs/StaticSecretDetailsInfo.md +4 -2
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +10 -0
- data/docs/TargetItemAssociation.md +7 -1
- data/docs/TargetItemVersion.md +4 -0
- data/docs/TargetObjectAssociation.md +28 -0
- data/docs/TargetTypeDetailsInput.md +25 -1
- data/docs/Tokenize.md +28 -0
- data/docs/TokenizeOutput.md +20 -0
- data/docs/TokenizerInfo.md +18 -0
- data/docs/UidCreateChildToken.md +2 -0
- data/docs/UidGenerateToken.md +2 -0
- data/docs/UidListChildren.md +2 -0
- data/docs/UidRevokeToken.md +2 -0
- data/docs/UidRotateToken.md +2 -0
- data/docs/Unconfigure.md +2 -0
- data/docs/Update.md +2 -0
- data/docs/UpdateAWSTarget.md +2 -0
- data/docs/UpdateAWSTargetDetails.md +2 -0
- data/docs/UpdateAccountSettings.md +15 -1
- data/docs/UpdateArtifactoryTarget.md +2 -0
- data/docs/UpdateAssoc.md +2 -0
- data/docs/UpdateAuthMethod.md +5 -1
- data/docs/UpdateAuthMethodAWSIAM.md +5 -1
- data/docs/UpdateAuthMethodAzureAD.md +5 -1
- data/docs/UpdateAuthMethodCert.md +54 -0
- data/docs/UpdateAuthMethodCertOutput.md +18 -0
- data/docs/UpdateAuthMethodGCP.md +5 -1
- data/docs/UpdateAuthMethodK8S.md +7 -3
- data/docs/UpdateAuthMethodLDAP.md +11 -3
- data/docs/UpdateAuthMethodLDAPOutput.md +18 -0
- data/docs/UpdateAuthMethodOAuth2.md +5 -1
- data/docs/UpdateAuthMethodOIDC.md +11 -1
- data/docs/UpdateAuthMethodSAML.md +5 -1
- data/docs/UpdateAuthMethodUniversalIdentity.md +5 -1
- data/docs/UpdateAzureTarget.md +8 -0
- data/docs/UpdateDBTarget.md +6 -0
- data/docs/UpdateDBTargetDetails.md +2 -0
- data/docs/UpdateDockerhubTarget.md +2 -0
- data/docs/UpdateEKSTarget.md +2 -0
- data/docs/UpdateGKETarget.md +2 -0
- data/docs/UpdateGcpTarget.md +2 -2
- data/docs/UpdateGithubTarget.md +2 -0
- data/docs/UpdateItem.md +8 -0
- data/docs/UpdateLdapTarget.md +46 -0
- data/docs/UpdateLdapTargetDetails.md +42 -0
- data/docs/UpdateLdapTargetOutput.md +18 -0
- data/docs/UpdateNativeK8STarget.md +2 -0
- data/docs/UpdateOutput.md +2 -0
- data/docs/UpdatePKICertIssuer.md +2 -0
- data/docs/UpdateRDPTargetDetails.md +2 -0
- data/docs/UpdateRabbitMQTarget.md +2 -0
- data/docs/UpdateRabbitMQTargetDetails.md +2 -0
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateRotatedSecret.md +32 -0
- data/docs/UpdateRotationSettings.md +2 -0
- data/docs/UpdateSSHCertIssuer.md +2 -0
- data/docs/UpdateSSHTarget.md +2 -0
- data/docs/UpdateSSHTargetDetails.md +2 -0
- data/docs/UpdateSalesforceTarget.md +54 -0
- data/docs/UpdateSalesforceTargetOutput.md +18 -0
- data/docs/UpdateSecretVal.md +12 -0
- data/docs/UpdateTarget.md +2 -0
- data/docs/UpdateTargetDetails.md +18 -0
- data/docs/UpdateTokenizer.md +48 -0
- data/docs/UpdateTokenizerOutput.md +18 -0
- data/docs/UpdateWebTarget.md +2 -0
- data/docs/UpdateWebTargetDetails.md +2 -0
- data/docs/UploadPKCS12.md +4 -0
- data/docs/UploadRSA.md +6 -0
- data/docs/V2Api.md +2183 -477
- data/docs/ValidateToken.md +2 -0
- data/docs/VaultlessTokenizerInfo.md +28 -0
- data/docs/VerifyJWTWithClassicKey.md +2 -0
- data/docs/VerifyPKCS1.md +6 -0
- data/docs/VerifyPKICertWithClassicKey.md +2 -0
- data/git_push.sh +0 -0
- data/lib/akeyless/api/v2_api.rb +1926 -210
- data/lib/akeyless/api_client.rb +4 -8
- data/lib/akeyless/api_error.rb +1 -1
- data/lib/akeyless/configuration.rb +3 -2
- data/lib/akeyless/models/account_general_settings.rb +238 -0
- data/lib/akeyless/models/account_object_version_settings_output.rb +1 -1
- data/lib/akeyless/models/active_directory_migration.rb +228 -0
- data/lib/akeyless/models/active_directory_payload.rb +349 -0
- data/lib/akeyless/models/admins_config_part.rb +1 -1
- data/lib/akeyless/models/akeyless_gateway_config.rb +1 -1
- data/lib/akeyless/models/allowed_access.rb +1 -1
- data/lib/akeyless/models/api_key_access_rules.rb +1 -1
- data/lib/akeyless/models/assoc_role_auth_method.rb +12 -2
- data/lib/akeyless/models/assoc_target_item.rb +121 -5
- data/lib/akeyless/models/auth.rb +43 -3
- data/lib/akeyless/models/auth_method.rb +32 -5
- data/lib/akeyless/models/auth_method_access_info.rb +20 -2
- data/lib/akeyless/models/auth_method_role_association.rb +13 -2
- data/lib/akeyless/models/auth_output.rb +1 -1
- data/lib/akeyless/models/aws_payload.rb +1 -1
- data/lib/akeyless/models/aws_s3_log_forwarding_config.rb +11 -2
- data/lib/akeyless/models/aws_secrets_migration.rb +1 -1
- data/lib/akeyless/models/awsiam_access_rules.rb +1 -1
- data/lib/akeyless/models/azure_ad_access_rules.rb +1 -1
- data/lib/akeyless/models/azure_key_vault_migration.rb +1 -1
- data/lib/akeyless/models/azure_log_analytics_forwarding_config.rb +1 -1
- data/lib/akeyless/models/azure_payload.rb +1 -1
- data/lib/akeyless/models/bastion_list_entry.rb +279 -0
- data/lib/akeyless/models/bastions_list.rb +221 -0
- data/lib/akeyless/models/cache_config_part.rb +1 -1
- data/lib/akeyless/models/cert_access_rules.rb +314 -0
- data/lib/akeyless/models/certificate_issue_info.rb +1 -1
- data/lib/akeyless/models/cf_config_part.rb +1 -1
- data/lib/akeyless/models/classic_key_details_info.rb +1 -1
- data/lib/akeyless/models/classic_key_status_info.rb +1 -1
- data/lib/akeyless/models/classic_key_target_info.rb +1 -1
- data/lib/akeyless/models/client_data.rb +1 -1
- data/lib/akeyless/models/config_change.rb +1 -1
- data/lib/akeyless/models/config_hash.rb +11 -2
- data/lib/akeyless/models/configure.rb +35 -5
- data/lib/akeyless/models/configure_output.rb +1 -1
- data/lib/akeyless/models/connect.rb +22 -2
- data/lib/akeyless/models/create_artifactory_target.rb +13 -3
- data/lib/akeyless/models/create_artifactory_target_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method.rb +24 -4
- data/lib/akeyless/models/create_auth_method_awsiam.rb +24 -4
- data/lib/akeyless/models/create_auth_method_awsiam_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +24 -4
- data/lib/akeyless/models/create_auth_method_azure_ad_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +421 -0
- data/lib/akeyless/models/create_auth_method_cert_output.rb +219 -0
- data/lib/akeyless/models/create_auth_method_gcp.rb +24 -4
- data/lib/akeyless/models/create_auth_method_gcp_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +24 -4
- data/lib/akeyless/models/create_auth_method_huawei_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +26 -6
- data/lib/akeyless/models/create_auth_method_k8_s_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +50 -8
- data/lib/akeyless/models/create_auth_method_ldap_output.rb +14 -5
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +24 -4
- data/lib/akeyless/models/create_auth_method_o_auth2_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +56 -4
- data/lib/akeyless/models/create_auth_method_oidc_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +24 -4
- data/lib/akeyless/models/create_auth_method_saml_output.rb +1 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +24 -4
- data/lib/akeyless/models/create_auth_method_universal_identity_output.rb +1 -1
- data/lib/akeyless/models/create_aws_target.rb +12 -2
- data/lib/akeyless/models/create_aws_target_output.rb +1 -1
- data/lib/akeyless/models/create_azure_target.rb +42 -2
- data/lib/akeyless/models/create_azure_target_output.rb +1 -1
- data/lib/akeyless/models/create_classic_key.rb +22 -12
- data/lib/akeyless/models/create_classic_key_output.rb +1 -1
- data/lib/akeyless/models/create_db_target.rb +12 -2
- data/lib/akeyless/models/create_db_target_output.rb +1 -1
- data/lib/akeyless/models/create_dfc_key.rb +24 -4
- data/lib/akeyless/models/create_dfc_key_output.rb +1 -1
- data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/create_dockerhub_target_output.rb +1 -1
- data/lib/akeyless/models/create_dynamic_secret.rb +22 -2
- data/lib/akeyless/models/create_eks_target.rb +12 -2
- data/lib/akeyless/models/create_eks_target_output.rb +1 -1
- data/lib/akeyless/models/create_gcp_target.rb +9 -9
- data/lib/akeyless/models/create_gcp_target_output.rb +1 -1
- data/lib/akeyless/models/create_github_target.rb +12 -2
- data/lib/akeyless/models/create_github_target_output.rb +1 -1
- data/lib/akeyless/models/create_gke_target.rb +12 -2
- data/lib/akeyless/models/create_gke_target_output.rb +1 -1
- data/lib/akeyless/models/create_key.rb +23 -3
- data/lib/akeyless/models/create_key_output.rb +23 -5
- data/lib/akeyless/models/create_ldap_target.rb +24 -2
- data/lib/akeyless/models/create_ldap_target_output.rb +1 -1
- data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/create_native_k8_s_target_output.rb +1 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +27 -7
- data/lib/akeyless/models/create_pki_cert_issuer_output.rb +1 -1
- data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/create_rabbit_mq_target_output.rb +1 -1
- data/lib/akeyless/models/create_role.rb +12 -2
- data/lib/akeyless/models/create_role_auth_method_assoc_output.rb +1 -1
- data/lib/akeyless/models/create_rotated_secret.rb +186 -4
- data/lib/akeyless/models/create_rotated_secret_output.rb +1 -1
- data/lib/akeyless/models/create_salesforce_target.rb +395 -0
- data/lib/akeyless/models/create_salesforce_target_output.rb +219 -0
- data/lib/akeyless/models/create_secret.rb +88 -2
- data/lib/akeyless/models/create_secret_output.rb +1 -1
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +23 -3
- data/lib/akeyless/models/create_ssh_cert_issuer_output.rb +1 -1
- data/lib/akeyless/models/create_ssh_target.rb +12 -2
- data/lib/akeyless/models/create_ssh_target_output.rb +1 -1
- data/lib/akeyless/models/create_target_item_assoc_output.rb +1 -1
- data/lib/akeyless/models/create_tokenizer.rb +378 -0
- data/lib/akeyless/models/create_tokenizer_output.rb +219 -0
- data/lib/akeyless/models/create_web_target.rb +12 -2
- data/lib/akeyless/models/create_web_target_output.rb +1 -1
- data/lib/akeyless/models/customer_fragment.rb +1 -1
- data/lib/akeyless/models/customer_fragments_json.rb +1 -1
- data/lib/akeyless/models/customer_full_address.rb +1 -1
- data/lib/akeyless/models/data_protection_section.rb +220 -0
- data/lib/akeyless/models/datadog_forwarding_config.rb +1 -1
- data/lib/akeyless/models/decrypt.rb +37 -2
- data/lib/akeyless/models/decrypt_file.rb +47 -2
- data/lib/akeyless/models/decrypt_file_output.rb +1 -1
- data/lib/akeyless/models/decrypt_output.rb +1 -1
- data/lib/akeyless/models/decrypt_pkcs1.rb +33 -3
- data/lib/akeyless/models/decrypt_pkcs1_output.rb +1 -1
- data/lib/akeyless/models/decrypt_with_classic_key.rb +12 -2
- data/lib/akeyless/models/decrypt_with_classic_key_output.rb +1 -1
- data/lib/akeyless/models/default_config_part.rb +1 -1
- data/lib/akeyless/models/delete_auth_method.rb +12 -2
- data/lib/akeyless/models/delete_auth_method_output.rb +1 -1
- data/lib/akeyless/models/delete_auth_methods.rb +12 -2
- data/lib/akeyless/models/delete_auth_methods_output.rb +1 -1
- data/lib/akeyless/models/delete_item.rb +24 -2
- data/lib/akeyless/models/delete_item_output.rb +1 -1
- data/lib/akeyless/models/delete_items.rb +12 -2
- data/lib/akeyless/models/delete_items_output.rb +1 -1
- data/lib/akeyless/models/delete_role.rb +12 -2
- data/lib/akeyless/models/delete_role_association.rb +12 -2
- data/lib/akeyless/models/delete_role_rule.rb +13 -3
- data/lib/akeyless/models/delete_role_rule_output.rb +1 -1
- data/lib/akeyless/models/delete_roles.rb +12 -2
- data/lib/akeyless/models/delete_target.rb +12 -2
- data/lib/akeyless/models/delete_target_association.rb +12 -2
- data/lib/akeyless/models/delete_targets.rb +12 -2
- data/lib/akeyless/models/describe_item.rb +32 -2
- data/lib/akeyless/models/describe_permissions.rb +12 -2
- data/lib/akeyless/models/describe_permissions_output.rb +1 -1
- data/lib/akeyless/models/describe_sub_claims.rb +241 -0
- data/lib/akeyless/models/describe_sub_claims_output.rb +221 -0
- data/lib/akeyless/models/detokenize.rb +281 -0
- data/lib/akeyless/models/detokenize_output.rb +219 -0
- data/lib/akeyless/models/ds_producer_details.rb +104 -2
- data/lib/akeyless/models/dynamic_secret_producer_info.rb +11 -2
- data/lib/akeyless/models/elasticsearch_log_forwarding_config.rb +1 -1
- data/lib/akeyless/models/email_pass_access_rules.rb +1 -1
- data/lib/akeyless/models/email_tokenizer_info.rb +241 -0
- data/lib/akeyless/models/encrypt.rb +37 -2
- data/lib/akeyless/models/encrypt_file.rb +32 -2
- data/lib/akeyless/models/encrypt_file_output.rb +1 -1
- data/lib/akeyless/models/encrypt_output.rb +1 -1
- data/lib/akeyless/models/encrypt_pkcs1.rb +23 -3
- data/lib/akeyless/models/encrypt_pkcs1_output.rb +1 -1
- data/lib/akeyless/models/encrypt_with_classic_key.rb +12 -2
- data/lib/akeyless/models/encrypt_with_classic_key_output.rb +1 -1
- data/lib/akeyless/models/export_classic_key.rb +278 -0
- data/lib/akeyless/models/export_classic_key_output.rb +228 -0
- data/lib/akeyless/models/external_kms_key_id.rb +1 -1
- data/lib/akeyless/models/gateway_add_allowed_management_access.rb +12 -2
- data/lib/akeyless/models/gateway_create_k8_s_auth_config.rb +59 -5
- data/lib/akeyless/models/gateway_create_k8_s_auth_config_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_migration.rb +711 -0
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_artifactory_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_aws_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_azure.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_azure_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_cassandra_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_certificate_automation.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_certificate_automation_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_chef_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_custom.rb +44 -2
- data/lib/akeyless/models/gateway_create_producer_custom_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +23 -3
- data/lib/akeyless/models/gateway_create_producer_dockerhub_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_eks_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +50 -3
- data/lib/akeyless/models/gateway_create_producer_gcp_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_github.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_github_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_gke.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_gke_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +431 -0
- data/lib/akeyless/models/gateway_create_producer_hana_db_output.rb +219 -0
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_ldap_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +22 -4
- data/lib/akeyless/models/gateway_create_producer_mongo_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_mssql_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_my_sql_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_native_k8_s_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +60 -2
- data/lib/akeyless/models/gateway_create_producer_oracle_db_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_postgre_sql_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +34 -2
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_rdp_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +32 -2
- data/lib/akeyless/models/gateway_create_producer_redshift_output.rb +1 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +22 -2
- data/lib/akeyless/models/gateway_create_producer_snowflake_output.rb +1 -1
- data/lib/akeyless/models/gateway_delete_allowed_management_access.rb +12 -2
- data/lib/akeyless/models/gateway_delete_k8_s_auth_config.rb +12 -2
- data/lib/akeyless/models/gateway_delete_k8_s_auth_config_output.rb +1 -1
- data/lib/akeyless/models/gateway_delete_migration.rb +256 -0
- data/lib/akeyless/models/gateway_delete_producer.rb +12 -2
- data/lib/akeyless/models/gateway_delete_producer_output.rb +1 -1
- data/lib/akeyless/models/gateway_get_config.rb +12 -2
- data/lib/akeyless/models/gateway_get_k8_s_auth_config.rb +12 -2
- data/lib/akeyless/models/gateway_get_k8_s_auth_config_output.rb +33 -3
- data/lib/akeyless/models/gateway_get_ldap_auth_config.rb +241 -0
- data/lib/akeyless/models/gateway_get_ldap_auth_config_output.rb +336 -0
- data/lib/akeyless/models/gateway_get_migration.rb +251 -0
- data/lib/akeyless/models/gateway_get_producer.rb +12 -2
- data/lib/akeyless/models/gateway_get_tmp_users.rb +12 -2
- data/lib/akeyless/models/gateway_list_allowed_management_access.rb +12 -2
- data/lib/akeyless/models/gateway_list_migration.rb +12 -2
- data/lib/akeyless/models/gateway_list_producers.rb +12 -2
- data/lib/akeyless/models/gateway_message_queue_info.rb +5 -14
- data/lib/akeyless/models/gateway_migrate_personal_items.rb +325 -0
- data/lib/akeyless/models/gateway_migrate_personal_items_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_create_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_delete_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_get_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_list_output.rb +1 -1
- data/lib/akeyless/models/gateway_migration_sync_output.rb +1 -1
- data/lib/akeyless/models/gateway_migration_update_output.rb +219 -0
- data/lib/akeyless/models/gateway_revoke_tmp_users.rb +25 -3
- data/lib/akeyless/models/gateway_start_producer.rb +12 -2
- data/lib/akeyless/models/gateway_start_producer_output.rb +1 -1
- data/lib/akeyless/models/gateway_status_migration.rb +261 -0
- data/lib/akeyless/models/gateway_stop_producer.rb +12 -2
- data/lib/akeyless/models/gateway_stop_producer_output.rb +1 -1
- data/lib/akeyless/models/gateway_sync_migration.rb +13 -2
- data/lib/akeyless/models/gateway_update_item.rb +22 -2
- data/lib/akeyless/models/gateway_update_item_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_k8_s_auth_config.rb +59 -5
- data/lib/akeyless/models/gateway_update_k8_s_auth_config_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_ldap_auth_config.rb +371 -0
- data/lib/akeyless/models/gateway_update_ldap_auth_config_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_migration.rb +716 -0
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_artifactory_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_aws_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_azure.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_azure_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_cassandra_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_certificate_automation.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_certificate_automation_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_chef_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_custom.rb +44 -2
- data/lib/akeyless/models/gateway_update_producer_custom_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +23 -3
- data/lib/akeyless/models/gateway_update_producer_dockerhub_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_eks.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_eks_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +50 -3
- data/lib/akeyless/models/gateway_update_producer_gcp_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_github.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_github_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_gke.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_gke_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +441 -0
- data/lib/akeyless/models/gateway_update_producer_hana_db_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_ldap_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +22 -4
- data/lib/akeyless/models/gateway_update_producer_mongo_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_mssql_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_my_sql_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_native_k8_s_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +60 -2
- data/lib/akeyless/models/gateway_update_producer_oracle_db_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_postgre_sql_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +34 -2
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_rdp_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +32 -2
- data/lib/akeyless/models/gateway_update_producer_redshift_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +22 -2
- data/lib/akeyless/models/gateway_update_producer_snowflake_output.rb +1 -1
- data/lib/akeyless/models/gateway_update_tmp_users.rb +12 -2
- data/lib/akeyless/models/gateways_list_response.rb +222 -0
- data/lib/akeyless/models/gcp_access_rules.rb +1 -1
- data/lib/akeyless/models/gcp_payload.rb +219 -0
- data/lib/akeyless/models/gcp_secrets_migration.rb +228 -0
- data/lib/akeyless/models/gen_customer_fragment.rb +15 -5
- data/lib/akeyless/models/general_config_part.rb +1 -1
- data/lib/akeyless/models/get_account_settings.rb +12 -2
- data/lib/akeyless/models/get_account_settings_command_output.rb +11 -2
- data/lib/akeyless/models/get_auth_method.rb +12 -2
- data/lib/akeyless/models/get_cloud_identity.rb +12 -2
- data/lib/akeyless/models/get_cloud_identity_output.rb +1 -1
- data/lib/akeyless/models/get_dynamic_secret_value.rb +12 -2
- data/lib/akeyless/models/get_kube_exec_creds.rb +32 -2
- data/lib/akeyless/models/get_kube_exec_creds_output.rb +1 -1
- data/lib/akeyless/models/get_pki_certificate.rb +32 -2
- data/lib/akeyless/models/get_pki_certificate_output.rb +1 -1
- data/lib/akeyless/models/get_producers_list_reply_obj.rb +1 -1
- data/lib/akeyless/models/get_role.rb +12 -2
- data/lib/akeyless/models/get_rotated_secret_value.rb +22 -2
- data/lib/akeyless/models/get_rsa_public.rb +12 -2
- data/lib/akeyless/models/get_rsa_public_output.rb +13 -6
- data/lib/akeyless/models/get_secret_value.rb +44 -2
- data/lib/akeyless/models/get_ssh_certificate.rb +32 -2
- data/lib/akeyless/models/get_ssh_certificate_output.rb +1 -1
- data/lib/akeyless/models/get_sub_admins_list_reply_obj.rb +1 -1
- data/lib/akeyless/models/get_tags.rb +12 -2
- data/lib/akeyless/models/get_target.rb +12 -2
- data/lib/akeyless/models/get_target_details.rb +12 -2
- data/lib/akeyless/models/get_target_details_output.rb +1 -1
- data/lib/akeyless/models/gw_cluster_identity.rb +322 -0
- data/lib/akeyless/models/hashi_migration.rb +1 -1
- data/lib/akeyless/models/hashi_payload.rb +11 -2
- data/lib/akeyless/models/huawei_access_rules.rb +1 -1
- data/lib/akeyless/models/item.rb +65 -2
- data/lib/akeyless/models/item_general_info.rb +32 -5
- data/lib/akeyless/models/item_target_association.rb +25 -5
- data/lib/akeyless/models/item_version.rb +20 -2
- data/lib/akeyless/models/json_error.rb +1 -1
- data/lib/akeyless/models/k8_s_auth.rb +33 -3
- data/lib/akeyless/models/k8_s_auths_config_last_change.rb +1 -1
- data/lib/akeyless/models/k8_s_auths_config_part.rb +1 -1
- data/lib/akeyless/models/k8_s_migration.rb +1 -1
- data/lib/akeyless/models/k8_s_payload.rb +1 -1
- data/lib/akeyless/models/kmip_client.rb +20 -2
- data/lib/akeyless/models/kmip_client_delete_rule.rb +12 -2
- data/lib/akeyless/models/kmip_client_get_response.rb +1 -1
- data/lib/akeyless/models/kmip_client_list_response.rb +1 -1
- data/lib/akeyless/models/kmip_client_set_rule.rb +12 -2
- data/lib/akeyless/models/kmip_client_update_response.rb +1 -1
- data/lib/akeyless/models/kmip_config_part.rb +24 -2
- data/lib/akeyless/models/kmip_create_client.rb +21 -2
- data/lib/akeyless/models/kmip_create_client_output.rb +1 -1
- data/lib/akeyless/models/kmip_delete_client.rb +12 -2
- data/lib/akeyless/models/kmip_delete_server.rb +241 -0
- data/lib/akeyless/models/kmip_describe_client.rb +12 -2
- data/lib/akeyless/models/kmip_describe_server.rb +12 -2
- data/lib/akeyless/models/kmip_describe_server_output.rb +20 -2
- data/lib/akeyless/models/kmip_environment_create_response.rb +1 -1
- data/lib/akeyless/models/kmip_list_clients.rb +12 -2
- data/lib/akeyless/models/kmip_move_server.rb +250 -0
- data/lib/akeyless/models/kmip_move_server_output.rb +228 -0
- data/lib/akeyless/models/kmip_renew_client_certificate.rb +12 -2
- data/lib/akeyless/models/kmip_renew_client_certificate_output.rb +1 -1
- data/lib/akeyless/models/kmip_renew_server_certificate.rb +12 -2
- data/lib/akeyless/models/kmip_renew_server_certificate_output.rb +1 -1
- data/lib/akeyless/models/kmip_server.rb +277 -0
- data/lib/akeyless/models/kmip_server_setup.rb +12 -2
- data/lib/akeyless/models/kmip_set_server_state.rb +12 -2
- data/lib/akeyless/models/kmip_set_server_state_output.rb +1 -1
- data/lib/akeyless/models/kubernetes_access_rules.rb +12 -2
- data/lib/akeyless/models/last_config_change.rb +1 -1
- data/lib/akeyless/models/last_status_info.rb +1 -1
- data/lib/akeyless/models/ldap_access_rules.rb +12 -2
- data/lib/akeyless/models/ldap_config_part.rb +1 -1
- data/lib/akeyless/models/leadership_config_part.rb +1 -1
- data/lib/akeyless/models/list_auth_methods.rb +34 -2
- data/lib/akeyless/models/list_auth_methods_output.rb +1 -1
- data/lib/akeyless/models/list_gateways.rb +240 -0
- data/lib/akeyless/models/list_items.rb +45 -3
- data/lib/akeyless/models/list_items_in_path_output.rb +1 -1
- data/lib/akeyless/models/list_roles.rb +22 -2
- data/lib/akeyless/models/list_roles_output.rb +1 -1
- data/lib/akeyless/models/list_sra_bastions.rb +240 -0
- data/lib/akeyless/models/list_targets.rb +34 -2
- data/lib/akeyless/models/list_targets_output.rb +1 -1
- data/lib/akeyless/models/log_forwarding_config_part.rb +11 -11
- data/lib/akeyless/models/logstash_log_forwarding_config.rb +1 -1
- data/lib/akeyless/models/logz_io_log_forwarding_config.rb +1 -1
- data/lib/akeyless/models/migration_general.rb +32 -5
- data/lib/akeyless/models/migration_items.rb +246 -0
- data/lib/akeyless/models/migration_status.rb +13 -2
- data/lib/akeyless/models/migration_status_reply_obj.rb +300 -0
- data/lib/akeyless/models/migrations_config_last_change.rb +1 -1
- data/lib/akeyless/models/migrations_config_part.rb +49 -5
- data/lib/akeyless/models/mock_migration.rb +228 -0
- data/lib/akeyless/models/mock_payload.rb +221 -0
- data/lib/akeyless/models/move_objects.rb +12 -2
- data/lib/akeyless/models/o_auth2_access_rules.rb +1 -1
- data/lib/akeyless/models/o_auth2_custom_claim.rb +1 -1
- data/lib/akeyless/models/object_version_settings_output.rb +1 -1
- data/lib/akeyless/models/oidc_access_rules.rb +34 -2
- data/lib/akeyless/models/oidc_custom_claim.rb +1 -1
- data/lib/akeyless/models/one_password_migration.rb +228 -0
- data/lib/akeyless/models/one_password_payload.rb +257 -0
- data/lib/akeyless/models/password_policy_info.rb +1 -1
- data/lib/akeyless/models/path_rule.rb +59 -2
- data/lib/akeyless/models/pki_certificate_issue_details.rb +1 -1
- data/lib/akeyless/models/producer.rb +11 -2
- data/lib/akeyless/models/producers_config_part.rb +1 -1
- data/lib/akeyless/models/raw_creds.rb +1 -1
- data/lib/akeyless/models/refresh_key.rb +12 -2
- data/lib/akeyless/models/refresh_key_output.rb +1 -1
- data/lib/akeyless/models/regexp_tokenizer_info.rb +251 -0
- data/lib/akeyless/models/required_activity.rb +1 -1
- data/lib/akeyless/models/reverse_rbac.rb +12 -2
- data/lib/akeyless/models/reverse_rbac_client.rb +2 -13
- data/lib/akeyless/models/reverse_rbac_output.rb +1 -1
- data/lib/akeyless/models/revoke_creds.rb +12 -2
- data/lib/akeyless/models/role.rb +29 -2
- data/lib/akeyless/models/role_auth_method_association.rb +1 -1
- data/lib/akeyless/models/rollback_secret.rb +12 -2
- data/lib/akeyless/models/rollback_secret_output.rb +1 -1
- data/lib/akeyless/models/rotate_key.rb +17 -17
- data/lib/akeyless/models/rotate_key_output.rb +20 -2
- data/lib/akeyless/models/rotate_secret.rb +255 -0
- data/lib/akeyless/models/rotated_secret_details_info.rb +1 -1
- data/lib/akeyless/models/rotated_secret_output.rb +219 -0
- data/lib/akeyless/models/rotator.rb +1 -1
- data/lib/akeyless/models/rotators_config_part.rb +1 -1
- data/lib/akeyless/models/rule_assigner.rb +228 -0
- data/lib/akeyless/models/rules.rb +1 -1
- data/lib/akeyless/models/saml_access_rules.rb +1 -1
- data/lib/akeyless/models/saml_attribute.rb +1 -1
- data/lib/akeyless/models/secure_remote_access.rb +1 -1
- data/lib/akeyless/models/set_item_state.rb +12 -2
- data/lib/akeyless/models/set_role_rule.rb +13 -3
- data/lib/akeyless/models/share_item.rb +316 -0
- data/lib/akeyless/models/sign_jwt_output.rb +1 -1
- data/lib/akeyless/models/sign_jwt_with_classic_key.rb +12 -2
- data/lib/akeyless/models/sign_pkcs1.rb +32 -7
- data/lib/akeyless/models/sign_pkcs1_output.rb +1 -1
- data/lib/akeyless/models/sign_pki_cert_output.rb +1 -1
- data/lib/akeyless/models/sign_pki_cert_with_classic_key.rb +12 -2
- data/lib/akeyless/models/sm_info.rb +9 -8
- data/lib/akeyless/models/splunk_log_forwarding_config.rb +1 -1
- data/lib/akeyless/models/sra_info.rb +9 -8
- data/lib/akeyless/models/ssh_certificate_issue_details.rb +1 -1
- data/lib/akeyless/models/static_creds_auth.rb +15 -5
- data/lib/akeyless/models/static_creds_auth_output.rb +1 -1
- data/lib/akeyless/models/static_secret_details_info.rb +17 -5
- data/lib/akeyless/models/syslog_log_forwarding_config.rb +1 -1
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +12 -2
- data/lib/akeyless/models/system_access_creds_settings.rb +1 -1
- data/lib/akeyless/models/target.rb +50 -2
- data/lib/akeyless/models/target_item_association.rb +34 -5
- data/lib/akeyless/models/target_item_version.rb +20 -2
- data/lib/akeyless/models/target_object_association.rb +267 -0
- data/lib/akeyless/models/target_type_details_input.rb +119 -2
- data/lib/akeyless/models/tmp_user_data.rb +1 -1
- data/lib/akeyless/models/tokenize.rb +281 -0
- data/lib/akeyless/models/tokenize_output.rb +228 -0
- data/lib/akeyless/models/tokenizer_info.rb +219 -0
- data/lib/akeyless/models/uid_create_child_token.rb +12 -2
- data/lib/akeyless/models/uid_create_child_token_output.rb +1 -1
- data/lib/akeyless/models/uid_generate_token.rb +12 -2
- data/lib/akeyless/models/uid_generate_token_output.rb +1 -1
- data/lib/akeyless/models/uid_list_children.rb +12 -2
- data/lib/akeyless/models/uid_revoke_token.rb +12 -2
- data/lib/akeyless/models/uid_rotate_token.rb +12 -2
- data/lib/akeyless/models/uid_rotate_token_output.rb +1 -1
- data/lib/akeyless/models/uid_token_details.rb +1 -1
- data/lib/akeyless/models/unconfigure.rb +12 -2
- data/lib/akeyless/models/universal_identity_access_rules.rb +1 -1
- data/lib/akeyless/models/universal_identity_details.rb +1 -1
- data/lib/akeyless/models/update.rb +12 -2
- data/lib/akeyless/models/update_account_settings.rb +75 -5
- data/lib/akeyless/models/update_account_settings_output.rb +1 -1
- data/lib/akeyless/models/update_artifactory_target.rb +12 -2
- data/lib/akeyless/models/update_artifactory_target_output.rb +1 -1
- data/lib/akeyless/models/update_assoc.rb +12 -2
- data/lib/akeyless/models/update_auth_method.rb +24 -4
- data/lib/akeyless/models/update_auth_method_awsiam.rb +24 -4
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +24 -4
- data/lib/akeyless/models/update_auth_method_cert.rb +431 -0
- data/lib/akeyless/models/update_auth_method_cert_output.rb +219 -0
- data/lib/akeyless/models/update_auth_method_gcp.rb +24 -4
- data/lib/akeyless/models/update_auth_method_k8_s.rb +26 -8
- data/lib/akeyless/models/update_auth_method_k8_s_output.rb +1 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +48 -8
- data/lib/akeyless/models/update_auth_method_ldap_output.rb +219 -0
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +24 -4
- data/lib/akeyless/models/update_auth_method_oidc.rb +56 -4
- data/lib/akeyless/models/update_auth_method_output.rb +1 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +24 -4
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +24 -4
- data/lib/akeyless/models/update_aws_target.rb +12 -2
- data/lib/akeyless/models/update_aws_target_details.rb +12 -2
- data/lib/akeyless/models/update_azure_target.rb +42 -2
- data/lib/akeyless/models/update_azure_target_output.rb +1 -1
- data/lib/akeyless/models/update_db_target.rb +32 -2
- data/lib/akeyless/models/update_db_target_details.rb +12 -2
- data/lib/akeyless/models/update_db_target_output.rb +1 -1
- data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/update_dockerhub_target_output.rb +1 -1
- data/lib/akeyless/models/update_eks_target.rb +12 -2
- data/lib/akeyless/models/update_eks_target_output.rb +1 -1
- data/lib/akeyless/models/update_gcp_target.rb +9 -14
- data/lib/akeyless/models/update_gcp_target_output.rb +1 -1
- data/lib/akeyless/models/update_github_target.rb +12 -2
- data/lib/akeyless/models/update_github_target_output.rb +1 -1
- data/lib/akeyless/models/update_gke_target.rb +12 -2
- data/lib/akeyless/models/update_gke_target_output.rb +1 -1
- data/lib/akeyless/models/update_item.rb +43 -2
- data/lib/akeyless/models/update_item_output.rb +1 -1
- data/lib/akeyless/models/update_ldap_target.rb +359 -0
- data/lib/akeyless/models/update_ldap_target_details.rb +338 -0
- data/lib/akeyless/models/update_ldap_target_output.rb +219 -0
- data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/update_native_k8_s_target_output.rb +1 -1
- data/lib/akeyless/models/update_output.rb +11 -2
- data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/update_pki_cert_issuer_output.rb +1 -1
- data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/update_rabbit_mq_target_details.rb +12 -2
- data/lib/akeyless/models/update_rabbit_mq_target_output.rb +1 -1
- data/lib/akeyless/models/update_rdp_target_details.rb +12 -2
- data/lib/akeyless/models/update_role.rb +12 -2
- data/lib/akeyless/models/update_role_output.rb +1 -1
- data/lib/akeyless/models/update_rotated_secret.rb +174 -2
- data/lib/akeyless/models/update_rotated_secret_output.rb +1 -1
- data/lib/akeyless/models/update_rotation_settings.rb +12 -2
- data/lib/akeyless/models/update_salesforce_target.rb +424 -0
- data/lib/akeyless/models/update_salesforce_target_output.rb +219 -0
- data/lib/akeyless/models/update_secret_val.rb +68 -2
- data/lib/akeyless/models/update_secret_val_output.rb +1 -1
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +12 -2
- data/lib/akeyless/models/update_ssh_cert_issuer_output.rb +1 -1
- data/lib/akeyless/models/update_ssh_target.rb +12 -2
- data/lib/akeyless/models/update_ssh_target_details.rb +12 -2
- data/lib/akeyless/models/update_ssh_target_output.rb +1 -1
- data/lib/akeyless/models/update_target.rb +12 -2
- data/lib/akeyless/models/update_target_details.rb +220 -0
- data/lib/akeyless/models/update_target_details_output.rb +1 -1
- data/lib/akeyless/models/update_target_output.rb +1 -1
- data/lib/akeyless/models/update_tokenizer.rb +391 -0
- data/lib/akeyless/models/update_tokenizer_output.rb +219 -0
- data/lib/akeyless/models/update_web_target.rb +12 -2
- data/lib/akeyless/models/update_web_target_details.rb +12 -2
- data/lib/akeyless/models/update_web_target_output.rb +1 -1
- data/lib/akeyless/models/upload_pkcs12.rb +22 -2
- data/lib/akeyless/models/upload_rsa.rb +32 -2
- data/lib/akeyless/models/validate_token.rb +12 -2
- data/lib/akeyless/models/validate_token_output.rb +1 -1
- data/lib/akeyless/models/vaultless_tokenizer_info.rb +265 -0
- data/lib/akeyless/models/verify_jwt_output.rb +1 -1
- data/lib/akeyless/models/verify_jwt_with_classic_key.rb +12 -2
- data/lib/akeyless/models/verify_pkcs1.rb +32 -2
- data/lib/akeyless/models/verify_pki_cert_output.rb +1 -1
- data/lib/akeyless/models/verify_pki_cert_with_classic_key.rb +12 -2
- data/lib/akeyless/version.rb +2 -2
- data/lib/akeyless.rb +74 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_general_settings_spec.rb +34 -0
- data/spec/models/active_directory_migration_spec.rb +40 -0
- data/spec/models/active_directory_payload_spec.rb +118 -0
- data/spec/models/bastion_list_entry_spec.rb +64 -0
- data/spec/models/bastions_list_spec.rb +34 -0
- data/spec/models/cert_access_rules_spec.rb +82 -0
- data/spec/models/create_auth_method_cert_output_spec.rb +34 -0
- data/spec/models/create_auth_method_cert_spec.rb +124 -0
- data/spec/models/create_salesforce_target_output_spec.rb +34 -0
- data/spec/models/create_salesforce_target_spec.rb +106 -0
- data/spec/models/create_tokenizer_output_spec.rb +34 -0
- data/spec/models/create_tokenizer_spec.rb +106 -0
- data/spec/models/data_protection_section_spec.rb +34 -0
- data/spec/models/describe_sub_claims_output_spec.rb +34 -0
- data/spec/models/describe_sub_claims_spec.rb +40 -0
- data/spec/models/detokenize_output_spec.rb +34 -0
- data/spec/models/detokenize_spec.rb +58 -0
- data/spec/models/email_tokenizer_info_spec.rb +46 -0
- data/spec/models/export_classic_key_output_spec.rb +40 -0
- data/spec/models/export_classic_key_spec.rb +58 -0
- data/spec/models/gateway_create_migration_spec.rb +130 -0
- data/spec/models/gateway_create_producer_hana_db_output_spec.rb +34 -0
- data/spec/models/gateway_create_producer_hana_db_spec.rb +142 -0
- data/spec/models/gateway_delete_migration_spec.rb +46 -0
- data/spec/models/gateway_get_ldap_auth_config_output_spec.rb +112 -0
- data/spec/models/gateway_get_ldap_auth_config_spec.rb +40 -0
- data/spec/models/gateway_get_migration_spec.rb +46 -0
- data/spec/models/gateway_migrate_personal_items_output_spec.rb +34 -0
- data/spec/models/gateway_migrate_personal_items_spec.rb +94 -0
- data/spec/models/gateway_migration_create_output_spec.rb +34 -0
- data/spec/models/gateway_migration_delete_output_spec.rb +34 -0
- data/spec/models/gateway_migration_get_output_spec.rb +34 -0
- data/spec/models/gateway_migration_update_output_spec.rb +34 -0
- data/spec/models/gateway_status_migration_spec.rb +52 -0
- data/spec/models/gateway_update_ldap_auth_config_output_spec.rb +34 -0
- data/spec/models/gateway_update_ldap_auth_config_spec.rb +118 -0
- data/spec/models/gateway_update_migration_spec.rb +136 -0
- data/spec/models/gateway_update_producer_hana_db_output_spec.rb +34 -0
- data/spec/models/gateway_update_producer_hana_db_spec.rb +148 -0
- data/spec/models/gateways_list_response_spec.rb +34 -0
- data/spec/models/gcp_payload_spec.rb +34 -0
- data/spec/models/gcp_secrets_migration_spec.rb +40 -0
- data/spec/models/gw_cluster_identity_spec.rb +100 -0
- data/spec/models/kmip_delete_server_spec.rb +40 -0
- data/spec/models/kmip_move_server_output_spec.rb +40 -0
- data/spec/models/kmip_move_server_spec.rb +46 -0
- data/spec/models/kmip_server_spec.rb +58 -0
- data/spec/models/list_gateways_spec.rb +46 -0
- data/spec/models/list_sra_bastions_spec.rb +46 -0
- data/spec/models/migration_items_spec.rb +52 -0
- data/spec/models/migration_status_reply_obj_spec.rb +88 -0
- data/spec/models/mock_migration_spec.rb +40 -0
- data/spec/models/mock_payload_spec.rb +34 -0
- data/spec/models/one_password_migration_spec.rb +40 -0
- data/spec/models/one_password_payload_spec.rb +58 -0
- data/spec/models/regexp_tokenizer_info_spec.rb +52 -0
- data/spec/models/rotate_secret_spec.rb +46 -0
- data/spec/models/rotated_secret_output_spec.rb +34 -0
- data/spec/models/rule_assigner_spec.rb +40 -0
- data/spec/models/share_item_spec.rb +82 -0
- data/spec/models/target_object_association_spec.rb +64 -0
- data/spec/models/tokenize_output_spec.rb +40 -0
- data/spec/models/tokenize_spec.rb +58 -0
- data/spec/models/tokenizer_info_spec.rb +34 -0
- data/spec/models/update_auth_method_cert_output_spec.rb +34 -0
- data/spec/models/update_auth_method_cert_spec.rb +130 -0
- data/spec/models/update_auth_method_ldap_output_spec.rb +34 -0
- data/spec/models/update_ldap_target_details_spec.rb +100 -0
- data/spec/models/update_ldap_target_output_spec.rb +34 -0
- data/spec/models/update_ldap_target_spec.rb +106 -0
- data/spec/models/update_salesforce_target_output_spec.rb +34 -0
- data/spec/models/update_salesforce_target_spec.rb +124 -0
- data/spec/models/update_target_details_spec.rb +34 -0
- data/spec/models/update_tokenizer_output_spec.rb +34 -0
- data/spec/models/update_tokenizer_spec.rb +118 -0
- data/spec/models/vaultless_tokenizer_info_spec.rb +64 -0
- data/spec/spec_helper.rb +1 -1
- metadata +763 -459
data/lib/akeyless/api/v2_api.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 2.0
|
7
7
|
Contact: support@akeyless.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -595,6 +595,70 @@ module Akeyless
|
|
595
595
|
return data, status_code, headers
|
596
596
|
end
|
597
597
|
|
598
|
+
# @param body [CreateAuthMethodCert]
|
599
|
+
# @param [Hash] opts the optional parameters
|
600
|
+
# @return [CreateAuthMethodCertOutput]
|
601
|
+
def create_auth_method_cert(body, opts = {})
|
602
|
+
data, _status_code, _headers = create_auth_method_cert_with_http_info(body, opts)
|
603
|
+
data
|
604
|
+
end
|
605
|
+
|
606
|
+
# @param body [CreateAuthMethodCert]
|
607
|
+
# @param [Hash] opts the optional parameters
|
608
|
+
# @return [Array<(CreateAuthMethodCertOutput, Integer, Hash)>] CreateAuthMethodCertOutput data, response status code and response headers
|
609
|
+
def create_auth_method_cert_with_http_info(body, opts = {})
|
610
|
+
if @api_client.config.debugging
|
611
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_auth_method_cert ...'
|
612
|
+
end
|
613
|
+
# verify the required parameter 'body' is set
|
614
|
+
if @api_client.config.client_side_validation && body.nil?
|
615
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_auth_method_cert"
|
616
|
+
end
|
617
|
+
# resource path
|
618
|
+
local_var_path = '/create-auth-method-cert'
|
619
|
+
|
620
|
+
# query parameters
|
621
|
+
query_params = opts[:query_params] || {}
|
622
|
+
|
623
|
+
# header parameters
|
624
|
+
header_params = opts[:header_params] || {}
|
625
|
+
# HTTP header 'Accept' (if needed)
|
626
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
627
|
+
# HTTP header 'Content-Type'
|
628
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
629
|
+
if !content_type.nil?
|
630
|
+
header_params['Content-Type'] = content_type
|
631
|
+
end
|
632
|
+
|
633
|
+
# form parameters
|
634
|
+
form_params = opts[:form_params] || {}
|
635
|
+
|
636
|
+
# http body (model)
|
637
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
638
|
+
|
639
|
+
# return_type
|
640
|
+
return_type = opts[:debug_return_type] || 'CreateAuthMethodCertOutput'
|
641
|
+
|
642
|
+
# auth_names
|
643
|
+
auth_names = opts[:debug_auth_names] || []
|
644
|
+
|
645
|
+
new_options = opts.merge(
|
646
|
+
:operation => :"V2Api.create_auth_method_cert",
|
647
|
+
:header_params => header_params,
|
648
|
+
:query_params => query_params,
|
649
|
+
:form_params => form_params,
|
650
|
+
:body => post_body,
|
651
|
+
:auth_names => auth_names,
|
652
|
+
:return_type => return_type
|
653
|
+
)
|
654
|
+
|
655
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
656
|
+
if @api_client.config.debugging
|
657
|
+
@api_client.config.logger.debug "API called: V2Api#create_auth_method_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
658
|
+
end
|
659
|
+
return data, status_code, headers
|
660
|
+
end
|
661
|
+
|
598
662
|
# @param body [CreateAuthMethodGCP]
|
599
663
|
# @param [Hash] opts the optional parameters
|
600
664
|
# @return [CreateAuthMethodGCPOutput]
|
@@ -2195,6 +2259,70 @@ module Akeyless
|
|
2195
2259
|
return data, status_code, headers
|
2196
2260
|
end
|
2197
2261
|
|
2262
|
+
# @param body [CreateSalesforceTarget]
|
2263
|
+
# @param [Hash] opts the optional parameters
|
2264
|
+
# @return [CreateSalesforceTargetOutput]
|
2265
|
+
def create_salesforce_target(body, opts = {})
|
2266
|
+
data, _status_code, _headers = create_salesforce_target_with_http_info(body, opts)
|
2267
|
+
data
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
# @param body [CreateSalesforceTarget]
|
2271
|
+
# @param [Hash] opts the optional parameters
|
2272
|
+
# @return [Array<(CreateSalesforceTargetOutput, Integer, Hash)>] CreateSalesforceTargetOutput data, response status code and response headers
|
2273
|
+
def create_salesforce_target_with_http_info(body, opts = {})
|
2274
|
+
if @api_client.config.debugging
|
2275
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_salesforce_target ...'
|
2276
|
+
end
|
2277
|
+
# verify the required parameter 'body' is set
|
2278
|
+
if @api_client.config.client_side_validation && body.nil?
|
2279
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_salesforce_target"
|
2280
|
+
end
|
2281
|
+
# resource path
|
2282
|
+
local_var_path = '/create-salesforce-target'
|
2283
|
+
|
2284
|
+
# query parameters
|
2285
|
+
query_params = opts[:query_params] || {}
|
2286
|
+
|
2287
|
+
# header parameters
|
2288
|
+
header_params = opts[:header_params] || {}
|
2289
|
+
# HTTP header 'Accept' (if needed)
|
2290
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2291
|
+
# HTTP header 'Content-Type'
|
2292
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2293
|
+
if !content_type.nil?
|
2294
|
+
header_params['Content-Type'] = content_type
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
# form parameters
|
2298
|
+
form_params = opts[:form_params] || {}
|
2299
|
+
|
2300
|
+
# http body (model)
|
2301
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2302
|
+
|
2303
|
+
# return_type
|
2304
|
+
return_type = opts[:debug_return_type] || 'CreateSalesforceTargetOutput'
|
2305
|
+
|
2306
|
+
# auth_names
|
2307
|
+
auth_names = opts[:debug_auth_names] || []
|
2308
|
+
|
2309
|
+
new_options = opts.merge(
|
2310
|
+
:operation => :"V2Api.create_salesforce_target",
|
2311
|
+
:header_params => header_params,
|
2312
|
+
:query_params => query_params,
|
2313
|
+
:form_params => form_params,
|
2314
|
+
:body => post_body,
|
2315
|
+
:auth_names => auth_names,
|
2316
|
+
:return_type => return_type
|
2317
|
+
)
|
2318
|
+
|
2319
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
2320
|
+
if @api_client.config.debugging
|
2321
|
+
@api_client.config.logger.debug "API called: V2Api#create_salesforce_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2322
|
+
end
|
2323
|
+
return data, status_code, headers
|
2324
|
+
end
|
2325
|
+
|
2198
2326
|
# @param body [CreateSecret]
|
2199
2327
|
# @param [Hash] opts the optional parameters
|
2200
2328
|
# @return [CreateSecretOutput]
|
@@ -2387,6 +2515,70 @@ module Akeyless
|
|
2387
2515
|
return data, status_code, headers
|
2388
2516
|
end
|
2389
2517
|
|
2518
|
+
# @param body [CreateTokenizer]
|
2519
|
+
# @param [Hash] opts the optional parameters
|
2520
|
+
# @return [CreateTokenizerOutput]
|
2521
|
+
def create_tokenizer(body, opts = {})
|
2522
|
+
data, _status_code, _headers = create_tokenizer_with_http_info(body, opts)
|
2523
|
+
data
|
2524
|
+
end
|
2525
|
+
|
2526
|
+
# @param body [CreateTokenizer]
|
2527
|
+
# @param [Hash] opts the optional parameters
|
2528
|
+
# @return [Array<(CreateTokenizerOutput, Integer, Hash)>] CreateTokenizerOutput data, response status code and response headers
|
2529
|
+
def create_tokenizer_with_http_info(body, opts = {})
|
2530
|
+
if @api_client.config.debugging
|
2531
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_tokenizer ...'
|
2532
|
+
end
|
2533
|
+
# verify the required parameter 'body' is set
|
2534
|
+
if @api_client.config.client_side_validation && body.nil?
|
2535
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_tokenizer"
|
2536
|
+
end
|
2537
|
+
# resource path
|
2538
|
+
local_var_path = '/create-tokenizer'
|
2539
|
+
|
2540
|
+
# query parameters
|
2541
|
+
query_params = opts[:query_params] || {}
|
2542
|
+
|
2543
|
+
# header parameters
|
2544
|
+
header_params = opts[:header_params] || {}
|
2545
|
+
# HTTP header 'Accept' (if needed)
|
2546
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2547
|
+
# HTTP header 'Content-Type'
|
2548
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2549
|
+
if !content_type.nil?
|
2550
|
+
header_params['Content-Type'] = content_type
|
2551
|
+
end
|
2552
|
+
|
2553
|
+
# form parameters
|
2554
|
+
form_params = opts[:form_params] || {}
|
2555
|
+
|
2556
|
+
# http body (model)
|
2557
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
2558
|
+
|
2559
|
+
# return_type
|
2560
|
+
return_type = opts[:debug_return_type] || 'CreateTokenizerOutput'
|
2561
|
+
|
2562
|
+
# auth_names
|
2563
|
+
auth_names = opts[:debug_auth_names] || []
|
2564
|
+
|
2565
|
+
new_options = opts.merge(
|
2566
|
+
:operation => :"V2Api.create_tokenizer",
|
2567
|
+
:header_params => header_params,
|
2568
|
+
:query_params => query_params,
|
2569
|
+
:form_params => form_params,
|
2570
|
+
:body => post_body,
|
2571
|
+
:auth_names => auth_names,
|
2572
|
+
:return_type => return_type
|
2573
|
+
)
|
2574
|
+
|
2575
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
2576
|
+
if @api_client.config.debugging
|
2577
|
+
@api_client.config.logger.debug "API called: V2Api#create_tokenizer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2578
|
+
end
|
2579
|
+
return data, status_code, headers
|
2580
|
+
end
|
2581
|
+
|
2390
2582
|
# @param body [CreateWebTarget]
|
2391
2583
|
# @param [Hash] opts the optional parameters
|
2392
2584
|
# @return [CreateWebTargetOutput]
|
@@ -3539,27 +3731,27 @@ module Akeyless
|
|
3539
3731
|
return data, status_code, headers
|
3540
3732
|
end
|
3541
3733
|
|
3542
|
-
# @param body [
|
3734
|
+
# @param body [DescribeSubClaims]
|
3543
3735
|
# @param [Hash] opts the optional parameters
|
3544
|
-
# @return [
|
3545
|
-
def
|
3546
|
-
data, _status_code, _headers =
|
3736
|
+
# @return [DescribeSubClaimsOutput]
|
3737
|
+
def describe_sub_claims(body, opts = {})
|
3738
|
+
data, _status_code, _headers = describe_sub_claims_with_http_info(body, opts)
|
3547
3739
|
data
|
3548
3740
|
end
|
3549
3741
|
|
3550
|
-
# @param body [
|
3742
|
+
# @param body [DescribeSubClaims]
|
3551
3743
|
# @param [Hash] opts the optional parameters
|
3552
|
-
# @return [Array<(
|
3553
|
-
def
|
3744
|
+
# @return [Array<(DescribeSubClaimsOutput, Integer, Hash)>] DescribeSubClaimsOutput data, response status code and response headers
|
3745
|
+
def describe_sub_claims_with_http_info(body, opts = {})
|
3554
3746
|
if @api_client.config.debugging
|
3555
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
3747
|
+
@api_client.config.logger.debug 'Calling API: V2Api.describe_sub_claims ...'
|
3556
3748
|
end
|
3557
3749
|
# verify the required parameter 'body' is set
|
3558
3750
|
if @api_client.config.client_side_validation && body.nil?
|
3559
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
3751
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.describe_sub_claims"
|
3560
3752
|
end
|
3561
3753
|
# resource path
|
3562
|
-
local_var_path = '/
|
3754
|
+
local_var_path = '/describe-sub-claims'
|
3563
3755
|
|
3564
3756
|
# query parameters
|
3565
3757
|
query_params = opts[:query_params] || {}
|
@@ -3581,13 +3773,13 @@ module Akeyless
|
|
3581
3773
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
3582
3774
|
|
3583
3775
|
# return_type
|
3584
|
-
return_type = opts[:debug_return_type] || '
|
3776
|
+
return_type = opts[:debug_return_type] || 'DescribeSubClaimsOutput'
|
3585
3777
|
|
3586
3778
|
# auth_names
|
3587
3779
|
auth_names = opts[:debug_auth_names] || []
|
3588
3780
|
|
3589
3781
|
new_options = opts.merge(
|
3590
|
-
:operation => :"V2Api.
|
3782
|
+
:operation => :"V2Api.describe_sub_claims",
|
3591
3783
|
:header_params => header_params,
|
3592
3784
|
:query_params => query_params,
|
3593
3785
|
:form_params => form_params,
|
@@ -3598,32 +3790,32 @@ module Akeyless
|
|
3598
3790
|
|
3599
3791
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3600
3792
|
if @api_client.config.debugging
|
3601
|
-
@api_client.config.logger.debug "API called: V2Api#
|
3793
|
+
@api_client.config.logger.debug "API called: V2Api#describe_sub_claims\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3602
3794
|
end
|
3603
3795
|
return data, status_code, headers
|
3604
3796
|
end
|
3605
3797
|
|
3606
|
-
# @param body [
|
3798
|
+
# @param body [Detokenize]
|
3607
3799
|
# @param [Hash] opts the optional parameters
|
3608
|
-
# @return [
|
3609
|
-
def
|
3610
|
-
data, _status_code, _headers =
|
3800
|
+
# @return [DetokenizeOutput]
|
3801
|
+
def detokenize(body, opts = {})
|
3802
|
+
data, _status_code, _headers = detokenize_with_http_info(body, opts)
|
3611
3803
|
data
|
3612
3804
|
end
|
3613
3805
|
|
3614
|
-
# @param body [
|
3806
|
+
# @param body [Detokenize]
|
3615
3807
|
# @param [Hash] opts the optional parameters
|
3616
|
-
# @return [Array<(
|
3617
|
-
def
|
3808
|
+
# @return [Array<(DetokenizeOutput, Integer, Hash)>] DetokenizeOutput data, response status code and response headers
|
3809
|
+
def detokenize_with_http_info(body, opts = {})
|
3618
3810
|
if @api_client.config.debugging
|
3619
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
3811
|
+
@api_client.config.logger.debug 'Calling API: V2Api.detokenize ...'
|
3620
3812
|
end
|
3621
3813
|
# verify the required parameter 'body' is set
|
3622
3814
|
if @api_client.config.client_side_validation && body.nil?
|
3623
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
3815
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.detokenize"
|
3624
3816
|
end
|
3625
3817
|
# resource path
|
3626
|
-
local_var_path = '/
|
3818
|
+
local_var_path = '/detokenize'
|
3627
3819
|
|
3628
3820
|
# query parameters
|
3629
3821
|
query_params = opts[:query_params] || {}
|
@@ -3645,13 +3837,13 @@ module Akeyless
|
|
3645
3837
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
3646
3838
|
|
3647
3839
|
# return_type
|
3648
|
-
return_type = opts[:debug_return_type] || '
|
3840
|
+
return_type = opts[:debug_return_type] || 'DetokenizeOutput'
|
3649
3841
|
|
3650
3842
|
# auth_names
|
3651
3843
|
auth_names = opts[:debug_auth_names] || []
|
3652
3844
|
|
3653
3845
|
new_options = opts.merge(
|
3654
|
-
:operation => :"V2Api.
|
3846
|
+
:operation => :"V2Api.detokenize",
|
3655
3847
|
:header_params => header_params,
|
3656
3848
|
:query_params => query_params,
|
3657
3849
|
:form_params => form_params,
|
@@ -3662,32 +3854,32 @@ module Akeyless
|
|
3662
3854
|
|
3663
3855
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3664
3856
|
if @api_client.config.debugging
|
3665
|
-
@api_client.config.logger.debug "API called: V2Api#
|
3857
|
+
@api_client.config.logger.debug "API called: V2Api#detokenize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3666
3858
|
end
|
3667
3859
|
return data, status_code, headers
|
3668
3860
|
end
|
3669
3861
|
|
3670
|
-
# @param body [
|
3862
|
+
# @param body [Encrypt]
|
3671
3863
|
# @param [Hash] opts the optional parameters
|
3672
3864
|
# @return [EncryptOutput]
|
3673
|
-
def
|
3674
|
-
data, _status_code, _headers =
|
3865
|
+
def encrypt(body, opts = {})
|
3866
|
+
data, _status_code, _headers = encrypt_with_http_info(body, opts)
|
3675
3867
|
data
|
3676
3868
|
end
|
3677
3869
|
|
3678
|
-
# @param body [
|
3870
|
+
# @param body [Encrypt]
|
3679
3871
|
# @param [Hash] opts the optional parameters
|
3680
3872
|
# @return [Array<(EncryptOutput, Integer, Hash)>] EncryptOutput data, response status code and response headers
|
3681
|
-
def
|
3873
|
+
def encrypt_with_http_info(body, opts = {})
|
3682
3874
|
if @api_client.config.debugging
|
3683
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
3875
|
+
@api_client.config.logger.debug 'Calling API: V2Api.encrypt ...'
|
3684
3876
|
end
|
3685
3877
|
# verify the required parameter 'body' is set
|
3686
3878
|
if @api_client.config.client_side_validation && body.nil?
|
3687
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
3879
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.encrypt"
|
3688
3880
|
end
|
3689
3881
|
# resource path
|
3690
|
-
local_var_path = '/encrypt
|
3882
|
+
local_var_path = '/encrypt'
|
3691
3883
|
|
3692
3884
|
# query parameters
|
3693
3885
|
query_params = opts[:query_params] || {}
|
@@ -3715,7 +3907,7 @@ module Akeyless
|
|
3715
3907
|
auth_names = opts[:debug_auth_names] || []
|
3716
3908
|
|
3717
3909
|
new_options = opts.merge(
|
3718
|
-
:operation => :"V2Api.
|
3910
|
+
:operation => :"V2Api.encrypt",
|
3719
3911
|
:header_params => header_params,
|
3720
3912
|
:query_params => query_params,
|
3721
3913
|
:form_params => form_params,
|
@@ -3726,32 +3918,32 @@ module Akeyless
|
|
3726
3918
|
|
3727
3919
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3728
3920
|
if @api_client.config.debugging
|
3729
|
-
@api_client.config.logger.debug "API called: V2Api#
|
3921
|
+
@api_client.config.logger.debug "API called: V2Api#encrypt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3730
3922
|
end
|
3731
3923
|
return data, status_code, headers
|
3732
3924
|
end
|
3733
3925
|
|
3734
|
-
# @param body [
|
3926
|
+
# @param body [EncryptWithClassicKey]
|
3735
3927
|
# @param [Hash] opts the optional parameters
|
3736
|
-
# @return [
|
3737
|
-
def
|
3738
|
-
data, _status_code, _headers =
|
3928
|
+
# @return [EncryptOutput]
|
3929
|
+
def encrypt_with_classic_key(body, opts = {})
|
3930
|
+
data, _status_code, _headers = encrypt_with_classic_key_with_http_info(body, opts)
|
3739
3931
|
data
|
3740
3932
|
end
|
3741
3933
|
|
3742
|
-
# @param body [
|
3934
|
+
# @param body [EncryptWithClassicKey]
|
3743
3935
|
# @param [Hash] opts the optional parameters
|
3744
|
-
# @return [Array<(
|
3745
|
-
def
|
3936
|
+
# @return [Array<(EncryptOutput, Integer, Hash)>] EncryptOutput data, response status code and response headers
|
3937
|
+
def encrypt_with_classic_key_with_http_info(body, opts = {})
|
3746
3938
|
if @api_client.config.debugging
|
3747
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
3939
|
+
@api_client.config.logger.debug 'Calling API: V2Api.encrypt_with_classic_key ...'
|
3748
3940
|
end
|
3749
3941
|
# verify the required parameter 'body' is set
|
3750
3942
|
if @api_client.config.client_side_validation && body.nil?
|
3751
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
3943
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.encrypt_with_classic_key"
|
3752
3944
|
end
|
3753
3945
|
# resource path
|
3754
|
-
local_var_path = '/
|
3946
|
+
local_var_path = '/encrypt-with-classic-key'
|
3755
3947
|
|
3756
3948
|
# query parameters
|
3757
3949
|
query_params = opts[:query_params] || {}
|
@@ -3773,13 +3965,13 @@ module Akeyless
|
|
3773
3965
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
3774
3966
|
|
3775
3967
|
# return_type
|
3776
|
-
return_type = opts[:debug_return_type] || '
|
3968
|
+
return_type = opts[:debug_return_type] || 'EncryptOutput'
|
3777
3969
|
|
3778
3970
|
# auth_names
|
3779
3971
|
auth_names = opts[:debug_auth_names] || []
|
3780
3972
|
|
3781
3973
|
new_options = opts.merge(
|
3782
|
-
:operation => :"V2Api.
|
3974
|
+
:operation => :"V2Api.encrypt_with_classic_key",
|
3783
3975
|
:header_params => header_params,
|
3784
3976
|
:query_params => query_params,
|
3785
3977
|
:form_params => form_params,
|
@@ -3790,32 +3982,32 @@ module Akeyless
|
|
3790
3982
|
|
3791
3983
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3792
3984
|
if @api_client.config.debugging
|
3793
|
-
@api_client.config.logger.debug "API called: V2Api#
|
3985
|
+
@api_client.config.logger.debug "API called: V2Api#encrypt_with_classic_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3794
3986
|
end
|
3795
3987
|
return data, status_code, headers
|
3796
3988
|
end
|
3797
3989
|
|
3798
|
-
# @param body [
|
3990
|
+
# @param body [ExportClassicKey]
|
3799
3991
|
# @param [Hash] opts the optional parameters
|
3800
|
-
# @return [
|
3801
|
-
def
|
3802
|
-
data, _status_code, _headers =
|
3992
|
+
# @return [ExportClassicKeyOutput]
|
3993
|
+
def export_classic_key(body, opts = {})
|
3994
|
+
data, _status_code, _headers = export_classic_key_with_http_info(body, opts)
|
3803
3995
|
data
|
3804
3996
|
end
|
3805
3997
|
|
3806
|
-
# @param body [
|
3998
|
+
# @param body [ExportClassicKey]
|
3807
3999
|
# @param [Hash] opts the optional parameters
|
3808
|
-
# @return [Array<(
|
3809
|
-
def
|
4000
|
+
# @return [Array<(ExportClassicKeyOutput, Integer, Hash)>] ExportClassicKeyOutput data, response status code and response headers
|
4001
|
+
def export_classic_key_with_http_info(body, opts = {})
|
3810
4002
|
if @api_client.config.debugging
|
3811
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
4003
|
+
@api_client.config.logger.debug 'Calling API: V2Api.export_classic_key ...'
|
3812
4004
|
end
|
3813
4005
|
# verify the required parameter 'body' is set
|
3814
4006
|
if @api_client.config.client_side_validation && body.nil?
|
3815
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
4007
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.export_classic_key"
|
3816
4008
|
end
|
3817
4009
|
# resource path
|
3818
|
-
local_var_path = '/
|
4010
|
+
local_var_path = '/export-classic-key'
|
3819
4011
|
|
3820
4012
|
# query parameters
|
3821
4013
|
query_params = opts[:query_params] || {}
|
@@ -3837,13 +4029,13 @@ module Akeyless
|
|
3837
4029
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
3838
4030
|
|
3839
4031
|
# return_type
|
3840
|
-
return_type = opts[:debug_return_type] || '
|
4032
|
+
return_type = opts[:debug_return_type] || 'ExportClassicKeyOutput'
|
3841
4033
|
|
3842
4034
|
# auth_names
|
3843
4035
|
auth_names = opts[:debug_auth_names] || []
|
3844
4036
|
|
3845
4037
|
new_options = opts.merge(
|
3846
|
-
:operation => :"V2Api.
|
4038
|
+
:operation => :"V2Api.export_classic_key",
|
3847
4039
|
:header_params => header_params,
|
3848
4040
|
:query_params => query_params,
|
3849
4041
|
:form_params => form_params,
|
@@ -3852,34 +4044,34 @@ module Akeyless
|
|
3852
4044
|
:return_type => return_type
|
3853
4045
|
)
|
3854
4046
|
|
3855
|
-
data, status_code, headers = @api_client.call_api(:
|
4047
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3856
4048
|
if @api_client.config.debugging
|
3857
|
-
@api_client.config.logger.debug "API called: V2Api#
|
4049
|
+
@api_client.config.logger.debug "API called: V2Api#export_classic_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3858
4050
|
end
|
3859
4051
|
return data, status_code, headers
|
3860
4052
|
end
|
3861
4053
|
|
3862
|
-
# @param body [
|
4054
|
+
# @param body [GatewayAddAllowedManagementAccess]
|
3863
4055
|
# @param [Hash] opts the optional parameters
|
3864
|
-
# @return [
|
3865
|
-
def
|
3866
|
-
data, _status_code, _headers =
|
4056
|
+
# @return [Object]
|
4057
|
+
def gateway_add_allowed_management_access(body, opts = {})
|
4058
|
+
data, _status_code, _headers = gateway_add_allowed_management_access_with_http_info(body, opts)
|
3867
4059
|
data
|
3868
4060
|
end
|
3869
4061
|
|
3870
|
-
# @param body [
|
4062
|
+
# @param body [GatewayAddAllowedManagementAccess]
|
3871
4063
|
# @param [Hash] opts the optional parameters
|
3872
|
-
# @return [Array<(
|
3873
|
-
def
|
4064
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
4065
|
+
def gateway_add_allowed_management_access_with_http_info(body, opts = {})
|
3874
4066
|
if @api_client.config.debugging
|
3875
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
4067
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_add_allowed_management_access ...'
|
3876
4068
|
end
|
3877
4069
|
# verify the required parameter 'body' is set
|
3878
4070
|
if @api_client.config.client_side_validation && body.nil?
|
3879
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
4071
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_add_allowed_management_access"
|
3880
4072
|
end
|
3881
4073
|
# resource path
|
3882
|
-
local_var_path = '/gateway-
|
4074
|
+
local_var_path = '/gateway-add-allow-management-access'
|
3883
4075
|
|
3884
4076
|
# query parameters
|
3885
4077
|
query_params = opts[:query_params] || {}
|
@@ -3901,13 +4093,13 @@ module Akeyless
|
|
3901
4093
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
3902
4094
|
|
3903
4095
|
# return_type
|
3904
|
-
return_type = opts[:debug_return_type] || '
|
4096
|
+
return_type = opts[:debug_return_type] || 'Object'
|
3905
4097
|
|
3906
4098
|
# auth_names
|
3907
4099
|
auth_names = opts[:debug_auth_names] || []
|
3908
4100
|
|
3909
4101
|
new_options = opts.merge(
|
3910
|
-
:operation => :"V2Api.
|
4102
|
+
:operation => :"V2Api.gateway_add_allowed_management_access",
|
3911
4103
|
:header_params => header_params,
|
3912
4104
|
:query_params => query_params,
|
3913
4105
|
:form_params => form_params,
|
@@ -3918,23 +4110,279 @@ module Akeyless
|
|
3918
4110
|
|
3919
4111
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3920
4112
|
if @api_client.config.debugging
|
3921
|
-
@api_client.config.logger.debug "API called: V2Api#
|
4113
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_add_allowed_management_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3922
4114
|
end
|
3923
4115
|
return data, status_code, headers
|
3924
4116
|
end
|
3925
4117
|
|
3926
|
-
# @param body [
|
4118
|
+
# @param body [GatewayCreateK8SAuthConfig]
|
3927
4119
|
# @param [Hash] opts the optional parameters
|
3928
|
-
# @return [
|
3929
|
-
def
|
3930
|
-
data, _status_code, _headers =
|
4120
|
+
# @return [GatewayCreateK8SAuthConfigOutput]
|
4121
|
+
def gateway_create_k8_s_auth_config(body, opts = {})
|
4122
|
+
data, _status_code, _headers = gateway_create_k8_s_auth_config_with_http_info(body, opts)
|
3931
4123
|
data
|
3932
4124
|
end
|
3933
4125
|
|
3934
|
-
# @param body [
|
4126
|
+
# @param body [GatewayCreateK8SAuthConfig]
|
3935
4127
|
# @param [Hash] opts the optional parameters
|
3936
|
-
# @return [Array<(
|
3937
|
-
def
|
4128
|
+
# @return [Array<(GatewayCreateK8SAuthConfigOutput, Integer, Hash)>] GatewayCreateK8SAuthConfigOutput data, response status code and response headers
|
4129
|
+
def gateway_create_k8_s_auth_config_with_http_info(body, opts = {})
|
4130
|
+
if @api_client.config.debugging
|
4131
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_k8_s_auth_config ...'
|
4132
|
+
end
|
4133
|
+
# verify the required parameter 'body' is set
|
4134
|
+
if @api_client.config.client_side_validation && body.nil?
|
4135
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_k8_s_auth_config"
|
4136
|
+
end
|
4137
|
+
# resource path
|
4138
|
+
local_var_path = '/gateway-create-k8s-auth-config'
|
4139
|
+
|
4140
|
+
# query parameters
|
4141
|
+
query_params = opts[:query_params] || {}
|
4142
|
+
|
4143
|
+
# header parameters
|
4144
|
+
header_params = opts[:header_params] || {}
|
4145
|
+
# HTTP header 'Accept' (if needed)
|
4146
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4147
|
+
# HTTP header 'Content-Type'
|
4148
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
4149
|
+
if !content_type.nil?
|
4150
|
+
header_params['Content-Type'] = content_type
|
4151
|
+
end
|
4152
|
+
|
4153
|
+
# form parameters
|
4154
|
+
form_params = opts[:form_params] || {}
|
4155
|
+
|
4156
|
+
# http body (model)
|
4157
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
4158
|
+
|
4159
|
+
# return_type
|
4160
|
+
return_type = opts[:debug_return_type] || 'GatewayCreateK8SAuthConfigOutput'
|
4161
|
+
|
4162
|
+
# auth_names
|
4163
|
+
auth_names = opts[:debug_auth_names] || []
|
4164
|
+
|
4165
|
+
new_options = opts.merge(
|
4166
|
+
:operation => :"V2Api.gateway_create_k8_s_auth_config",
|
4167
|
+
:header_params => header_params,
|
4168
|
+
:query_params => query_params,
|
4169
|
+
:form_params => form_params,
|
4170
|
+
:body => post_body,
|
4171
|
+
:auth_names => auth_names,
|
4172
|
+
:return_type => return_type
|
4173
|
+
)
|
4174
|
+
|
4175
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
4176
|
+
if @api_client.config.debugging
|
4177
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_k8_s_auth_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4178
|
+
end
|
4179
|
+
return data, status_code, headers
|
4180
|
+
end
|
4181
|
+
|
4182
|
+
# @param body [GatewayCreateMigration]
|
4183
|
+
# @param [Hash] opts the optional parameters
|
4184
|
+
# @return [GatewayMigrationCreateOutput]
|
4185
|
+
def gateway_create_migration(body, opts = {})
|
4186
|
+
data, _status_code, _headers = gateway_create_migration_with_http_info(body, opts)
|
4187
|
+
data
|
4188
|
+
end
|
4189
|
+
|
4190
|
+
# @param body [GatewayCreateMigration]
|
4191
|
+
# @param [Hash] opts the optional parameters
|
4192
|
+
# @return [Array<(GatewayMigrationCreateOutput, Integer, Hash)>] GatewayMigrationCreateOutput data, response status code and response headers
|
4193
|
+
def gateway_create_migration_with_http_info(body, opts = {})
|
4194
|
+
if @api_client.config.debugging
|
4195
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_migration ...'
|
4196
|
+
end
|
4197
|
+
# verify the required parameter 'body' is set
|
4198
|
+
if @api_client.config.client_side_validation && body.nil?
|
4199
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_migration"
|
4200
|
+
end
|
4201
|
+
# resource path
|
4202
|
+
local_var_path = '/gateway-create-migration'
|
4203
|
+
|
4204
|
+
# query parameters
|
4205
|
+
query_params = opts[:query_params] || {}
|
4206
|
+
|
4207
|
+
# header parameters
|
4208
|
+
header_params = opts[:header_params] || {}
|
4209
|
+
# HTTP header 'Accept' (if needed)
|
4210
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4211
|
+
# HTTP header 'Content-Type'
|
4212
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
4213
|
+
if !content_type.nil?
|
4214
|
+
header_params['Content-Type'] = content_type
|
4215
|
+
end
|
4216
|
+
|
4217
|
+
# form parameters
|
4218
|
+
form_params = opts[:form_params] || {}
|
4219
|
+
|
4220
|
+
# http body (model)
|
4221
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
4222
|
+
|
4223
|
+
# return_type
|
4224
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationCreateOutput'
|
4225
|
+
|
4226
|
+
# auth_names
|
4227
|
+
auth_names = opts[:debug_auth_names] || []
|
4228
|
+
|
4229
|
+
new_options = opts.merge(
|
4230
|
+
:operation => :"V2Api.gateway_create_migration",
|
4231
|
+
:header_params => header_params,
|
4232
|
+
:query_params => query_params,
|
4233
|
+
:form_params => form_params,
|
4234
|
+
:body => post_body,
|
4235
|
+
:auth_names => auth_names,
|
4236
|
+
:return_type => return_type
|
4237
|
+
)
|
4238
|
+
|
4239
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
4240
|
+
if @api_client.config.debugging
|
4241
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4242
|
+
end
|
4243
|
+
return data, status_code, headers
|
4244
|
+
end
|
4245
|
+
|
4246
|
+
# @param body [GatewayCreateProducerArtifactory]
|
4247
|
+
# @param [Hash] opts the optional parameters
|
4248
|
+
# @return [GatewayCreateProducerArtifactoryOutput]
|
4249
|
+
def gateway_create_producer_artifactory(body, opts = {})
|
4250
|
+
data, _status_code, _headers = gateway_create_producer_artifactory_with_http_info(body, opts)
|
4251
|
+
data
|
4252
|
+
end
|
4253
|
+
|
4254
|
+
# @param body [GatewayCreateProducerArtifactory]
|
4255
|
+
# @param [Hash] opts the optional parameters
|
4256
|
+
# @return [Array<(GatewayCreateProducerArtifactoryOutput, Integer, Hash)>] GatewayCreateProducerArtifactoryOutput data, response status code and response headers
|
4257
|
+
def gateway_create_producer_artifactory_with_http_info(body, opts = {})
|
4258
|
+
if @api_client.config.debugging
|
4259
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_producer_artifactory ...'
|
4260
|
+
end
|
4261
|
+
# verify the required parameter 'body' is set
|
4262
|
+
if @api_client.config.client_side_validation && body.nil?
|
4263
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_producer_artifactory"
|
4264
|
+
end
|
4265
|
+
# resource path
|
4266
|
+
local_var_path = '/gateway-create-producer-artifactory'
|
4267
|
+
|
4268
|
+
# query parameters
|
4269
|
+
query_params = opts[:query_params] || {}
|
4270
|
+
|
4271
|
+
# header parameters
|
4272
|
+
header_params = opts[:header_params] || {}
|
4273
|
+
# HTTP header 'Accept' (if needed)
|
4274
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4275
|
+
# HTTP header 'Content-Type'
|
4276
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
4277
|
+
if !content_type.nil?
|
4278
|
+
header_params['Content-Type'] = content_type
|
4279
|
+
end
|
4280
|
+
|
4281
|
+
# form parameters
|
4282
|
+
form_params = opts[:form_params] || {}
|
4283
|
+
|
4284
|
+
# http body (model)
|
4285
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
4286
|
+
|
4287
|
+
# return_type
|
4288
|
+
return_type = opts[:debug_return_type] || 'GatewayCreateProducerArtifactoryOutput'
|
4289
|
+
|
4290
|
+
# auth_names
|
4291
|
+
auth_names = opts[:debug_auth_names] || []
|
4292
|
+
|
4293
|
+
new_options = opts.merge(
|
4294
|
+
:operation => :"V2Api.gateway_create_producer_artifactory",
|
4295
|
+
:header_params => header_params,
|
4296
|
+
:query_params => query_params,
|
4297
|
+
:form_params => form_params,
|
4298
|
+
:body => post_body,
|
4299
|
+
:auth_names => auth_names,
|
4300
|
+
:return_type => return_type
|
4301
|
+
)
|
4302
|
+
|
4303
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
4304
|
+
if @api_client.config.debugging
|
4305
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_producer_artifactory\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4306
|
+
end
|
4307
|
+
return data, status_code, headers
|
4308
|
+
end
|
4309
|
+
|
4310
|
+
# @param body [GatewayCreateProducerAws]
|
4311
|
+
# @param [Hash] opts the optional parameters
|
4312
|
+
# @return [GatewayCreateProducerAwsOutput]
|
4313
|
+
def gateway_create_producer_aws(body, opts = {})
|
4314
|
+
data, _status_code, _headers = gateway_create_producer_aws_with_http_info(body, opts)
|
4315
|
+
data
|
4316
|
+
end
|
4317
|
+
|
4318
|
+
# @param body [GatewayCreateProducerAws]
|
4319
|
+
# @param [Hash] opts the optional parameters
|
4320
|
+
# @return [Array<(GatewayCreateProducerAwsOutput, Integer, Hash)>] GatewayCreateProducerAwsOutput data, response status code and response headers
|
4321
|
+
def gateway_create_producer_aws_with_http_info(body, opts = {})
|
4322
|
+
if @api_client.config.debugging
|
4323
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_producer_aws ...'
|
4324
|
+
end
|
4325
|
+
# verify the required parameter 'body' is set
|
4326
|
+
if @api_client.config.client_side_validation && body.nil?
|
4327
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_producer_aws"
|
4328
|
+
end
|
4329
|
+
# resource path
|
4330
|
+
local_var_path = '/gateway-create-producer-aws'
|
4331
|
+
|
4332
|
+
# query parameters
|
4333
|
+
query_params = opts[:query_params] || {}
|
4334
|
+
|
4335
|
+
# header parameters
|
4336
|
+
header_params = opts[:header_params] || {}
|
4337
|
+
# HTTP header 'Accept' (if needed)
|
4338
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4339
|
+
# HTTP header 'Content-Type'
|
4340
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
4341
|
+
if !content_type.nil?
|
4342
|
+
header_params['Content-Type'] = content_type
|
4343
|
+
end
|
4344
|
+
|
4345
|
+
# form parameters
|
4346
|
+
form_params = opts[:form_params] || {}
|
4347
|
+
|
4348
|
+
# http body (model)
|
4349
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
4350
|
+
|
4351
|
+
# return_type
|
4352
|
+
return_type = opts[:debug_return_type] || 'GatewayCreateProducerAwsOutput'
|
4353
|
+
|
4354
|
+
# auth_names
|
4355
|
+
auth_names = opts[:debug_auth_names] || []
|
4356
|
+
|
4357
|
+
new_options = opts.merge(
|
4358
|
+
:operation => :"V2Api.gateway_create_producer_aws",
|
4359
|
+
:header_params => header_params,
|
4360
|
+
:query_params => query_params,
|
4361
|
+
:form_params => form_params,
|
4362
|
+
:body => post_body,
|
4363
|
+
:auth_names => auth_names,
|
4364
|
+
:return_type => return_type
|
4365
|
+
)
|
4366
|
+
|
4367
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
4368
|
+
if @api_client.config.debugging
|
4369
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_producer_aws\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4370
|
+
end
|
4371
|
+
return data, status_code, headers
|
4372
|
+
end
|
4373
|
+
|
4374
|
+
# @param body [GatewayCreateProducerAzure]
|
4375
|
+
# @param [Hash] opts the optional parameters
|
4376
|
+
# @return [GatewayCreateProducerAzureOutput]
|
4377
|
+
def gateway_create_producer_azure(body, opts = {})
|
4378
|
+
data, _status_code, _headers = gateway_create_producer_azure_with_http_info(body, opts)
|
4379
|
+
data
|
4380
|
+
end
|
4381
|
+
|
4382
|
+
# @param body [GatewayCreateProducerAzure]
|
4383
|
+
# @param [Hash] opts the optional parameters
|
4384
|
+
# @return [Array<(GatewayCreateProducerAzureOutput, Integer, Hash)>] GatewayCreateProducerAzureOutput data, response status code and response headers
|
4385
|
+
def gateway_create_producer_azure_with_http_info(body, opts = {})
|
3938
4386
|
if @api_client.config.debugging
|
3939
4387
|
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_producer_azure ...'
|
3940
4388
|
end
|
@@ -4495,6 +4943,70 @@ module Akeyless
|
|
4495
4943
|
return data, status_code, headers
|
4496
4944
|
end
|
4497
4945
|
|
4946
|
+
# @param body [GatewayCreateProducerHanaDb]
|
4947
|
+
# @param [Hash] opts the optional parameters
|
4948
|
+
# @return [GatewayCreateProducerHanaDbOutput]
|
4949
|
+
def gateway_create_producer_hana_db(body, opts = {})
|
4950
|
+
data, _status_code, _headers = gateway_create_producer_hana_db_with_http_info(body, opts)
|
4951
|
+
data
|
4952
|
+
end
|
4953
|
+
|
4954
|
+
# @param body [GatewayCreateProducerHanaDb]
|
4955
|
+
# @param [Hash] opts the optional parameters
|
4956
|
+
# @return [Array<(GatewayCreateProducerHanaDbOutput, Integer, Hash)>] GatewayCreateProducerHanaDbOutput data, response status code and response headers
|
4957
|
+
def gateway_create_producer_hana_db_with_http_info(body, opts = {})
|
4958
|
+
if @api_client.config.debugging
|
4959
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_producer_hana_db ...'
|
4960
|
+
end
|
4961
|
+
# verify the required parameter 'body' is set
|
4962
|
+
if @api_client.config.client_side_validation && body.nil?
|
4963
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_producer_hana_db"
|
4964
|
+
end
|
4965
|
+
# resource path
|
4966
|
+
local_var_path = '/gateway-create-producer-hanadb'
|
4967
|
+
|
4968
|
+
# query parameters
|
4969
|
+
query_params = opts[:query_params] || {}
|
4970
|
+
|
4971
|
+
# header parameters
|
4972
|
+
header_params = opts[:header_params] || {}
|
4973
|
+
# HTTP header 'Accept' (if needed)
|
4974
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4975
|
+
# HTTP header 'Content-Type'
|
4976
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
4977
|
+
if !content_type.nil?
|
4978
|
+
header_params['Content-Type'] = content_type
|
4979
|
+
end
|
4980
|
+
|
4981
|
+
# form parameters
|
4982
|
+
form_params = opts[:form_params] || {}
|
4983
|
+
|
4984
|
+
# http body (model)
|
4985
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
4986
|
+
|
4987
|
+
# return_type
|
4988
|
+
return_type = opts[:debug_return_type] || 'GatewayCreateProducerHanaDbOutput'
|
4989
|
+
|
4990
|
+
# auth_names
|
4991
|
+
auth_names = opts[:debug_auth_names] || []
|
4992
|
+
|
4993
|
+
new_options = opts.merge(
|
4994
|
+
:operation => :"V2Api.gateway_create_producer_hana_db",
|
4995
|
+
:header_params => header_params,
|
4996
|
+
:query_params => query_params,
|
4997
|
+
:form_params => form_params,
|
4998
|
+
:body => post_body,
|
4999
|
+
:auth_names => auth_names,
|
5000
|
+
:return_type => return_type
|
5001
|
+
)
|
5002
|
+
|
5003
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
5004
|
+
if @api_client.config.debugging
|
5005
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_producer_hana_db\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5006
|
+
end
|
5007
|
+
return data, status_code, headers
|
5008
|
+
end
|
5009
|
+
|
4498
5010
|
# @param body [GatewayCreateProducerLdap]
|
4499
5011
|
# @param [Hash] opts the optional parameters
|
4500
5012
|
# @return [GatewayCreateProducerLdapOutput]
|
@@ -4771,7 +5283,7 @@ module Akeyless
|
|
4771
5283
|
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_producer_native_k8_s"
|
4772
5284
|
end
|
4773
5285
|
# resource path
|
4774
|
-
local_var_path = '/gateway-create-producer-k8s
|
5286
|
+
local_var_path = '/gateway-create-producer-k8s'
|
4775
5287
|
|
4776
5288
|
# query parameters
|
4777
5289
|
query_params = opts[:query_params] || {}
|
@@ -5327,6 +5839,70 @@ module Akeyless
|
|
5327
5839
|
return data, status_code, headers
|
5328
5840
|
end
|
5329
5841
|
|
5842
|
+
# @param body [GatewayDeleteMigration]
|
5843
|
+
# @param [Hash] opts the optional parameters
|
5844
|
+
# @return [GatewayMigrationDeleteOutput]
|
5845
|
+
def gateway_delete_migration(body, opts = {})
|
5846
|
+
data, _status_code, _headers = gateway_delete_migration_with_http_info(body, opts)
|
5847
|
+
data
|
5848
|
+
end
|
5849
|
+
|
5850
|
+
# @param body [GatewayDeleteMigration]
|
5851
|
+
# @param [Hash] opts the optional parameters
|
5852
|
+
# @return [Array<(GatewayMigrationDeleteOutput, Integer, Hash)>] GatewayMigrationDeleteOutput data, response status code and response headers
|
5853
|
+
def gateway_delete_migration_with_http_info(body, opts = {})
|
5854
|
+
if @api_client.config.debugging
|
5855
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_delete_migration ...'
|
5856
|
+
end
|
5857
|
+
# verify the required parameter 'body' is set
|
5858
|
+
if @api_client.config.client_side_validation && body.nil?
|
5859
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_delete_migration"
|
5860
|
+
end
|
5861
|
+
# resource path
|
5862
|
+
local_var_path = '/gateway-delete-migration'
|
5863
|
+
|
5864
|
+
# query parameters
|
5865
|
+
query_params = opts[:query_params] || {}
|
5866
|
+
|
5867
|
+
# header parameters
|
5868
|
+
header_params = opts[:header_params] || {}
|
5869
|
+
# HTTP header 'Accept' (if needed)
|
5870
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
5871
|
+
# HTTP header 'Content-Type'
|
5872
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
5873
|
+
if !content_type.nil?
|
5874
|
+
header_params['Content-Type'] = content_type
|
5875
|
+
end
|
5876
|
+
|
5877
|
+
# form parameters
|
5878
|
+
form_params = opts[:form_params] || {}
|
5879
|
+
|
5880
|
+
# http body (model)
|
5881
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
5882
|
+
|
5883
|
+
# return_type
|
5884
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationDeleteOutput'
|
5885
|
+
|
5886
|
+
# auth_names
|
5887
|
+
auth_names = opts[:debug_auth_names] || []
|
5888
|
+
|
5889
|
+
new_options = opts.merge(
|
5890
|
+
:operation => :"V2Api.gateway_delete_migration",
|
5891
|
+
:header_params => header_params,
|
5892
|
+
:query_params => query_params,
|
5893
|
+
:form_params => form_params,
|
5894
|
+
:body => post_body,
|
5895
|
+
:auth_names => auth_names,
|
5896
|
+
:return_type => return_type
|
5897
|
+
)
|
5898
|
+
|
5899
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
5900
|
+
if @api_client.config.debugging
|
5901
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_delete_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5902
|
+
end
|
5903
|
+
return data, status_code, headers
|
5904
|
+
end
|
5905
|
+
|
5330
5906
|
# @param body [GatewayDeleteProducer]
|
5331
5907
|
# @param [Hash] opts the optional parameters
|
5332
5908
|
# @return [GatewayDeleteProducerOutput]
|
@@ -5347,7 +5923,135 @@ module Akeyless
|
|
5347
5923
|
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_delete_producer"
|
5348
5924
|
end
|
5349
5925
|
# resource path
|
5350
|
-
local_var_path = '/gateway-delete-producer'
|
5926
|
+
local_var_path = '/gateway-delete-producer'
|
5927
|
+
|
5928
|
+
# query parameters
|
5929
|
+
query_params = opts[:query_params] || {}
|
5930
|
+
|
5931
|
+
# header parameters
|
5932
|
+
header_params = opts[:header_params] || {}
|
5933
|
+
# HTTP header 'Accept' (if needed)
|
5934
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
5935
|
+
# HTTP header 'Content-Type'
|
5936
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
5937
|
+
if !content_type.nil?
|
5938
|
+
header_params['Content-Type'] = content_type
|
5939
|
+
end
|
5940
|
+
|
5941
|
+
# form parameters
|
5942
|
+
form_params = opts[:form_params] || {}
|
5943
|
+
|
5944
|
+
# http body (model)
|
5945
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
5946
|
+
|
5947
|
+
# return_type
|
5948
|
+
return_type = opts[:debug_return_type] || 'GatewayDeleteProducerOutput'
|
5949
|
+
|
5950
|
+
# auth_names
|
5951
|
+
auth_names = opts[:debug_auth_names] || []
|
5952
|
+
|
5953
|
+
new_options = opts.merge(
|
5954
|
+
:operation => :"V2Api.gateway_delete_producer",
|
5955
|
+
:header_params => header_params,
|
5956
|
+
:query_params => query_params,
|
5957
|
+
:form_params => form_params,
|
5958
|
+
:body => post_body,
|
5959
|
+
:auth_names => auth_names,
|
5960
|
+
:return_type => return_type
|
5961
|
+
)
|
5962
|
+
|
5963
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
5964
|
+
if @api_client.config.debugging
|
5965
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_delete_producer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5966
|
+
end
|
5967
|
+
return data, status_code, headers
|
5968
|
+
end
|
5969
|
+
|
5970
|
+
# @param body [GatewayGetConfig]
|
5971
|
+
# @param [Hash] opts the optional parameters
|
5972
|
+
# @return [AkeylessGatewayConfig]
|
5973
|
+
def gateway_get_config(body, opts = {})
|
5974
|
+
data, _status_code, _headers = gateway_get_config_with_http_info(body, opts)
|
5975
|
+
data
|
5976
|
+
end
|
5977
|
+
|
5978
|
+
# @param body [GatewayGetConfig]
|
5979
|
+
# @param [Hash] opts the optional parameters
|
5980
|
+
# @return [Array<(AkeylessGatewayConfig, Integer, Hash)>] AkeylessGatewayConfig data, response status code and response headers
|
5981
|
+
def gateway_get_config_with_http_info(body, opts = {})
|
5982
|
+
if @api_client.config.debugging
|
5983
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_get_config ...'
|
5984
|
+
end
|
5985
|
+
# verify the required parameter 'body' is set
|
5986
|
+
if @api_client.config.client_side_validation && body.nil?
|
5987
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_get_config"
|
5988
|
+
end
|
5989
|
+
# resource path
|
5990
|
+
local_var_path = '/gateway-get-config'
|
5991
|
+
|
5992
|
+
# query parameters
|
5993
|
+
query_params = opts[:query_params] || {}
|
5994
|
+
|
5995
|
+
# header parameters
|
5996
|
+
header_params = opts[:header_params] || {}
|
5997
|
+
# HTTP header 'Accept' (if needed)
|
5998
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
5999
|
+
# HTTP header 'Content-Type'
|
6000
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
6001
|
+
if !content_type.nil?
|
6002
|
+
header_params['Content-Type'] = content_type
|
6003
|
+
end
|
6004
|
+
|
6005
|
+
# form parameters
|
6006
|
+
form_params = opts[:form_params] || {}
|
6007
|
+
|
6008
|
+
# http body (model)
|
6009
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
6010
|
+
|
6011
|
+
# return_type
|
6012
|
+
return_type = opts[:debug_return_type] || 'AkeylessGatewayConfig'
|
6013
|
+
|
6014
|
+
# auth_names
|
6015
|
+
auth_names = opts[:debug_auth_names] || []
|
6016
|
+
|
6017
|
+
new_options = opts.merge(
|
6018
|
+
:operation => :"V2Api.gateway_get_config",
|
6019
|
+
:header_params => header_params,
|
6020
|
+
:query_params => query_params,
|
6021
|
+
:form_params => form_params,
|
6022
|
+
:body => post_body,
|
6023
|
+
:auth_names => auth_names,
|
6024
|
+
:return_type => return_type
|
6025
|
+
)
|
6026
|
+
|
6027
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
6028
|
+
if @api_client.config.debugging
|
6029
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_get_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6030
|
+
end
|
6031
|
+
return data, status_code, headers
|
6032
|
+
end
|
6033
|
+
|
6034
|
+
# @param body [GatewayGetK8SAuthConfig]
|
6035
|
+
# @param [Hash] opts the optional parameters
|
6036
|
+
# @return [GatewayGetK8SAuthConfigOutput]
|
6037
|
+
def gateway_get_k8_s_auth_config(body, opts = {})
|
6038
|
+
data, _status_code, _headers = gateway_get_k8_s_auth_config_with_http_info(body, opts)
|
6039
|
+
data
|
6040
|
+
end
|
6041
|
+
|
6042
|
+
# @param body [GatewayGetK8SAuthConfig]
|
6043
|
+
# @param [Hash] opts the optional parameters
|
6044
|
+
# @return [Array<(GatewayGetK8SAuthConfigOutput, Integer, Hash)>] GatewayGetK8SAuthConfigOutput data, response status code and response headers
|
6045
|
+
def gateway_get_k8_s_auth_config_with_http_info(body, opts = {})
|
6046
|
+
if @api_client.config.debugging
|
6047
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_get_k8_s_auth_config ...'
|
6048
|
+
end
|
6049
|
+
# verify the required parameter 'body' is set
|
6050
|
+
if @api_client.config.client_side_validation && body.nil?
|
6051
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_get_k8_s_auth_config"
|
6052
|
+
end
|
6053
|
+
# resource path
|
6054
|
+
local_var_path = '/gateway-get-k8s-auth-config'
|
5351
6055
|
|
5352
6056
|
# query parameters
|
5353
6057
|
query_params = opts[:query_params] || {}
|
@@ -5369,13 +6073,13 @@ module Akeyless
|
|
5369
6073
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
5370
6074
|
|
5371
6075
|
# return_type
|
5372
|
-
return_type = opts[:debug_return_type] || '
|
6076
|
+
return_type = opts[:debug_return_type] || 'GatewayGetK8SAuthConfigOutput'
|
5373
6077
|
|
5374
6078
|
# auth_names
|
5375
6079
|
auth_names = opts[:debug_auth_names] || []
|
5376
6080
|
|
5377
6081
|
new_options = opts.merge(
|
5378
|
-
:operation => :"V2Api.
|
6082
|
+
:operation => :"V2Api.gateway_get_k8_s_auth_config",
|
5379
6083
|
:header_params => header_params,
|
5380
6084
|
:query_params => query_params,
|
5381
6085
|
:form_params => form_params,
|
@@ -5386,32 +6090,32 @@ module Akeyless
|
|
5386
6090
|
|
5387
6091
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
5388
6092
|
if @api_client.config.debugging
|
5389
|
-
@api_client.config.logger.debug "API called: V2Api#
|
6093
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_get_k8_s_auth_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5390
6094
|
end
|
5391
6095
|
return data, status_code, headers
|
5392
6096
|
end
|
5393
6097
|
|
5394
|
-
# @param body [
|
6098
|
+
# @param body [GatewayGetLdapAuthConfig]
|
5395
6099
|
# @param [Hash] opts the optional parameters
|
5396
|
-
# @return [
|
5397
|
-
def
|
5398
|
-
data, _status_code, _headers =
|
6100
|
+
# @return [GatewayGetLdapAuthConfigOutput]
|
6101
|
+
def gateway_get_ldap_auth_config(body, opts = {})
|
6102
|
+
data, _status_code, _headers = gateway_get_ldap_auth_config_with_http_info(body, opts)
|
5399
6103
|
data
|
5400
6104
|
end
|
5401
6105
|
|
5402
|
-
# @param body [
|
6106
|
+
# @param body [GatewayGetLdapAuthConfig]
|
5403
6107
|
# @param [Hash] opts the optional parameters
|
5404
|
-
# @return [Array<(
|
5405
|
-
def
|
6108
|
+
# @return [Array<(GatewayGetLdapAuthConfigOutput, Integer, Hash)>] GatewayGetLdapAuthConfigOutput data, response status code and response headers
|
6109
|
+
def gateway_get_ldap_auth_config_with_http_info(body, opts = {})
|
5406
6110
|
if @api_client.config.debugging
|
5407
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
6111
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_get_ldap_auth_config ...'
|
5408
6112
|
end
|
5409
6113
|
# verify the required parameter 'body' is set
|
5410
6114
|
if @api_client.config.client_side_validation && body.nil?
|
5411
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
6115
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_get_ldap_auth_config"
|
5412
6116
|
end
|
5413
6117
|
# resource path
|
5414
|
-
local_var_path = '/gateway-get-config'
|
6118
|
+
local_var_path = '/gateway-get-ldap-auth-config'
|
5415
6119
|
|
5416
6120
|
# query parameters
|
5417
6121
|
query_params = opts[:query_params] || {}
|
@@ -5433,13 +6137,13 @@ module Akeyless
|
|
5433
6137
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
5434
6138
|
|
5435
6139
|
# return_type
|
5436
|
-
return_type = opts[:debug_return_type] || '
|
6140
|
+
return_type = opts[:debug_return_type] || 'GatewayGetLdapAuthConfigOutput'
|
5437
6141
|
|
5438
6142
|
# auth_names
|
5439
6143
|
auth_names = opts[:debug_auth_names] || []
|
5440
6144
|
|
5441
6145
|
new_options = opts.merge(
|
5442
|
-
:operation => :"V2Api.
|
6146
|
+
:operation => :"V2Api.gateway_get_ldap_auth_config",
|
5443
6147
|
:header_params => header_params,
|
5444
6148
|
:query_params => query_params,
|
5445
6149
|
:form_params => form_params,
|
@@ -5450,32 +6154,32 @@ module Akeyless
|
|
5450
6154
|
|
5451
6155
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
5452
6156
|
if @api_client.config.debugging
|
5453
|
-
@api_client.config.logger.debug "API called: V2Api#
|
6157
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_get_ldap_auth_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5454
6158
|
end
|
5455
6159
|
return data, status_code, headers
|
5456
6160
|
end
|
5457
6161
|
|
5458
|
-
# @param body [
|
6162
|
+
# @param body [GatewayGetMigration]
|
5459
6163
|
# @param [Hash] opts the optional parameters
|
5460
|
-
# @return [
|
5461
|
-
def
|
5462
|
-
data, _status_code, _headers =
|
6164
|
+
# @return [GatewayMigrationGetOutput]
|
6165
|
+
def gateway_get_migration(body, opts = {})
|
6166
|
+
data, _status_code, _headers = gateway_get_migration_with_http_info(body, opts)
|
5463
6167
|
data
|
5464
6168
|
end
|
5465
6169
|
|
5466
|
-
# @param body [
|
6170
|
+
# @param body [GatewayGetMigration]
|
5467
6171
|
# @param [Hash] opts the optional parameters
|
5468
|
-
# @return [Array<(
|
5469
|
-
def
|
6172
|
+
# @return [Array<(GatewayMigrationGetOutput, Integer, Hash)>] GatewayMigrationGetOutput data, response status code and response headers
|
6173
|
+
def gateway_get_migration_with_http_info(body, opts = {})
|
5470
6174
|
if @api_client.config.debugging
|
5471
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
6175
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_get_migration ...'
|
5472
6176
|
end
|
5473
6177
|
# verify the required parameter 'body' is set
|
5474
6178
|
if @api_client.config.client_side_validation && body.nil?
|
5475
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
6179
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_get_migration"
|
5476
6180
|
end
|
5477
6181
|
# resource path
|
5478
|
-
local_var_path = '/gateway-get-
|
6182
|
+
local_var_path = '/gateway-get-migration'
|
5479
6183
|
|
5480
6184
|
# query parameters
|
5481
6185
|
query_params = opts[:query_params] || {}
|
@@ -5497,13 +6201,13 @@ module Akeyless
|
|
5497
6201
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
5498
6202
|
|
5499
6203
|
# return_type
|
5500
|
-
return_type = opts[:debug_return_type] || '
|
6204
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationGetOutput'
|
5501
6205
|
|
5502
6206
|
# auth_names
|
5503
6207
|
auth_names = opts[:debug_auth_names] || []
|
5504
6208
|
|
5505
6209
|
new_options = opts.merge(
|
5506
|
-
:operation => :"V2Api.
|
6210
|
+
:operation => :"V2Api.gateway_get_migration",
|
5507
6211
|
:header_params => header_params,
|
5508
6212
|
:query_params => query_params,
|
5509
6213
|
:form_params => form_params,
|
@@ -5514,7 +6218,7 @@ module Akeyless
|
|
5514
6218
|
|
5515
6219
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
5516
6220
|
if @api_client.config.debugging
|
5517
|
-
@api_client.config.logger.debug "API called: V2Api#
|
6221
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_get_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5518
6222
|
end
|
5519
6223
|
return data, status_code, headers
|
5520
6224
|
end
|
@@ -5839,6 +6543,66 @@ module Akeyless
|
|
5839
6543
|
return data, status_code, headers
|
5840
6544
|
end
|
5841
6545
|
|
6546
|
+
# @param [Hash] opts the optional parameters
|
6547
|
+
# @option opts [GatewayMigratePersonalItems] :body
|
6548
|
+
# @return [GatewayMigratePersonalItemsOutput]
|
6549
|
+
def gateway_migrate_personal_items(opts = {})
|
6550
|
+
data, _status_code, _headers = gateway_migrate_personal_items_with_http_info(opts)
|
6551
|
+
data
|
6552
|
+
end
|
6553
|
+
|
6554
|
+
# @param [Hash] opts the optional parameters
|
6555
|
+
# @option opts [GatewayMigratePersonalItems] :body
|
6556
|
+
# @return [Array<(GatewayMigratePersonalItemsOutput, Integer, Hash)>] GatewayMigratePersonalItemsOutput data, response status code and response headers
|
6557
|
+
def gateway_migrate_personal_items_with_http_info(opts = {})
|
6558
|
+
if @api_client.config.debugging
|
6559
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_migrate_personal_items ...'
|
6560
|
+
end
|
6561
|
+
# resource path
|
6562
|
+
local_var_path = '/gateway-migrate-personal-items'
|
6563
|
+
|
6564
|
+
# query parameters
|
6565
|
+
query_params = opts[:query_params] || {}
|
6566
|
+
|
6567
|
+
# header parameters
|
6568
|
+
header_params = opts[:header_params] || {}
|
6569
|
+
# HTTP header 'Accept' (if needed)
|
6570
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
6571
|
+
# HTTP header 'Content-Type'
|
6572
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
6573
|
+
if !content_type.nil?
|
6574
|
+
header_params['Content-Type'] = content_type
|
6575
|
+
end
|
6576
|
+
|
6577
|
+
# form parameters
|
6578
|
+
form_params = opts[:form_params] || {}
|
6579
|
+
|
6580
|
+
# http body (model)
|
6581
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
6582
|
+
|
6583
|
+
# return_type
|
6584
|
+
return_type = opts[:debug_return_type] || 'GatewayMigratePersonalItemsOutput'
|
6585
|
+
|
6586
|
+
# auth_names
|
6587
|
+
auth_names = opts[:debug_auth_names] || []
|
6588
|
+
|
6589
|
+
new_options = opts.merge(
|
6590
|
+
:operation => :"V2Api.gateway_migrate_personal_items",
|
6591
|
+
:header_params => header_params,
|
6592
|
+
:query_params => query_params,
|
6593
|
+
:form_params => form_params,
|
6594
|
+
:body => post_body,
|
6595
|
+
:auth_names => auth_names,
|
6596
|
+
:return_type => return_type
|
6597
|
+
)
|
6598
|
+
|
6599
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
6600
|
+
if @api_client.config.debugging
|
6601
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_migrate_personal_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6602
|
+
end
|
6603
|
+
return data, status_code, headers
|
6604
|
+
end
|
6605
|
+
|
5842
6606
|
# @param body [GatewayRevokeTmpUsers]
|
5843
6607
|
# @param [Hash] opts the optional parameters
|
5844
6608
|
# @return [nil]
|
@@ -5967,6 +6731,70 @@ module Akeyless
|
|
5967
6731
|
return data, status_code, headers
|
5968
6732
|
end
|
5969
6733
|
|
6734
|
+
# @param body [GatewayStatusMigration]
|
6735
|
+
# @param [Hash] opts the optional parameters
|
6736
|
+
# @return [MigrationStatusReplyObj]
|
6737
|
+
def gateway_status_migration(body, opts = {})
|
6738
|
+
data, _status_code, _headers = gateway_status_migration_with_http_info(body, opts)
|
6739
|
+
data
|
6740
|
+
end
|
6741
|
+
|
6742
|
+
# @param body [GatewayStatusMigration]
|
6743
|
+
# @param [Hash] opts the optional parameters
|
6744
|
+
# @return [Array<(MigrationStatusReplyObj, Integer, Hash)>] MigrationStatusReplyObj data, response status code and response headers
|
6745
|
+
def gateway_status_migration_with_http_info(body, opts = {})
|
6746
|
+
if @api_client.config.debugging
|
6747
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_status_migration ...'
|
6748
|
+
end
|
6749
|
+
# verify the required parameter 'body' is set
|
6750
|
+
if @api_client.config.client_side_validation && body.nil?
|
6751
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_status_migration"
|
6752
|
+
end
|
6753
|
+
# resource path
|
6754
|
+
local_var_path = '/gateway-migration-status'
|
6755
|
+
|
6756
|
+
# query parameters
|
6757
|
+
query_params = opts[:query_params] || {}
|
6758
|
+
|
6759
|
+
# header parameters
|
6760
|
+
header_params = opts[:header_params] || {}
|
6761
|
+
# HTTP header 'Accept' (if needed)
|
6762
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
6763
|
+
# HTTP header 'Content-Type'
|
6764
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
6765
|
+
if !content_type.nil?
|
6766
|
+
header_params['Content-Type'] = content_type
|
6767
|
+
end
|
6768
|
+
|
6769
|
+
# form parameters
|
6770
|
+
form_params = opts[:form_params] || {}
|
6771
|
+
|
6772
|
+
# http body (model)
|
6773
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
6774
|
+
|
6775
|
+
# return_type
|
6776
|
+
return_type = opts[:debug_return_type] || 'MigrationStatusReplyObj'
|
6777
|
+
|
6778
|
+
# auth_names
|
6779
|
+
auth_names = opts[:debug_auth_names] || []
|
6780
|
+
|
6781
|
+
new_options = opts.merge(
|
6782
|
+
:operation => :"V2Api.gateway_status_migration",
|
6783
|
+
:header_params => header_params,
|
6784
|
+
:query_params => query_params,
|
6785
|
+
:form_params => form_params,
|
6786
|
+
:body => post_body,
|
6787
|
+
:auth_names => auth_names,
|
6788
|
+
:return_type => return_type
|
6789
|
+
)
|
6790
|
+
|
6791
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
6792
|
+
if @api_client.config.debugging
|
6793
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_status_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6794
|
+
end
|
6795
|
+
return data, status_code, headers
|
6796
|
+
end
|
6797
|
+
|
5970
6798
|
# @param body [GatewayStopProducer]
|
5971
6799
|
# @param [Hash] opts the optional parameters
|
5972
6800
|
# @return [GatewayStopProducerOutput]
|
@@ -6039,19 +6867,147 @@ module Akeyless
|
|
6039
6867
|
data
|
6040
6868
|
end
|
6041
6869
|
|
6042
|
-
# @param body [GatewaySyncMigration]
|
6870
|
+
# @param body [GatewaySyncMigration]
|
6871
|
+
# @param [Hash] opts the optional parameters
|
6872
|
+
# @return [Array<(GatewayMigrationSyncOutput, Integer, Hash)>] GatewayMigrationSyncOutput data, response status code and response headers
|
6873
|
+
def gateway_sync_migration_with_http_info(body, opts = {})
|
6874
|
+
if @api_client.config.debugging
|
6875
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_sync_migration ...'
|
6876
|
+
end
|
6877
|
+
# verify the required parameter 'body' is set
|
6878
|
+
if @api_client.config.client_side_validation && body.nil?
|
6879
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_sync_migration"
|
6880
|
+
end
|
6881
|
+
# resource path
|
6882
|
+
local_var_path = '/gateway-sync-migration'
|
6883
|
+
|
6884
|
+
# query parameters
|
6885
|
+
query_params = opts[:query_params] || {}
|
6886
|
+
|
6887
|
+
# header parameters
|
6888
|
+
header_params = opts[:header_params] || {}
|
6889
|
+
# HTTP header 'Accept' (if needed)
|
6890
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
6891
|
+
# HTTP header 'Content-Type'
|
6892
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
6893
|
+
if !content_type.nil?
|
6894
|
+
header_params['Content-Type'] = content_type
|
6895
|
+
end
|
6896
|
+
|
6897
|
+
# form parameters
|
6898
|
+
form_params = opts[:form_params] || {}
|
6899
|
+
|
6900
|
+
# http body (model)
|
6901
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
6902
|
+
|
6903
|
+
# return_type
|
6904
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationSyncOutput'
|
6905
|
+
|
6906
|
+
# auth_names
|
6907
|
+
auth_names = opts[:debug_auth_names] || []
|
6908
|
+
|
6909
|
+
new_options = opts.merge(
|
6910
|
+
:operation => :"V2Api.gateway_sync_migration",
|
6911
|
+
:header_params => header_params,
|
6912
|
+
:query_params => query_params,
|
6913
|
+
:form_params => form_params,
|
6914
|
+
:body => post_body,
|
6915
|
+
:auth_names => auth_names,
|
6916
|
+
:return_type => return_type
|
6917
|
+
)
|
6918
|
+
|
6919
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
6920
|
+
if @api_client.config.debugging
|
6921
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_sync_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6922
|
+
end
|
6923
|
+
return data, status_code, headers
|
6924
|
+
end
|
6925
|
+
|
6926
|
+
# @param body [GatewayUpdateItem]
|
6927
|
+
# @param [Hash] opts the optional parameters
|
6928
|
+
# @return [GatewayUpdateItemOutput]
|
6929
|
+
def gateway_update_item(body, opts = {})
|
6930
|
+
data, _status_code, _headers = gateway_update_item_with_http_info(body, opts)
|
6931
|
+
data
|
6932
|
+
end
|
6933
|
+
|
6934
|
+
# @param body [GatewayUpdateItem]
|
6935
|
+
# @param [Hash] opts the optional parameters
|
6936
|
+
# @return [Array<(GatewayUpdateItemOutput, Integer, Hash)>] GatewayUpdateItemOutput data, response status code and response headers
|
6937
|
+
def gateway_update_item_with_http_info(body, opts = {})
|
6938
|
+
if @api_client.config.debugging
|
6939
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_item ...'
|
6940
|
+
end
|
6941
|
+
# verify the required parameter 'body' is set
|
6942
|
+
if @api_client.config.client_side_validation && body.nil?
|
6943
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_item"
|
6944
|
+
end
|
6945
|
+
# resource path
|
6946
|
+
local_var_path = '/gateway-update-item'
|
6947
|
+
|
6948
|
+
# query parameters
|
6949
|
+
query_params = opts[:query_params] || {}
|
6950
|
+
|
6951
|
+
# header parameters
|
6952
|
+
header_params = opts[:header_params] || {}
|
6953
|
+
# HTTP header 'Accept' (if needed)
|
6954
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
6955
|
+
# HTTP header 'Content-Type'
|
6956
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
6957
|
+
if !content_type.nil?
|
6958
|
+
header_params['Content-Type'] = content_type
|
6959
|
+
end
|
6960
|
+
|
6961
|
+
# form parameters
|
6962
|
+
form_params = opts[:form_params] || {}
|
6963
|
+
|
6964
|
+
# http body (model)
|
6965
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
6966
|
+
|
6967
|
+
# return_type
|
6968
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateItemOutput'
|
6969
|
+
|
6970
|
+
# auth_names
|
6971
|
+
auth_names = opts[:debug_auth_names] || []
|
6972
|
+
|
6973
|
+
new_options = opts.merge(
|
6974
|
+
:operation => :"V2Api.gateway_update_item",
|
6975
|
+
:header_params => header_params,
|
6976
|
+
:query_params => query_params,
|
6977
|
+
:form_params => form_params,
|
6978
|
+
:body => post_body,
|
6979
|
+
:auth_names => auth_names,
|
6980
|
+
:return_type => return_type
|
6981
|
+
)
|
6982
|
+
|
6983
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
6984
|
+
if @api_client.config.debugging
|
6985
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6986
|
+
end
|
6987
|
+
return data, status_code, headers
|
6988
|
+
end
|
6989
|
+
|
6990
|
+
# @param body [GatewayUpdateK8SAuthConfig]
|
6991
|
+
# @param [Hash] opts the optional parameters
|
6992
|
+
# @return [GatewayUpdateK8SAuthConfigOutput]
|
6993
|
+
def gateway_update_k8_s_auth_config(body, opts = {})
|
6994
|
+
data, _status_code, _headers = gateway_update_k8_s_auth_config_with_http_info(body, opts)
|
6995
|
+
data
|
6996
|
+
end
|
6997
|
+
|
6998
|
+
# @param body [GatewayUpdateK8SAuthConfig]
|
6043
6999
|
# @param [Hash] opts the optional parameters
|
6044
|
-
# @return [Array<(
|
6045
|
-
def
|
7000
|
+
# @return [Array<(GatewayUpdateK8SAuthConfigOutput, Integer, Hash)>] GatewayUpdateK8SAuthConfigOutput data, response status code and response headers
|
7001
|
+
def gateway_update_k8_s_auth_config_with_http_info(body, opts = {})
|
6046
7002
|
if @api_client.config.debugging
|
6047
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
7003
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_k8_s_auth_config ...'
|
6048
7004
|
end
|
6049
7005
|
# verify the required parameter 'body' is set
|
6050
7006
|
if @api_client.config.client_side_validation && body.nil?
|
6051
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
7007
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_k8_s_auth_config"
|
6052
7008
|
end
|
6053
7009
|
# resource path
|
6054
|
-
local_var_path = '/gateway-
|
7010
|
+
local_var_path = '/gateway-update-k8s-auth-config'
|
6055
7011
|
|
6056
7012
|
# query parameters
|
6057
7013
|
query_params = opts[:query_params] || {}
|
@@ -6073,13 +7029,13 @@ module Akeyless
|
|
6073
7029
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
6074
7030
|
|
6075
7031
|
# return_type
|
6076
|
-
return_type = opts[:debug_return_type] || '
|
7032
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateK8SAuthConfigOutput'
|
6077
7033
|
|
6078
7034
|
# auth_names
|
6079
7035
|
auth_names = opts[:debug_auth_names] || []
|
6080
7036
|
|
6081
7037
|
new_options = opts.merge(
|
6082
|
-
:operation => :"V2Api.
|
7038
|
+
:operation => :"V2Api.gateway_update_k8_s_auth_config",
|
6083
7039
|
:header_params => header_params,
|
6084
7040
|
:query_params => query_params,
|
6085
7041
|
:form_params => form_params,
|
@@ -6090,32 +7046,32 @@ module Akeyless
|
|
6090
7046
|
|
6091
7047
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
6092
7048
|
if @api_client.config.debugging
|
6093
|
-
@api_client.config.logger.debug "API called: V2Api#
|
7049
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_k8_s_auth_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6094
7050
|
end
|
6095
7051
|
return data, status_code, headers
|
6096
7052
|
end
|
6097
7053
|
|
6098
|
-
# @param body [
|
7054
|
+
# @param body [GatewayUpdateLdapAuthConfig]
|
6099
7055
|
# @param [Hash] opts the optional parameters
|
6100
|
-
# @return [
|
6101
|
-
def
|
6102
|
-
data, _status_code, _headers =
|
7056
|
+
# @return [GatewayUpdateLdapAuthConfigOutput]
|
7057
|
+
def gateway_update_ldap_auth_config(body, opts = {})
|
7058
|
+
data, _status_code, _headers = gateway_update_ldap_auth_config_with_http_info(body, opts)
|
6103
7059
|
data
|
6104
7060
|
end
|
6105
7061
|
|
6106
|
-
# @param body [
|
7062
|
+
# @param body [GatewayUpdateLdapAuthConfig]
|
6107
7063
|
# @param [Hash] opts the optional parameters
|
6108
|
-
# @return [Array<(
|
6109
|
-
def
|
7064
|
+
# @return [Array<(GatewayUpdateLdapAuthConfigOutput, Integer, Hash)>] GatewayUpdateLdapAuthConfigOutput data, response status code and response headers
|
7065
|
+
def gateway_update_ldap_auth_config_with_http_info(body, opts = {})
|
6110
7066
|
if @api_client.config.debugging
|
6111
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
7067
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_ldap_auth_config ...'
|
6112
7068
|
end
|
6113
7069
|
# verify the required parameter 'body' is set
|
6114
7070
|
if @api_client.config.client_side_validation && body.nil?
|
6115
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
7071
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_ldap_auth_config"
|
6116
7072
|
end
|
6117
7073
|
# resource path
|
6118
|
-
local_var_path = '/gateway-update-
|
7074
|
+
local_var_path = '/gateway-update-ldap-auth-config'
|
6119
7075
|
|
6120
7076
|
# query parameters
|
6121
7077
|
query_params = opts[:query_params] || {}
|
@@ -6137,13 +7093,13 @@ module Akeyless
|
|
6137
7093
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
6138
7094
|
|
6139
7095
|
# return_type
|
6140
|
-
return_type = opts[:debug_return_type] || '
|
7096
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLdapAuthConfigOutput'
|
6141
7097
|
|
6142
7098
|
# auth_names
|
6143
7099
|
auth_names = opts[:debug_auth_names] || []
|
6144
7100
|
|
6145
7101
|
new_options = opts.merge(
|
6146
|
-
:operation => :"V2Api.
|
7102
|
+
:operation => :"V2Api.gateway_update_ldap_auth_config",
|
6147
7103
|
:header_params => header_params,
|
6148
7104
|
:query_params => query_params,
|
6149
7105
|
:form_params => form_params,
|
@@ -6154,32 +7110,32 @@ module Akeyless
|
|
6154
7110
|
|
6155
7111
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
6156
7112
|
if @api_client.config.debugging
|
6157
|
-
@api_client.config.logger.debug "API called: V2Api#
|
7113
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_ldap_auth_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6158
7114
|
end
|
6159
7115
|
return data, status_code, headers
|
6160
7116
|
end
|
6161
7117
|
|
6162
|
-
# @param body [
|
7118
|
+
# @param body [GatewayUpdateMigration]
|
6163
7119
|
# @param [Hash] opts the optional parameters
|
6164
|
-
# @return [
|
6165
|
-
def
|
6166
|
-
data, _status_code, _headers =
|
7120
|
+
# @return [GatewayMigrationUpdateOutput]
|
7121
|
+
def gateway_update_migration(body, opts = {})
|
7122
|
+
data, _status_code, _headers = gateway_update_migration_with_http_info(body, opts)
|
6167
7123
|
data
|
6168
7124
|
end
|
6169
7125
|
|
6170
|
-
# @param body [
|
7126
|
+
# @param body [GatewayUpdateMigration]
|
6171
7127
|
# @param [Hash] opts the optional parameters
|
6172
|
-
# @return [Array<(
|
6173
|
-
def
|
7128
|
+
# @return [Array<(GatewayMigrationUpdateOutput, Integer, Hash)>] GatewayMigrationUpdateOutput data, response status code and response headers
|
7129
|
+
def gateway_update_migration_with_http_info(body, opts = {})
|
6174
7130
|
if @api_client.config.debugging
|
6175
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
7131
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_migration ...'
|
6176
7132
|
end
|
6177
7133
|
# verify the required parameter 'body' is set
|
6178
7134
|
if @api_client.config.client_side_validation && body.nil?
|
6179
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
7135
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_migration"
|
6180
7136
|
end
|
6181
7137
|
# resource path
|
6182
|
-
local_var_path = '/gateway-update-
|
7138
|
+
local_var_path = '/gateway-update-migration'
|
6183
7139
|
|
6184
7140
|
# query parameters
|
6185
7141
|
query_params = opts[:query_params] || {}
|
@@ -6201,13 +7157,13 @@ module Akeyless
|
|
6201
7157
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
6202
7158
|
|
6203
7159
|
# return_type
|
6204
|
-
return_type = opts[:debug_return_type] || '
|
7160
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationUpdateOutput'
|
6205
7161
|
|
6206
7162
|
# auth_names
|
6207
7163
|
auth_names = opts[:debug_auth_names] || []
|
6208
7164
|
|
6209
7165
|
new_options = opts.merge(
|
6210
|
-
:operation => :"V2Api.
|
7166
|
+
:operation => :"V2Api.gateway_update_migration",
|
6211
7167
|
:header_params => header_params,
|
6212
7168
|
:query_params => query_params,
|
6213
7169
|
:form_params => form_params,
|
@@ -6218,7 +7174,7 @@ module Akeyless
|
|
6218
7174
|
|
6219
7175
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
6220
7176
|
if @api_client.config.debugging
|
6221
|
-
@api_client.config.logger.debug "API called: V2Api#
|
7177
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6222
7178
|
end
|
6223
7179
|
return data, status_code, headers
|
6224
7180
|
end
|
@@ -6923,6 +7879,70 @@ module Akeyless
|
|
6923
7879
|
return data, status_code, headers
|
6924
7880
|
end
|
6925
7881
|
|
7882
|
+
# @param body [GatewayUpdateProducerHanaDb]
|
7883
|
+
# @param [Hash] opts the optional parameters
|
7884
|
+
# @return [GatewayUpdateProducerHanaDbOutput]
|
7885
|
+
def gateway_update_producer_hana_db(body, opts = {})
|
7886
|
+
data, _status_code, _headers = gateway_update_producer_hana_db_with_http_info(body, opts)
|
7887
|
+
data
|
7888
|
+
end
|
7889
|
+
|
7890
|
+
# @param body [GatewayUpdateProducerHanaDb]
|
7891
|
+
# @param [Hash] opts the optional parameters
|
7892
|
+
# @return [Array<(GatewayUpdateProducerHanaDbOutput, Integer, Hash)>] GatewayUpdateProducerHanaDbOutput data, response status code and response headers
|
7893
|
+
def gateway_update_producer_hana_db_with_http_info(body, opts = {})
|
7894
|
+
if @api_client.config.debugging
|
7895
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_producer_hana_db ...'
|
7896
|
+
end
|
7897
|
+
# verify the required parameter 'body' is set
|
7898
|
+
if @api_client.config.client_side_validation && body.nil?
|
7899
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_producer_hana_db"
|
7900
|
+
end
|
7901
|
+
# resource path
|
7902
|
+
local_var_path = '/gateway-update-producer-hana'
|
7903
|
+
|
7904
|
+
# query parameters
|
7905
|
+
query_params = opts[:query_params] || {}
|
7906
|
+
|
7907
|
+
# header parameters
|
7908
|
+
header_params = opts[:header_params] || {}
|
7909
|
+
# HTTP header 'Accept' (if needed)
|
7910
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
7911
|
+
# HTTP header 'Content-Type'
|
7912
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
7913
|
+
if !content_type.nil?
|
7914
|
+
header_params['Content-Type'] = content_type
|
7915
|
+
end
|
7916
|
+
|
7917
|
+
# form parameters
|
7918
|
+
form_params = opts[:form_params] || {}
|
7919
|
+
|
7920
|
+
# http body (model)
|
7921
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
7922
|
+
|
7923
|
+
# return_type
|
7924
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateProducerHanaDbOutput'
|
7925
|
+
|
7926
|
+
# auth_names
|
7927
|
+
auth_names = opts[:debug_auth_names] || []
|
7928
|
+
|
7929
|
+
new_options = opts.merge(
|
7930
|
+
:operation => :"V2Api.gateway_update_producer_hana_db",
|
7931
|
+
:header_params => header_params,
|
7932
|
+
:query_params => query_params,
|
7933
|
+
:form_params => form_params,
|
7934
|
+
:body => post_body,
|
7935
|
+
:auth_names => auth_names,
|
7936
|
+
:return_type => return_type
|
7937
|
+
)
|
7938
|
+
|
7939
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
7940
|
+
if @api_client.config.debugging
|
7941
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_producer_hana_db\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
7942
|
+
end
|
7943
|
+
return data, status_code, headers
|
7944
|
+
end
|
7945
|
+
|
6926
7946
|
# @param body [GatewayUpdateProducerLdap]
|
6927
7947
|
# @param [Hash] opts the optional parameters
|
6928
7948
|
# @return [GatewayUpdateProducerLdapOutput]
|
@@ -7199,7 +8219,7 @@ module Akeyless
|
|
7199
8219
|
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_producer_native_k8_s"
|
7200
8220
|
end
|
7201
8221
|
# resource path
|
7202
|
-
local_var_path = '/gateway-update-producer-k8s
|
8222
|
+
local_var_path = '/gateway-update-producer-k8s'
|
7203
8223
|
|
7204
8224
|
# query parameters
|
7205
8225
|
query_params = opts[:query_params] || {}
|
@@ -8816,6 +9836,66 @@ module Akeyless
|
|
8816
9836
|
return data, status_code, headers
|
8817
9837
|
end
|
8818
9838
|
|
9839
|
+
# @param [Hash] opts the optional parameters
|
9840
|
+
# @option opts [KmipDeleteServer] :body
|
9841
|
+
# @return [Object]
|
9842
|
+
def kmip_delete_server(opts = {})
|
9843
|
+
data, _status_code, _headers = kmip_delete_server_with_http_info(opts)
|
9844
|
+
data
|
9845
|
+
end
|
9846
|
+
|
9847
|
+
# @param [Hash] opts the optional parameters
|
9848
|
+
# @option opts [KmipDeleteServer] :body
|
9849
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
9850
|
+
def kmip_delete_server_with_http_info(opts = {})
|
9851
|
+
if @api_client.config.debugging
|
9852
|
+
@api_client.config.logger.debug 'Calling API: V2Api.kmip_delete_server ...'
|
9853
|
+
end
|
9854
|
+
# resource path
|
9855
|
+
local_var_path = '/kmip-delete-environment'
|
9856
|
+
|
9857
|
+
# query parameters
|
9858
|
+
query_params = opts[:query_params] || {}
|
9859
|
+
|
9860
|
+
# header parameters
|
9861
|
+
header_params = opts[:header_params] || {}
|
9862
|
+
# HTTP header 'Accept' (if needed)
|
9863
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
9864
|
+
# HTTP header 'Content-Type'
|
9865
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
9866
|
+
if !content_type.nil?
|
9867
|
+
header_params['Content-Type'] = content_type
|
9868
|
+
end
|
9869
|
+
|
9870
|
+
# form parameters
|
9871
|
+
form_params = opts[:form_params] || {}
|
9872
|
+
|
9873
|
+
# http body (model)
|
9874
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
9875
|
+
|
9876
|
+
# return_type
|
9877
|
+
return_type = opts[:debug_return_type] || 'Object'
|
9878
|
+
|
9879
|
+
# auth_names
|
9880
|
+
auth_names = opts[:debug_auth_names] || []
|
9881
|
+
|
9882
|
+
new_options = opts.merge(
|
9883
|
+
:operation => :"V2Api.kmip_delete_server",
|
9884
|
+
:header_params => header_params,
|
9885
|
+
:query_params => query_params,
|
9886
|
+
:form_params => form_params,
|
9887
|
+
:body => post_body,
|
9888
|
+
:auth_names => auth_names,
|
9889
|
+
:return_type => return_type
|
9890
|
+
)
|
9891
|
+
|
9892
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
9893
|
+
if @api_client.config.debugging
|
9894
|
+
@api_client.config.logger.debug "API called: V2Api#kmip_delete_server\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9895
|
+
end
|
9896
|
+
return data, status_code, headers
|
9897
|
+
end
|
9898
|
+
|
8819
9899
|
# @param [Hash] opts the optional parameters
|
8820
9900
|
# @option opts [KmipDescribeClient] :body
|
8821
9901
|
# @return [KMIPClientGetResponse]
|
@@ -8996,6 +10076,66 @@ module Akeyless
|
|
8996
10076
|
return data, status_code, headers
|
8997
10077
|
end
|
8998
10078
|
|
10079
|
+
# @param [Hash] opts the optional parameters
|
10080
|
+
# @option opts [KmipMoveServer] :body
|
10081
|
+
# @return [KmipMoveServerOutput]
|
10082
|
+
def kmip_move_server(opts = {})
|
10083
|
+
data, _status_code, _headers = kmip_move_server_with_http_info(opts)
|
10084
|
+
data
|
10085
|
+
end
|
10086
|
+
|
10087
|
+
# @param [Hash] opts the optional parameters
|
10088
|
+
# @option opts [KmipMoveServer] :body
|
10089
|
+
# @return [Array<(KmipMoveServerOutput, Integer, Hash)>] KmipMoveServerOutput data, response status code and response headers
|
10090
|
+
def kmip_move_server_with_http_info(opts = {})
|
10091
|
+
if @api_client.config.debugging
|
10092
|
+
@api_client.config.logger.debug 'Calling API: V2Api.kmip_move_server ...'
|
10093
|
+
end
|
10094
|
+
# resource path
|
10095
|
+
local_var_path = '/kmip-move-environment'
|
10096
|
+
|
10097
|
+
# query parameters
|
10098
|
+
query_params = opts[:query_params] || {}
|
10099
|
+
|
10100
|
+
# header parameters
|
10101
|
+
header_params = opts[:header_params] || {}
|
10102
|
+
# HTTP header 'Accept' (if needed)
|
10103
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
10104
|
+
# HTTP header 'Content-Type'
|
10105
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
10106
|
+
if !content_type.nil?
|
10107
|
+
header_params['Content-Type'] = content_type
|
10108
|
+
end
|
10109
|
+
|
10110
|
+
# form parameters
|
10111
|
+
form_params = opts[:form_params] || {}
|
10112
|
+
|
10113
|
+
# http body (model)
|
10114
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
10115
|
+
|
10116
|
+
# return_type
|
10117
|
+
return_type = opts[:debug_return_type] || 'KmipMoveServerOutput'
|
10118
|
+
|
10119
|
+
# auth_names
|
10120
|
+
auth_names = opts[:debug_auth_names] || []
|
10121
|
+
|
10122
|
+
new_options = opts.merge(
|
10123
|
+
:operation => :"V2Api.kmip_move_server",
|
10124
|
+
:header_params => header_params,
|
10125
|
+
:query_params => query_params,
|
10126
|
+
:form_params => form_params,
|
10127
|
+
:body => post_body,
|
10128
|
+
:auth_names => auth_names,
|
10129
|
+
:return_type => return_type
|
10130
|
+
)
|
10131
|
+
|
10132
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
10133
|
+
if @api_client.config.debugging
|
10134
|
+
@api_client.config.logger.debug "API called: V2Api#kmip_move_server\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
10135
|
+
end
|
10136
|
+
return data, status_code, headers
|
10137
|
+
end
|
10138
|
+
|
8999
10139
|
# @param [Hash] opts the optional parameters
|
9000
10140
|
# @option opts [KmipRenewClientCertificate] :body
|
9001
10141
|
# @return [KmipRenewClientCertificateOutput]
|
@@ -9185,14 +10325,78 @@ module Akeyless
|
|
9185
10325
|
end
|
9186
10326
|
|
9187
10327
|
# @param [Hash] opts the optional parameters
|
9188
|
-
# @option opts [KmipSetServerState] :body
|
9189
|
-
# @return [Array<(KmipSetServerStateOutput, Integer, Hash)>] KmipSetServerStateOutput data, response status code and response headers
|
9190
|
-
def kmip_set_server_state_with_http_info(opts = {})
|
10328
|
+
# @option opts [KmipSetServerState] :body
|
10329
|
+
# @return [Array<(KmipSetServerStateOutput, Integer, Hash)>] KmipSetServerStateOutput data, response status code and response headers
|
10330
|
+
def kmip_set_server_state_with_http_info(opts = {})
|
10331
|
+
if @api_client.config.debugging
|
10332
|
+
@api_client.config.logger.debug 'Calling API: V2Api.kmip_set_server_state ...'
|
10333
|
+
end
|
10334
|
+
# resource path
|
10335
|
+
local_var_path = '/kmip-set-environment-state'
|
10336
|
+
|
10337
|
+
# query parameters
|
10338
|
+
query_params = opts[:query_params] || {}
|
10339
|
+
|
10340
|
+
# header parameters
|
10341
|
+
header_params = opts[:header_params] || {}
|
10342
|
+
# HTTP header 'Accept' (if needed)
|
10343
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
10344
|
+
# HTTP header 'Content-Type'
|
10345
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
10346
|
+
if !content_type.nil?
|
10347
|
+
header_params['Content-Type'] = content_type
|
10348
|
+
end
|
10349
|
+
|
10350
|
+
# form parameters
|
10351
|
+
form_params = opts[:form_params] || {}
|
10352
|
+
|
10353
|
+
# http body (model)
|
10354
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
10355
|
+
|
10356
|
+
# return_type
|
10357
|
+
return_type = opts[:debug_return_type] || 'KmipSetServerStateOutput'
|
10358
|
+
|
10359
|
+
# auth_names
|
10360
|
+
auth_names = opts[:debug_auth_names] || []
|
10361
|
+
|
10362
|
+
new_options = opts.merge(
|
10363
|
+
:operation => :"V2Api.kmip_set_server_state",
|
10364
|
+
:header_params => header_params,
|
10365
|
+
:query_params => query_params,
|
10366
|
+
:form_params => form_params,
|
10367
|
+
:body => post_body,
|
10368
|
+
:auth_names => auth_names,
|
10369
|
+
:return_type => return_type
|
10370
|
+
)
|
10371
|
+
|
10372
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
10373
|
+
if @api_client.config.debugging
|
10374
|
+
@api_client.config.logger.debug "API called: V2Api#kmip_set_server_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
10375
|
+
end
|
10376
|
+
return data, status_code, headers
|
10377
|
+
end
|
10378
|
+
|
10379
|
+
# @param body [ListAuthMethods]
|
10380
|
+
# @param [Hash] opts the optional parameters
|
10381
|
+
# @return [ListAuthMethodsOutput]
|
10382
|
+
def list_auth_methods(body, opts = {})
|
10383
|
+
data, _status_code, _headers = list_auth_methods_with_http_info(body, opts)
|
10384
|
+
data
|
10385
|
+
end
|
10386
|
+
|
10387
|
+
# @param body [ListAuthMethods]
|
10388
|
+
# @param [Hash] opts the optional parameters
|
10389
|
+
# @return [Array<(ListAuthMethodsOutput, Integer, Hash)>] ListAuthMethodsOutput data, response status code and response headers
|
10390
|
+
def list_auth_methods_with_http_info(body, opts = {})
|
9191
10391
|
if @api_client.config.debugging
|
9192
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
10392
|
+
@api_client.config.logger.debug 'Calling API: V2Api.list_auth_methods ...'
|
10393
|
+
end
|
10394
|
+
# verify the required parameter 'body' is set
|
10395
|
+
if @api_client.config.client_side_validation && body.nil?
|
10396
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.list_auth_methods"
|
9193
10397
|
end
|
9194
10398
|
# resource path
|
9195
|
-
local_var_path = '/
|
10399
|
+
local_var_path = '/list-auth-methods'
|
9196
10400
|
|
9197
10401
|
# query parameters
|
9198
10402
|
query_params = opts[:query_params] || {}
|
@@ -9211,16 +10415,16 @@ module Akeyless
|
|
9211
10415
|
form_params = opts[:form_params] || {}
|
9212
10416
|
|
9213
10417
|
# http body (model)
|
9214
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
10418
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
9215
10419
|
|
9216
10420
|
# return_type
|
9217
|
-
return_type = opts[:debug_return_type] || '
|
10421
|
+
return_type = opts[:debug_return_type] || 'ListAuthMethodsOutput'
|
9218
10422
|
|
9219
10423
|
# auth_names
|
9220
10424
|
auth_names = opts[:debug_auth_names] || []
|
9221
10425
|
|
9222
10426
|
new_options = opts.merge(
|
9223
|
-
:operation => :"V2Api.
|
10427
|
+
:operation => :"V2Api.list_auth_methods",
|
9224
10428
|
:header_params => header_params,
|
9225
10429
|
:query_params => query_params,
|
9226
10430
|
:form_params => form_params,
|
@@ -9231,32 +10435,32 @@ module Akeyless
|
|
9231
10435
|
|
9232
10436
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
9233
10437
|
if @api_client.config.debugging
|
9234
|
-
@api_client.config.logger.debug "API called: V2Api#
|
10438
|
+
@api_client.config.logger.debug "API called: V2Api#list_auth_methods\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9235
10439
|
end
|
9236
10440
|
return data, status_code, headers
|
9237
10441
|
end
|
9238
10442
|
|
9239
|
-
# @param body [
|
10443
|
+
# @param body [ListGateways]
|
9240
10444
|
# @param [Hash] opts the optional parameters
|
9241
|
-
# @return [
|
9242
|
-
def
|
9243
|
-
data, _status_code, _headers =
|
10445
|
+
# @return [GatewaysListResponse]
|
10446
|
+
def list_gateways(body, opts = {})
|
10447
|
+
data, _status_code, _headers = list_gateways_with_http_info(body, opts)
|
9244
10448
|
data
|
9245
10449
|
end
|
9246
10450
|
|
9247
|
-
# @param body [
|
10451
|
+
# @param body [ListGateways]
|
9248
10452
|
# @param [Hash] opts the optional parameters
|
9249
|
-
# @return [Array<(
|
9250
|
-
def
|
10453
|
+
# @return [Array<(GatewaysListResponse, Integer, Hash)>] GatewaysListResponse data, response status code and response headers
|
10454
|
+
def list_gateways_with_http_info(body, opts = {})
|
9251
10455
|
if @api_client.config.debugging
|
9252
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
10456
|
+
@api_client.config.logger.debug 'Calling API: V2Api.list_gateways ...'
|
9253
10457
|
end
|
9254
10458
|
# verify the required parameter 'body' is set
|
9255
10459
|
if @api_client.config.client_side_validation && body.nil?
|
9256
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
10460
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.list_gateways"
|
9257
10461
|
end
|
9258
10462
|
# resource path
|
9259
|
-
local_var_path = '/list-
|
10463
|
+
local_var_path = '/list-gateways'
|
9260
10464
|
|
9261
10465
|
# query parameters
|
9262
10466
|
query_params = opts[:query_params] || {}
|
@@ -9278,13 +10482,13 @@ module Akeyless
|
|
9278
10482
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
9279
10483
|
|
9280
10484
|
# return_type
|
9281
|
-
return_type = opts[:debug_return_type] || '
|
10485
|
+
return_type = opts[:debug_return_type] || 'GatewaysListResponse'
|
9282
10486
|
|
9283
10487
|
# auth_names
|
9284
10488
|
auth_names = opts[:debug_auth_names] || []
|
9285
10489
|
|
9286
10490
|
new_options = opts.merge(
|
9287
|
-
:operation => :"V2Api.
|
10491
|
+
:operation => :"V2Api.list_gateways",
|
9288
10492
|
:header_params => header_params,
|
9289
10493
|
:query_params => query_params,
|
9290
10494
|
:form_params => form_params,
|
@@ -9295,7 +10499,7 @@ module Akeyless
|
|
9295
10499
|
|
9296
10500
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
9297
10501
|
if @api_client.config.debugging
|
9298
|
-
@api_client.config.logger.debug "API called: V2Api#
|
10502
|
+
@api_client.config.logger.debug "API called: V2Api#list_gateways\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9299
10503
|
end
|
9300
10504
|
return data, status_code, headers
|
9301
10505
|
end
|
@@ -9428,6 +10632,70 @@ module Akeyless
|
|
9428
10632
|
return data, status_code, headers
|
9429
10633
|
end
|
9430
10634
|
|
10635
|
+
# @param body [ListSRABastions]
|
10636
|
+
# @param [Hash] opts the optional parameters
|
10637
|
+
# @return [BastionsList]
|
10638
|
+
def list_sra_bastions(body, opts = {})
|
10639
|
+
data, _status_code, _headers = list_sra_bastions_with_http_info(body, opts)
|
10640
|
+
data
|
10641
|
+
end
|
10642
|
+
|
10643
|
+
# @param body [ListSRABastions]
|
10644
|
+
# @param [Hash] opts the optional parameters
|
10645
|
+
# @return [Array<(BastionsList, Integer, Hash)>] BastionsList data, response status code and response headers
|
10646
|
+
def list_sra_bastions_with_http_info(body, opts = {})
|
10647
|
+
if @api_client.config.debugging
|
10648
|
+
@api_client.config.logger.debug 'Calling API: V2Api.list_sra_bastions ...'
|
10649
|
+
end
|
10650
|
+
# verify the required parameter 'body' is set
|
10651
|
+
if @api_client.config.client_side_validation && body.nil?
|
10652
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.list_sra_bastions"
|
10653
|
+
end
|
10654
|
+
# resource path
|
10655
|
+
local_var_path = '/list-sra-bastions'
|
10656
|
+
|
10657
|
+
# query parameters
|
10658
|
+
query_params = opts[:query_params] || {}
|
10659
|
+
|
10660
|
+
# header parameters
|
10661
|
+
header_params = opts[:header_params] || {}
|
10662
|
+
# HTTP header 'Accept' (if needed)
|
10663
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
10664
|
+
# HTTP header 'Content-Type'
|
10665
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
10666
|
+
if !content_type.nil?
|
10667
|
+
header_params['Content-Type'] = content_type
|
10668
|
+
end
|
10669
|
+
|
10670
|
+
# form parameters
|
10671
|
+
form_params = opts[:form_params] || {}
|
10672
|
+
|
10673
|
+
# http body (model)
|
10674
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
10675
|
+
|
10676
|
+
# return_type
|
10677
|
+
return_type = opts[:debug_return_type] || 'BastionsList'
|
10678
|
+
|
10679
|
+
# auth_names
|
10680
|
+
auth_names = opts[:debug_auth_names] || []
|
10681
|
+
|
10682
|
+
new_options = opts.merge(
|
10683
|
+
:operation => :"V2Api.list_sra_bastions",
|
10684
|
+
:header_params => header_params,
|
10685
|
+
:query_params => query_params,
|
10686
|
+
:form_params => form_params,
|
10687
|
+
:body => post_body,
|
10688
|
+
:auth_names => auth_names,
|
10689
|
+
:return_type => return_type
|
10690
|
+
)
|
10691
|
+
|
10692
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
10693
|
+
if @api_client.config.debugging
|
10694
|
+
@api_client.config.logger.debug "API called: V2Api#list_sra_bastions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
10695
|
+
end
|
10696
|
+
return data, status_code, headers
|
10697
|
+
end
|
10698
|
+
|
9431
10699
|
# @param body [ListTargets]
|
9432
10700
|
# @param [Hash] opts the optional parameters
|
9433
10701
|
# @return [ListTargetsOutput]
|
@@ -9925,6 +11193,70 @@ module Akeyless
|
|
9925
11193
|
return data, status_code, headers
|
9926
11194
|
end
|
9927
11195
|
|
11196
|
+
# @param body [RotateSecret]
|
11197
|
+
# @param [Hash] opts the optional parameters
|
11198
|
+
# @return [RotatedSecretOutput]
|
11199
|
+
def rotate_secret(body, opts = {})
|
11200
|
+
data, _status_code, _headers = rotate_secret_with_http_info(body, opts)
|
11201
|
+
data
|
11202
|
+
end
|
11203
|
+
|
11204
|
+
# @param body [RotateSecret]
|
11205
|
+
# @param [Hash] opts the optional parameters
|
11206
|
+
# @return [Array<(RotatedSecretOutput, Integer, Hash)>] RotatedSecretOutput data, response status code and response headers
|
11207
|
+
def rotate_secret_with_http_info(body, opts = {})
|
11208
|
+
if @api_client.config.debugging
|
11209
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotate_secret ...'
|
11210
|
+
end
|
11211
|
+
# verify the required parameter 'body' is set
|
11212
|
+
if @api_client.config.client_side_validation && body.nil?
|
11213
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.rotate_secret"
|
11214
|
+
end
|
11215
|
+
# resource path
|
11216
|
+
local_var_path = '/gateway-rotate-secret'
|
11217
|
+
|
11218
|
+
# query parameters
|
11219
|
+
query_params = opts[:query_params] || {}
|
11220
|
+
|
11221
|
+
# header parameters
|
11222
|
+
header_params = opts[:header_params] || {}
|
11223
|
+
# HTTP header 'Accept' (if needed)
|
11224
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
11225
|
+
# HTTP header 'Content-Type'
|
11226
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
11227
|
+
if !content_type.nil?
|
11228
|
+
header_params['Content-Type'] = content_type
|
11229
|
+
end
|
11230
|
+
|
11231
|
+
# form parameters
|
11232
|
+
form_params = opts[:form_params] || {}
|
11233
|
+
|
11234
|
+
# http body (model)
|
11235
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
11236
|
+
|
11237
|
+
# return_type
|
11238
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretOutput'
|
11239
|
+
|
11240
|
+
# auth_names
|
11241
|
+
auth_names = opts[:debug_auth_names] || []
|
11242
|
+
|
11243
|
+
new_options = opts.merge(
|
11244
|
+
:operation => :"V2Api.rotate_secret",
|
11245
|
+
:header_params => header_params,
|
11246
|
+
:query_params => query_params,
|
11247
|
+
:form_params => form_params,
|
11248
|
+
:body => post_body,
|
11249
|
+
:auth_names => auth_names,
|
11250
|
+
:return_type => return_type
|
11251
|
+
)
|
11252
|
+
|
11253
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
11254
|
+
if @api_client.config.debugging
|
11255
|
+
@api_client.config.logger.debug "API called: V2Api#rotate_secret\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
11256
|
+
end
|
11257
|
+
return data, status_code, headers
|
11258
|
+
end
|
11259
|
+
|
9928
11260
|
# @param body [SetItemState]
|
9929
11261
|
# @param [Hash] opts the optional parameters
|
9930
11262
|
# @return [Object]
|
@@ -10053,6 +11385,70 @@ module Akeyless
|
|
10053
11385
|
return data, status_code, headers
|
10054
11386
|
end
|
10055
11387
|
|
11388
|
+
# @param body [ShareItem]
|
11389
|
+
# @param [Hash] opts the optional parameters
|
11390
|
+
# @return [nil]
|
11391
|
+
def share_item(body, opts = {})
|
11392
|
+
share_item_with_http_info(body, opts)
|
11393
|
+
nil
|
11394
|
+
end
|
11395
|
+
|
11396
|
+
# @param body [ShareItem]
|
11397
|
+
# @param [Hash] opts the optional parameters
|
11398
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
11399
|
+
def share_item_with_http_info(body, opts = {})
|
11400
|
+
if @api_client.config.debugging
|
11401
|
+
@api_client.config.logger.debug 'Calling API: V2Api.share_item ...'
|
11402
|
+
end
|
11403
|
+
# verify the required parameter 'body' is set
|
11404
|
+
if @api_client.config.client_side_validation && body.nil?
|
11405
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.share_item"
|
11406
|
+
end
|
11407
|
+
# resource path
|
11408
|
+
local_var_path = '/share-item'
|
11409
|
+
|
11410
|
+
# query parameters
|
11411
|
+
query_params = opts[:query_params] || {}
|
11412
|
+
|
11413
|
+
# header parameters
|
11414
|
+
header_params = opts[:header_params] || {}
|
11415
|
+
# HTTP header 'Accept' (if needed)
|
11416
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
11417
|
+
# HTTP header 'Content-Type'
|
11418
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
11419
|
+
if !content_type.nil?
|
11420
|
+
header_params['Content-Type'] = content_type
|
11421
|
+
end
|
11422
|
+
|
11423
|
+
# form parameters
|
11424
|
+
form_params = opts[:form_params] || {}
|
11425
|
+
|
11426
|
+
# http body (model)
|
11427
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
11428
|
+
|
11429
|
+
# return_type
|
11430
|
+
return_type = opts[:debug_return_type]
|
11431
|
+
|
11432
|
+
# auth_names
|
11433
|
+
auth_names = opts[:debug_auth_names] || []
|
11434
|
+
|
11435
|
+
new_options = opts.merge(
|
11436
|
+
:operation => :"V2Api.share_item",
|
11437
|
+
:header_params => header_params,
|
11438
|
+
:query_params => query_params,
|
11439
|
+
:form_params => form_params,
|
11440
|
+
:body => post_body,
|
11441
|
+
:auth_names => auth_names,
|
11442
|
+
:return_type => return_type
|
11443
|
+
)
|
11444
|
+
|
11445
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
11446
|
+
if @api_client.config.debugging
|
11447
|
+
@api_client.config.logger.debug "API called: V2Api#share_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
11448
|
+
end
|
11449
|
+
return data, status_code, headers
|
11450
|
+
end
|
11451
|
+
|
10056
11452
|
# @param body [SignJWTWithClassicKey]
|
10057
11453
|
# @param [Hash] opts the optional parameters
|
10058
11454
|
# @return [SignJWTOutput]
|
@@ -10159,13 +11555,77 @@ module Akeyless
|
|
10159
11555
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
10160
11556
|
|
10161
11557
|
# return_type
|
10162
|
-
return_type = opts[:debug_return_type] || 'SignPKCS1Output'
|
11558
|
+
return_type = opts[:debug_return_type] || 'SignPKCS1Output'
|
11559
|
+
|
11560
|
+
# auth_names
|
11561
|
+
auth_names = opts[:debug_auth_names] || []
|
11562
|
+
|
11563
|
+
new_options = opts.merge(
|
11564
|
+
:operation => :"V2Api.sign_pkcs1",
|
11565
|
+
:header_params => header_params,
|
11566
|
+
:query_params => query_params,
|
11567
|
+
:form_params => form_params,
|
11568
|
+
:body => post_body,
|
11569
|
+
:auth_names => auth_names,
|
11570
|
+
:return_type => return_type
|
11571
|
+
)
|
11572
|
+
|
11573
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
11574
|
+
if @api_client.config.debugging
|
11575
|
+
@api_client.config.logger.debug "API called: V2Api#sign_pkcs1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
11576
|
+
end
|
11577
|
+
return data, status_code, headers
|
11578
|
+
end
|
11579
|
+
|
11580
|
+
# @param body [SignPKICertWithClassicKey]
|
11581
|
+
# @param [Hash] opts the optional parameters
|
11582
|
+
# @return [SignPKICertOutput]
|
11583
|
+
def sign_pki_cert_with_classic_key(body, opts = {})
|
11584
|
+
data, _status_code, _headers = sign_pki_cert_with_classic_key_with_http_info(body, opts)
|
11585
|
+
data
|
11586
|
+
end
|
11587
|
+
|
11588
|
+
# @param body [SignPKICertWithClassicKey]
|
11589
|
+
# @param [Hash] opts the optional parameters
|
11590
|
+
# @return [Array<(SignPKICertOutput, Integer, Hash)>] SignPKICertOutput data, response status code and response headers
|
11591
|
+
def sign_pki_cert_with_classic_key_with_http_info(body, opts = {})
|
11592
|
+
if @api_client.config.debugging
|
11593
|
+
@api_client.config.logger.debug 'Calling API: V2Api.sign_pki_cert_with_classic_key ...'
|
11594
|
+
end
|
11595
|
+
# verify the required parameter 'body' is set
|
11596
|
+
if @api_client.config.client_side_validation && body.nil?
|
11597
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.sign_pki_cert_with_classic_key"
|
11598
|
+
end
|
11599
|
+
# resource path
|
11600
|
+
local_var_path = '/sign-pki-cert-with-classic-key'
|
11601
|
+
|
11602
|
+
# query parameters
|
11603
|
+
query_params = opts[:query_params] || {}
|
11604
|
+
|
11605
|
+
# header parameters
|
11606
|
+
header_params = opts[:header_params] || {}
|
11607
|
+
# HTTP header 'Accept' (if needed)
|
11608
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
11609
|
+
# HTTP header 'Content-Type'
|
11610
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
11611
|
+
if !content_type.nil?
|
11612
|
+
header_params['Content-Type'] = content_type
|
11613
|
+
end
|
11614
|
+
|
11615
|
+
# form parameters
|
11616
|
+
form_params = opts[:form_params] || {}
|
11617
|
+
|
11618
|
+
# http body (model)
|
11619
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
11620
|
+
|
11621
|
+
# return_type
|
11622
|
+
return_type = opts[:debug_return_type] || 'SignPKICertOutput'
|
10163
11623
|
|
10164
11624
|
# auth_names
|
10165
11625
|
auth_names = opts[:debug_auth_names] || []
|
10166
11626
|
|
10167
11627
|
new_options = opts.merge(
|
10168
|
-
:operation => :"V2Api.
|
11628
|
+
:operation => :"V2Api.sign_pki_cert_with_classic_key",
|
10169
11629
|
:header_params => header_params,
|
10170
11630
|
:query_params => query_params,
|
10171
11631
|
:form_params => form_params,
|
@@ -10176,32 +11636,32 @@ module Akeyless
|
|
10176
11636
|
|
10177
11637
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
10178
11638
|
if @api_client.config.debugging
|
10179
|
-
@api_client.config.logger.debug "API called: V2Api#
|
11639
|
+
@api_client.config.logger.debug "API called: V2Api#sign_pki_cert_with_classic_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
10180
11640
|
end
|
10181
11641
|
return data, status_code, headers
|
10182
11642
|
end
|
10183
11643
|
|
10184
|
-
# @param body [
|
11644
|
+
# @param body [StaticCredsAuth]
|
10185
11645
|
# @param [Hash] opts the optional parameters
|
10186
|
-
# @return [
|
10187
|
-
def
|
10188
|
-
data, _status_code, _headers =
|
11646
|
+
# @return [StaticCredsAuthOutput]
|
11647
|
+
def static_creds_auth(body, opts = {})
|
11648
|
+
data, _status_code, _headers = static_creds_auth_with_http_info(body, opts)
|
10189
11649
|
data
|
10190
11650
|
end
|
10191
11651
|
|
10192
|
-
# @param body [
|
11652
|
+
# @param body [StaticCredsAuth]
|
10193
11653
|
# @param [Hash] opts the optional parameters
|
10194
|
-
# @return [Array<(
|
10195
|
-
def
|
11654
|
+
# @return [Array<(StaticCredsAuthOutput, Integer, Hash)>] StaticCredsAuthOutput data, response status code and response headers
|
11655
|
+
def static_creds_auth_with_http_info(body, opts = {})
|
10196
11656
|
if @api_client.config.debugging
|
10197
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
11657
|
+
@api_client.config.logger.debug 'Calling API: V2Api.static_creds_auth ...'
|
10198
11658
|
end
|
10199
11659
|
# verify the required parameter 'body' is set
|
10200
11660
|
if @api_client.config.client_side_validation && body.nil?
|
10201
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
11661
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.static_creds_auth"
|
10202
11662
|
end
|
10203
11663
|
# resource path
|
10204
|
-
local_var_path = '/
|
11664
|
+
local_var_path = '/static-creds-auth'
|
10205
11665
|
|
10206
11666
|
# query parameters
|
10207
11667
|
query_params = opts[:query_params] || {}
|
@@ -10223,13 +11683,13 @@ module Akeyless
|
|
10223
11683
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
10224
11684
|
|
10225
11685
|
# return_type
|
10226
|
-
return_type = opts[:debug_return_type] || '
|
11686
|
+
return_type = opts[:debug_return_type] || 'StaticCredsAuthOutput'
|
10227
11687
|
|
10228
11688
|
# auth_names
|
10229
11689
|
auth_names = opts[:debug_auth_names] || []
|
10230
11690
|
|
10231
11691
|
new_options = opts.merge(
|
10232
|
-
:operation => :"V2Api.
|
11692
|
+
:operation => :"V2Api.static_creds_auth",
|
10233
11693
|
:header_params => header_params,
|
10234
11694
|
:query_params => query_params,
|
10235
11695
|
:form_params => form_params,
|
@@ -10240,32 +11700,32 @@ module Akeyless
|
|
10240
11700
|
|
10241
11701
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
10242
11702
|
if @api_client.config.debugging
|
10243
|
-
@api_client.config.logger.debug "API called: V2Api#
|
11703
|
+
@api_client.config.logger.debug "API called: V2Api#static_creds_auth\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
10244
11704
|
end
|
10245
11705
|
return data, status_code, headers
|
10246
11706
|
end
|
10247
11707
|
|
10248
|
-
# @param body [
|
11708
|
+
# @param body [Tokenize]
|
10249
11709
|
# @param [Hash] opts the optional parameters
|
10250
|
-
# @return [
|
10251
|
-
def
|
10252
|
-
data, _status_code, _headers =
|
11710
|
+
# @return [TokenizeOutput]
|
11711
|
+
def tokenize(body, opts = {})
|
11712
|
+
data, _status_code, _headers = tokenize_with_http_info(body, opts)
|
10253
11713
|
data
|
10254
11714
|
end
|
10255
11715
|
|
10256
|
-
# @param body [
|
11716
|
+
# @param body [Tokenize]
|
10257
11717
|
# @param [Hash] opts the optional parameters
|
10258
|
-
# @return [Array<(
|
10259
|
-
def
|
11718
|
+
# @return [Array<(TokenizeOutput, Integer, Hash)>] TokenizeOutput data, response status code and response headers
|
11719
|
+
def tokenize_with_http_info(body, opts = {})
|
10260
11720
|
if @api_client.config.debugging
|
10261
|
-
@api_client.config.logger.debug 'Calling API: V2Api.
|
11721
|
+
@api_client.config.logger.debug 'Calling API: V2Api.tokenize ...'
|
10262
11722
|
end
|
10263
11723
|
# verify the required parameter 'body' is set
|
10264
11724
|
if @api_client.config.client_side_validation && body.nil?
|
10265
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.
|
11725
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.tokenize"
|
10266
11726
|
end
|
10267
11727
|
# resource path
|
10268
|
-
local_var_path = '/
|
11728
|
+
local_var_path = '/tokenize'
|
10269
11729
|
|
10270
11730
|
# query parameters
|
10271
11731
|
query_params = opts[:query_params] || {}
|
@@ -10287,13 +11747,13 @@ module Akeyless
|
|
10287
11747
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
10288
11748
|
|
10289
11749
|
# return_type
|
10290
|
-
return_type = opts[:debug_return_type] || '
|
11750
|
+
return_type = opts[:debug_return_type] || 'TokenizeOutput'
|
10291
11751
|
|
10292
11752
|
# auth_names
|
10293
11753
|
auth_names = opts[:debug_auth_names] || []
|
10294
11754
|
|
10295
11755
|
new_options = opts.merge(
|
10296
|
-
:operation => :"V2Api.
|
11756
|
+
:operation => :"V2Api.tokenize",
|
10297
11757
|
:header_params => header_params,
|
10298
11758
|
:query_params => query_params,
|
10299
11759
|
:form_params => form_params,
|
@@ -10304,7 +11764,7 @@ module Akeyless
|
|
10304
11764
|
|
10305
11765
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
10306
11766
|
if @api_client.config.debugging
|
10307
|
-
@api_client.config.logger.debug "API called: V2Api#
|
11767
|
+
@api_client.config.logger.debug "API called: V2Api#tokenize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
10308
11768
|
end
|
10309
11769
|
return data, status_code, headers
|
10310
11770
|
end
|
@@ -11013,6 +12473,70 @@ module Akeyless
|
|
11013
12473
|
return data, status_code, headers
|
11014
12474
|
end
|
11015
12475
|
|
12476
|
+
# @param body [UpdateAuthMethodCert]
|
12477
|
+
# @param [Hash] opts the optional parameters
|
12478
|
+
# @return [UpdateAuthMethodCertOutput]
|
12479
|
+
def update_auth_method_cert(body, opts = {})
|
12480
|
+
data, _status_code, _headers = update_auth_method_cert_with_http_info(body, opts)
|
12481
|
+
data
|
12482
|
+
end
|
12483
|
+
|
12484
|
+
# @param body [UpdateAuthMethodCert]
|
12485
|
+
# @param [Hash] opts the optional parameters
|
12486
|
+
# @return [Array<(UpdateAuthMethodCertOutput, Integer, Hash)>] UpdateAuthMethodCertOutput data, response status code and response headers
|
12487
|
+
def update_auth_method_cert_with_http_info(body, opts = {})
|
12488
|
+
if @api_client.config.debugging
|
12489
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_auth_method_cert ...'
|
12490
|
+
end
|
12491
|
+
# verify the required parameter 'body' is set
|
12492
|
+
if @api_client.config.client_side_validation && body.nil?
|
12493
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_auth_method_cert"
|
12494
|
+
end
|
12495
|
+
# resource path
|
12496
|
+
local_var_path = '/update-auth-method-cert'
|
12497
|
+
|
12498
|
+
# query parameters
|
12499
|
+
query_params = opts[:query_params] || {}
|
12500
|
+
|
12501
|
+
# header parameters
|
12502
|
+
header_params = opts[:header_params] || {}
|
12503
|
+
# HTTP header 'Accept' (if needed)
|
12504
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
12505
|
+
# HTTP header 'Content-Type'
|
12506
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
12507
|
+
if !content_type.nil?
|
12508
|
+
header_params['Content-Type'] = content_type
|
12509
|
+
end
|
12510
|
+
|
12511
|
+
# form parameters
|
12512
|
+
form_params = opts[:form_params] || {}
|
12513
|
+
|
12514
|
+
# http body (model)
|
12515
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
12516
|
+
|
12517
|
+
# return_type
|
12518
|
+
return_type = opts[:debug_return_type] || 'UpdateAuthMethodCertOutput'
|
12519
|
+
|
12520
|
+
# auth_names
|
12521
|
+
auth_names = opts[:debug_auth_names] || []
|
12522
|
+
|
12523
|
+
new_options = opts.merge(
|
12524
|
+
:operation => :"V2Api.update_auth_method_cert",
|
12525
|
+
:header_params => header_params,
|
12526
|
+
:query_params => query_params,
|
12527
|
+
:form_params => form_params,
|
12528
|
+
:body => post_body,
|
12529
|
+
:auth_names => auth_names,
|
12530
|
+
:return_type => return_type
|
12531
|
+
)
|
12532
|
+
|
12533
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
12534
|
+
if @api_client.config.debugging
|
12535
|
+
@api_client.config.logger.debug "API called: V2Api#update_auth_method_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
12536
|
+
end
|
12537
|
+
return data, status_code, headers
|
12538
|
+
end
|
12539
|
+
|
11016
12540
|
# @param body [UpdateAuthMethodGCP]
|
11017
12541
|
# @param [Hash] opts the optional parameters
|
11018
12542
|
# @return [Object]
|
@@ -11143,7 +12667,7 @@ module Akeyless
|
|
11143
12667
|
|
11144
12668
|
# @param body [UpdateAuthMethodLDAP]
|
11145
12669
|
# @param [Hash] opts the optional parameters
|
11146
|
-
# @return [
|
12670
|
+
# @return [UpdateAuthMethodLDAPOutput]
|
11147
12671
|
def update_auth_method_ldap(body, opts = {})
|
11148
12672
|
data, _status_code, _headers = update_auth_method_ldap_with_http_info(body, opts)
|
11149
12673
|
data
|
@@ -11151,7 +12675,7 @@ module Akeyless
|
|
11151
12675
|
|
11152
12676
|
# @param body [UpdateAuthMethodLDAP]
|
11153
12677
|
# @param [Hash] opts the optional parameters
|
11154
|
-
# @return [Array<(
|
12678
|
+
# @return [Array<(UpdateAuthMethodLDAPOutput, Integer, Hash)>] UpdateAuthMethodLDAPOutput data, response status code and response headers
|
11155
12679
|
def update_auth_method_ldap_with_http_info(body, opts = {})
|
11156
12680
|
if @api_client.config.debugging
|
11157
12681
|
@api_client.config.logger.debug 'Calling API: V2Api.update_auth_method_ldap ...'
|
@@ -11183,7 +12707,7 @@ module Akeyless
|
|
11183
12707
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
11184
12708
|
|
11185
12709
|
# return_type
|
11186
|
-
return_type = opts[:debug_return_type] || '
|
12710
|
+
return_type = opts[:debug_return_type] || 'UpdateAuthMethodLDAPOutput'
|
11187
12711
|
|
11188
12712
|
# auth_names
|
11189
12713
|
auth_names = opts[:debug_auth_names] || []
|
@@ -12165,9 +13689,137 @@ module Akeyless
|
|
12165
13689
|
return data, status_code, headers
|
12166
13690
|
end
|
12167
13691
|
|
13692
|
+
# @param body [UpdateLdapTarget]
|
13693
|
+
# @param [Hash] opts the optional parameters
|
13694
|
+
# @return [UpdateLdapTargetOutput]
|
13695
|
+
def update_ldap_target(body, opts = {})
|
13696
|
+
data, _status_code, _headers = update_ldap_target_with_http_info(body, opts)
|
13697
|
+
data
|
13698
|
+
end
|
13699
|
+
|
13700
|
+
# @param body [UpdateLdapTarget]
|
13701
|
+
# @param [Hash] opts the optional parameters
|
13702
|
+
# @return [Array<(UpdateLdapTargetOutput, Integer, Hash)>] UpdateLdapTargetOutput data, response status code and response headers
|
13703
|
+
def update_ldap_target_with_http_info(body, opts = {})
|
13704
|
+
if @api_client.config.debugging
|
13705
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_ldap_target ...'
|
13706
|
+
end
|
13707
|
+
# verify the required parameter 'body' is set
|
13708
|
+
if @api_client.config.client_side_validation && body.nil?
|
13709
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_ldap_target"
|
13710
|
+
end
|
13711
|
+
# resource path
|
13712
|
+
local_var_path = '/update-ldap-target'
|
13713
|
+
|
13714
|
+
# query parameters
|
13715
|
+
query_params = opts[:query_params] || {}
|
13716
|
+
|
13717
|
+
# header parameters
|
13718
|
+
header_params = opts[:header_params] || {}
|
13719
|
+
# HTTP header 'Accept' (if needed)
|
13720
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
13721
|
+
# HTTP header 'Content-Type'
|
13722
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
13723
|
+
if !content_type.nil?
|
13724
|
+
header_params['Content-Type'] = content_type
|
13725
|
+
end
|
13726
|
+
|
13727
|
+
# form parameters
|
13728
|
+
form_params = opts[:form_params] || {}
|
13729
|
+
|
13730
|
+
# http body (model)
|
13731
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
13732
|
+
|
13733
|
+
# return_type
|
13734
|
+
return_type = opts[:debug_return_type] || 'UpdateLdapTargetOutput'
|
13735
|
+
|
13736
|
+
# auth_names
|
13737
|
+
auth_names = opts[:debug_auth_names] || []
|
13738
|
+
|
13739
|
+
new_options = opts.merge(
|
13740
|
+
:operation => :"V2Api.update_ldap_target",
|
13741
|
+
:header_params => header_params,
|
13742
|
+
:query_params => query_params,
|
13743
|
+
:form_params => form_params,
|
13744
|
+
:body => post_body,
|
13745
|
+
:auth_names => auth_names,
|
13746
|
+
:return_type => return_type
|
13747
|
+
)
|
13748
|
+
|
13749
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
13750
|
+
if @api_client.config.debugging
|
13751
|
+
@api_client.config.logger.debug "API called: V2Api#update_ldap_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
13752
|
+
end
|
13753
|
+
return data, status_code, headers
|
13754
|
+
end
|
13755
|
+
|
13756
|
+
# @param body [UpdateLdapTargetDetails]
|
13757
|
+
# @param [Hash] opts the optional parameters
|
13758
|
+
# @return [UpdateTargetOutput]
|
13759
|
+
def update_ldap_target_details(body, opts = {})
|
13760
|
+
data, _status_code, _headers = update_ldap_target_details_with_http_info(body, opts)
|
13761
|
+
data
|
13762
|
+
end
|
13763
|
+
|
13764
|
+
# @param body [UpdateLdapTargetDetails]
|
13765
|
+
# @param [Hash] opts the optional parameters
|
13766
|
+
# @return [Array<(UpdateTargetOutput, Integer, Hash)>] UpdateTargetOutput data, response status code and response headers
|
13767
|
+
def update_ldap_target_details_with_http_info(body, opts = {})
|
13768
|
+
if @api_client.config.debugging
|
13769
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_ldap_target_details ...'
|
13770
|
+
end
|
13771
|
+
# verify the required parameter 'body' is set
|
13772
|
+
if @api_client.config.client_side_validation && body.nil?
|
13773
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_ldap_target_details"
|
13774
|
+
end
|
13775
|
+
# resource path
|
13776
|
+
local_var_path = '/update-ldap-target-details'
|
13777
|
+
|
13778
|
+
# query parameters
|
13779
|
+
query_params = opts[:query_params] || {}
|
13780
|
+
|
13781
|
+
# header parameters
|
13782
|
+
header_params = opts[:header_params] || {}
|
13783
|
+
# HTTP header 'Accept' (if needed)
|
13784
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
13785
|
+
# HTTP header 'Content-Type'
|
13786
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
13787
|
+
if !content_type.nil?
|
13788
|
+
header_params['Content-Type'] = content_type
|
13789
|
+
end
|
13790
|
+
|
13791
|
+
# form parameters
|
13792
|
+
form_params = opts[:form_params] || {}
|
13793
|
+
|
13794
|
+
# http body (model)
|
13795
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
13796
|
+
|
13797
|
+
# return_type
|
13798
|
+
return_type = opts[:debug_return_type] || 'UpdateTargetOutput'
|
13799
|
+
|
13800
|
+
# auth_names
|
13801
|
+
auth_names = opts[:debug_auth_names] || []
|
13802
|
+
|
13803
|
+
new_options = opts.merge(
|
13804
|
+
:operation => :"V2Api.update_ldap_target_details",
|
13805
|
+
:header_params => header_params,
|
13806
|
+
:query_params => query_params,
|
13807
|
+
:form_params => form_params,
|
13808
|
+
:body => post_body,
|
13809
|
+
:auth_names => auth_names,
|
13810
|
+
:return_type => return_type
|
13811
|
+
)
|
13812
|
+
|
13813
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
13814
|
+
if @api_client.config.debugging
|
13815
|
+
@api_client.config.logger.debug "API called: V2Api#update_ldap_target_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
13816
|
+
end
|
13817
|
+
return data, status_code, headers
|
13818
|
+
end
|
13819
|
+
|
12168
13820
|
# @param body [UpdateNativeK8STarget]
|
12169
13821
|
# @param [Hash] opts the optional parameters
|
12170
|
-
# @return [
|
13822
|
+
# @return [UpdateNativeK8STargetOutput]
|
12171
13823
|
def update_native_k8_s_target(body, opts = {})
|
12172
13824
|
data, _status_code, _headers = update_native_k8_s_target_with_http_info(body, opts)
|
12173
13825
|
data
|
@@ -12175,7 +13827,7 @@ module Akeyless
|
|
12175
13827
|
|
12176
13828
|
# @param body [UpdateNativeK8STarget]
|
12177
13829
|
# @param [Hash] opts the optional parameters
|
12178
|
-
# @return [Array<(
|
13830
|
+
# @return [Array<(UpdateNativeK8STargetOutput, Integer, Hash)>] UpdateNativeK8STargetOutput data, response status code and response headers
|
12179
13831
|
def update_native_k8_s_target_with_http_info(body, opts = {})
|
12180
13832
|
if @api_client.config.debugging
|
12181
13833
|
@api_client.config.logger.debug 'Calling API: V2Api.update_native_k8_s_target ...'
|
@@ -12207,7 +13859,7 @@ module Akeyless
|
|
12207
13859
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
12208
13860
|
|
12209
13861
|
# return_type
|
12210
|
-
return_type = opts[:debug_return_type] || '
|
13862
|
+
return_type = opts[:debug_return_type] || 'UpdateNativeK8STargetOutput'
|
12211
13863
|
|
12212
13864
|
# auth_names
|
12213
13865
|
auth_names = opts[:debug_auth_names] || []
|
@@ -12666,6 +14318,70 @@ module Akeyless
|
|
12666
14318
|
return data, status_code, headers
|
12667
14319
|
end
|
12668
14320
|
|
14321
|
+
# @param body [UpdateSalesforceTarget]
|
14322
|
+
# @param [Hash] opts the optional parameters
|
14323
|
+
# @return [UpdateSalesforceTargetOutput]
|
14324
|
+
def update_salesforce_target(body, opts = {})
|
14325
|
+
data, _status_code, _headers = update_salesforce_target_with_http_info(body, opts)
|
14326
|
+
data
|
14327
|
+
end
|
14328
|
+
|
14329
|
+
# @param body [UpdateSalesforceTarget]
|
14330
|
+
# @param [Hash] opts the optional parameters
|
14331
|
+
# @return [Array<(UpdateSalesforceTargetOutput, Integer, Hash)>] UpdateSalesforceTargetOutput data, response status code and response headers
|
14332
|
+
def update_salesforce_target_with_http_info(body, opts = {})
|
14333
|
+
if @api_client.config.debugging
|
14334
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_salesforce_target ...'
|
14335
|
+
end
|
14336
|
+
# verify the required parameter 'body' is set
|
14337
|
+
if @api_client.config.client_side_validation && body.nil?
|
14338
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_salesforce_target"
|
14339
|
+
end
|
14340
|
+
# resource path
|
14341
|
+
local_var_path = '/update-salesforce-target'
|
14342
|
+
|
14343
|
+
# query parameters
|
14344
|
+
query_params = opts[:query_params] || {}
|
14345
|
+
|
14346
|
+
# header parameters
|
14347
|
+
header_params = opts[:header_params] || {}
|
14348
|
+
# HTTP header 'Accept' (if needed)
|
14349
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
14350
|
+
# HTTP header 'Content-Type'
|
14351
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
14352
|
+
if !content_type.nil?
|
14353
|
+
header_params['Content-Type'] = content_type
|
14354
|
+
end
|
14355
|
+
|
14356
|
+
# form parameters
|
14357
|
+
form_params = opts[:form_params] || {}
|
14358
|
+
|
14359
|
+
# http body (model)
|
14360
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
14361
|
+
|
14362
|
+
# return_type
|
14363
|
+
return_type = opts[:debug_return_type] || 'UpdateSalesforceTargetOutput'
|
14364
|
+
|
14365
|
+
# auth_names
|
14366
|
+
auth_names = opts[:debug_auth_names] || []
|
14367
|
+
|
14368
|
+
new_options = opts.merge(
|
14369
|
+
:operation => :"V2Api.update_salesforce_target",
|
14370
|
+
:header_params => header_params,
|
14371
|
+
:query_params => query_params,
|
14372
|
+
:form_params => form_params,
|
14373
|
+
:body => post_body,
|
14374
|
+
:auth_names => auth_names,
|
14375
|
+
:return_type => return_type
|
14376
|
+
)
|
14377
|
+
|
14378
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
14379
|
+
if @api_client.config.debugging
|
14380
|
+
@api_client.config.logger.debug "API called: V2Api#update_salesforce_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
14381
|
+
end
|
14382
|
+
return data, status_code, headers
|
14383
|
+
end
|
14384
|
+
|
12669
14385
|
# @param body [UpdateSecretVal]
|
12670
14386
|
# @param [Hash] opts the optional parameters
|
12671
14387
|
# @return [UpdateSecretValOutput]
|
@@ -12986,7 +14702,7 @@ module Akeyless
|
|
12986
14702
|
return data, status_code, headers
|
12987
14703
|
end
|
12988
14704
|
|
12989
|
-
# @param body [
|
14705
|
+
# @param body [UpdateTargetDetails]
|
12990
14706
|
# @param [Hash] opts the optional parameters
|
12991
14707
|
# @return [UpdateTargetOutput]
|
12992
14708
|
def update_target_details(body, opts = {})
|
@@ -12994,7 +14710,7 @@ module Akeyless
|
|
12994
14710
|
data
|
12995
14711
|
end
|
12996
14712
|
|
12997
|
-
# @param body [
|
14713
|
+
# @param body [UpdateTargetDetails]
|
12998
14714
|
# @param [Hash] opts the optional parameters
|
12999
14715
|
# @return [Array<(UpdateTargetOutput, Integer, Hash)>] UpdateTargetOutput data, response status code and response headers
|
13000
14716
|
def update_target_details_with_http_info(body, opts = {})
|