akeyless 5.0.39 → 5.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +190 -0
- data/README.md +34 -1
- data/akeyless.gemspec +1 -1
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/AliCloudTargetDetails.md +28 -0
- data/docs/AnthropicTargetDetails.md +15 -1
- data/docs/AssocTargetItem.md +12 -0
- data/docs/AtlassianTargetDetails.md +46 -0
- data/docs/Auth.md +2 -0
- data/docs/AuthMethod.md +2 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateAliCloud.md +2 -0
- data/docs/AuthMethodCreateApiKey.md +2 -0
- data/docs/AuthMethodCreateAwsIam.md +2 -0
- data/docs/AuthMethodCreateAzureAD.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateEmail.md +2 -0
- data/docs/AuthMethodCreateGcp.md +2 -0
- data/docs/AuthMethodCreateK8s.md +2 -0
- data/docs/AuthMethodCreateKerberos.md +2 -0
- data/docs/AuthMethodCreateLdap.md +2 -0
- data/docs/AuthMethodCreateOCI.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +10 -0
- data/docs/AuthMethodCreateOauth2.md +2 -0
- data/docs/AuthMethodCreateOutput.md +3 -1
- data/docs/AuthMethodCreateSAML.md +10 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +3 -1
- data/docs/AuthMethodList.md +2 -0
- data/docs/AuthMethodUpdateAliCloud.md +2 -0
- data/docs/AuthMethodUpdateApiKey.md +2 -0
- data/docs/AuthMethodUpdateAwsIam.md +2 -0
- data/docs/AuthMethodUpdateAzureAD.md +2 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateEmail.md +2 -0
- data/docs/AuthMethodUpdateGcp.md +2 -0
- data/docs/AuthMethodUpdateK8s.md +2 -0
- data/docs/AuthMethodUpdateKerberos.md +2 -0
- data/docs/AuthMethodUpdateLdap.md +2 -0
- data/docs/AuthMethodUpdateOCI.md +2 -0
- data/docs/AuthMethodUpdateOIDC.md +10 -0
- data/docs/AuthMethodUpdateOauth2.md +2 -0
- data/docs/AuthMethodUpdateOutput.md +3 -1
- data/docs/AuthMethodUpdateSAML.md +10 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +3 -1
- data/docs/CacheConfigPart.md +2 -0
- data/docs/Connect.md +1 -1
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +2 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOCI.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +3 -1
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateUSC.md +2 -0
- data/docs/DSProducerDetails.md +28 -0
- data/docs/DigiCertTargetDetails.md +2 -0
- data/docs/DynamicSecretCreateAliCloud.md +94 -0
- data/docs/DynamicSecretCreateEks.md +3 -1
- data/docs/DynamicSecretCreateGke.md +3 -1
- data/docs/DynamicSecretCreateK8s.md +3 -1
- data/docs/DynamicSecretUpdateAliCloud.md +96 -0
- data/docs/DynamicSecretUpdateEks.md +3 -1
- data/docs/DynamicSecretUpdateGke.md +3 -1
- data/docs/DynamicSecretUpdateK8s.md +3 -1
- data/docs/EventForwarderCreateEmail.md +2 -2
- data/docs/EventForwarderCreateServiceNow.md +1 -1
- data/docs/EventForwarderCreateSlack.md +1 -1
- data/docs/EventForwarderCreateTeams.md +1 -1
- data/docs/EventForwarderCreateWebhook.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +2 -2
- data/docs/EventForwarderUpdateServiceNow.md +1 -1
- data/docs/EventForwarderUpdateSlack.md +1 -1
- data/docs/EventForwarderUpdateTeams.md +1 -1
- data/docs/EventForwarderUpdateWebhook.md +1 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerEks.md +3 -1
- data/docs/GatewayCreateProducerGke.md +3 -1
- data/docs/GatewayCreateProducerNativeK8S.md +3 -1
- data/docs/GatewayUpdateCache.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerEks.md +3 -1
- data/docs/GatewayUpdateProducerGke.md +3 -1
- data/docs/GatewayUpdateProducerNativeK8S.md +3 -1
- data/docs/GetGroupOutput.md +13 -1
- data/docs/GetScimStatus.md +24 -0
- data/docs/GrantedRole.md +20 -0
- data/docs/Group.md +13 -1
- data/docs/ListAuthMethods.md +2 -0
- data/docs/ListTargets.md +1 -1
- data/docs/ProvisionCertificate.md +2 -0
- data/docs/ProvisionCertificateOutput.md +7 -1
- data/docs/ProvisionSSHRotatedSecretOutput.md +24 -0
- data/docs/RotatedSecretCreateAliCloud.md +90 -0
- data/docs/RotatedSecretCreateAzure.md +1 -1
- data/docs/RotatedSecretDetailsInfo.md +2 -0
- data/docs/RotatedSecretProvisionAssocOutput.md +20 -0
- data/docs/RotatedSecretProvisionCreate.md +36 -0
- data/docs/RotatedSecretProvisionDelete.md +26 -0
- data/docs/RotatedSecretProvisionPush.md +26 -0
- data/docs/RotatedSecretProvisionUpdate.md +38 -0
- data/docs/RotatedSecretUpdateAliCloud.md +92 -0
- data/docs/RotatedSecretUpdateAzure.md +1 -1
- data/docs/ScimSettings.md +30 -0
- data/docs/ScimStatus.md +42 -0
- data/docs/TargetCreateAliCloud.md +52 -0
- data/docs/TargetCreateAnthropic.md +15 -1
- data/docs/TargetCreateAtlassian.md +68 -0
- data/docs/TargetCreateDigiCert.md +2 -0
- data/docs/TargetList.md +1 -1
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateAliCloud.md +56 -0
- data/docs/TargetUpdateAnthropic.md +15 -1
- data/docs/TargetUpdateAtlassian.md +72 -0
- data/docs/TargetUpdateDigiCert.md +2 -0
- data/docs/UpdateAccountSettings.md +2 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +2 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOCI.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +3 -1
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UscCreate.md +3 -1
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscList.md +4 -0
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +826 -6
- data/lib/akeyless/api/v2_api.rb +892 -60
- data/lib/akeyless/models/account_general_settings.rb +23 -1
- data/lib/akeyless/models/ali_cloud_target_details.rb +259 -0
- data/lib/akeyless/models/anthropic_target_details.rb +74 -4
- data/lib/akeyless/models/assoc_target_item.rb +63 -1
- data/lib/akeyless/models/atlassian_target_details.rb +346 -0
- data/lib/akeyless/models/attribute_type_and_value.rb +1 -1
- data/lib/akeyless/models/auth.rb +11 -1
- data/lib/akeyless/models/auth_method.rb +10 -1
- data/lib/akeyless/models/auth_method_access_info.rb +10 -1
- data/lib/akeyless/models/auth_method_create_ali_cloud.rb +11 -1
- data/lib/akeyless/models/auth_method_create_api_key.rb +11 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +11 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +11 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_create_email.rb +11 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +11 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +11 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +11 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +11 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +51 -1
- data/lib/akeyless/models/auth_method_create_output.rb +14 -4
- data/lib/akeyless/models/auth_method_create_saml.rb +51 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -2
- data/lib/akeyless/models/auth_method_list.rb +11 -1
- data/lib/akeyless/models/auth_method_update_ali_cloud.rb +11 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +11 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +11 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +11 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_update_email.rb +11 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +11 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +11 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +11 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +11 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +51 -1
- data/lib/akeyless/models/auth_method_update_output.rb +14 -4
- data/lib/akeyless/models/auth_method_update_saml.rb +51 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -2
- data/lib/akeyless/models/cache_config_part.rb +10 -1
- data/lib/akeyless/models/connect.rb +1 -1
- data/lib/akeyless/models/create_auth_method.rb +12 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/create_auth_method_email.rb +12 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +13 -2
- data/lib/akeyless/models/create_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_mcp_secret_bearer_token.rb +3 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_auth_code.rb +3 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_client_creds.rb +3 -0
- data/lib/akeyless/models/create_secret.rb +3 -0
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +11 -1
- data/lib/akeyless/models/ds_producer_details.rb +127 -1
- data/lib/akeyless/models/dynamic_secret_create_ali_cloud.rb +625 -0
- data/lib/akeyless/models/dynamic_secret_create_eks.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_create_gke.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_ali_cloud.rb +635 -0
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +12 -2
- data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
- data/lib/akeyless/models/gateway_create_migration.rb +12 -1
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_aws.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_azure.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_chef.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_custom.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_eks.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_github.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_gke.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_ping.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_redis.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_venafi.rb +4 -0
- data/lib/akeyless/models/gateway_delete_producer.rb +4 -0
- data/lib/akeyless/models/gateway_get_producer.rb +4 -0
- data/lib/akeyless/models/gateway_get_tmp_users.rb +4 -0
- data/lib/akeyless/models/gateway_revoke_tmp_users.rb +4 -0
- data/lib/akeyless/models/gateway_start_producer.rb +4 -0
- data/lib/akeyless/models/gateway_stop_producer.rb +4 -0
- data/lib/akeyless/models/gateway_update_cache.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +12 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_aws.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_azure.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_chef.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_custom.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_eks.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_github.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_gke.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_ping.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_redis.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_venafi.rb +4 -0
- data/lib/akeyless/models/gateway_update_tmp_users.rb +4 -0
- data/lib/akeyless/models/get_group_output.rb +63 -4
- data/lib/akeyless/models/get_scim_status.rb +254 -0
- data/lib/akeyless/models/granted_role.rb +224 -0
- data/lib/akeyless/models/group.rb +63 -4
- data/lib/akeyless/models/list_auth_methods.rb +11 -1
- data/lib/akeyless/models/list_targets.rb +1 -1
- data/lib/akeyless/models/provision_certificate.rb +12 -1
- data/lib/akeyless/models/provision_certificate_output.rb +35 -4
- data/lib/akeyless/models/provision_ssh_rotated_secret_output.rb +243 -0
- data/lib/akeyless/models/rotated_secret_create_ali_cloud.rb +605 -0
- data/lib/akeyless/models/rotated_secret_create_azure.rb +1 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +11 -1
- data/lib/akeyless/models/rotated_secret_provision_assoc_output.rb +223 -0
- data/lib/akeyless/models/rotated_secret_provision_create.rb +322 -0
- data/lib/akeyless/models/rotated_secret_provision_delete.rb +271 -0
- data/lib/akeyless/models/rotated_secret_provision_push.rb +271 -0
- data/lib/akeyless/models/rotated_secret_provision_update.rb +332 -0
- data/lib/akeyless/models/rotated_secret_update_ali_cloud.rb +605 -0
- data/lib/akeyless/models/rotated_secret_update_azure.rb +1 -1
- data/lib/akeyless/models/scim_settings.rb +271 -0
- data/lib/akeyless/models/scim_status.rb +323 -0
- data/lib/akeyless/models/target_create_ali_cloud.rb +394 -0
- data/lib/akeyless/models/target_create_anthropic.rb +74 -4
- data/lib/akeyless/models/target_create_atlassian.rb +476 -0
- data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
- data/lib/akeyless/models/target_list.rb +1 -1
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_ali_cloud.rb +414 -0
- data/lib/akeyless/models/target_update_anthropic.rb +74 -4
- data/lib/akeyless/models/target_update_atlassian.rb +496 -0
- data/lib/akeyless/models/target_update_digi_cert.rb +11 -1
- data/lib/akeyless/models/update_account_settings.rb +11 -1
- data/lib/akeyless/models/update_auth_method.rb +12 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +13 -2
- data/lib/akeyless/models/update_item.rb +23 -2
- data/lib/akeyless/models/update_mcp_secret_bearer_token.rb +3 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_auth_code.rb +3 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_client_creds.rb +3 -0
- data/lib/akeyless/models/update_rotated_secret.rb +20 -2
- data/lib/akeyless/models/usc_create.rb +12 -2
- data/lib/akeyless/models/usc_delete.rb +21 -1
- data/lib/akeyless/models/usc_get.rb +21 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_update.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +20 -0
- data/spec/models/ali_cloud_target_details_spec.rb +66 -0
- data/spec/models/atlassian_target_details_spec.rb +120 -0
- data/spec/models/dynamic_secret_create_ali_cloud_spec.rb +264 -0
- data/spec/models/dynamic_secret_update_ali_cloud_spec.rb +270 -0
- data/spec/models/get_scim_status_spec.rb +54 -0
- data/spec/models/granted_role_spec.rb +42 -0
- data/spec/models/provision_ssh_rotated_secret_output_spec.rb +54 -0
- data/spec/models/rotated_secret_create_ali_cloud_spec.rb +252 -0
- data/spec/models/rotated_secret_provision_assoc_output_spec.rb +42 -0
- data/spec/models/rotated_secret_provision_create_spec.rb +90 -0
- data/spec/models/rotated_secret_provision_delete_spec.rb +60 -0
- data/spec/models/rotated_secret_provision_push_spec.rb +60 -0
- data/spec/models/rotated_secret_provision_update_spec.rb +96 -0
- data/spec/models/rotated_secret_update_ali_cloud_spec.rb +258 -0
- data/spec/models/scim_settings_spec.rb +72 -0
- data/spec/models/scim_status_spec.rb +108 -0
- data/spec/models/target_create_ali_cloud_spec.rb +138 -0
- data/spec/models/target_create_atlassian_spec.rb +186 -0
- data/spec/models/target_update_ali_cloud_spec.rb +150 -0
- data/spec/models/target_update_atlassian_spec.rb +198 -0
- metadata +96 -15
|
@@ -28,7 +28,7 @@ module Akeyless
|
|
|
28
28
|
# A CIDR whitelist with the IPs that the access is restricted to
|
|
29
29
|
attr_accessor :bound_ips
|
|
30
30
|
|
|
31
|
-
# Maximum child token ttl allowed in uid-create-child-token
|
|
31
|
+
# Maximum child token ttl allowed in uid-create-child-token. A struct tag cannot hold a constant, so dft must stay equal to types.UniversalIdentityDefaultTTLChildLimit
|
|
32
32
|
attr_accessor :child_ttl_limit
|
|
33
33
|
|
|
34
34
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -64,6 +64,9 @@ module Akeyless
|
|
|
64
64
|
# Auth Method new name
|
|
65
65
|
attr_accessor :new_name
|
|
66
66
|
|
|
67
|
+
# Auth Method owner (free text, up to 255 characters). On update, omit to keep the current owner and pass an empty value to clear it
|
|
68
|
+
attr_accessor :owner
|
|
69
|
+
|
|
67
70
|
# Choose the relevant product type for the auth method [sm, sra, pm, dp, ca, ara]
|
|
68
71
|
attr_accessor :product_type
|
|
69
72
|
|
|
@@ -101,6 +104,7 @@ module Akeyless
|
|
|
101
104
|
:'jwt_ttl' => :'jwt-ttl',
|
|
102
105
|
:'name' => :'name',
|
|
103
106
|
:'new_name' => :'new-name',
|
|
107
|
+
:'owner' => :'owner',
|
|
104
108
|
:'product_type' => :'product-type',
|
|
105
109
|
:'token' => :'token',
|
|
106
110
|
:'tree_length' => :'tree-length',
|
|
@@ -134,6 +138,7 @@ module Akeyless
|
|
|
134
138
|
:'jwt_ttl' => :'Integer',
|
|
135
139
|
:'name' => :'String',
|
|
136
140
|
:'new_name' => :'String',
|
|
141
|
+
:'owner' => :'String',
|
|
137
142
|
:'product_type' => :'Array<String>',
|
|
138
143
|
:'token' => :'String',
|
|
139
144
|
:'tree_length' => :'Integer',
|
|
@@ -146,6 +151,7 @@ module Akeyless
|
|
|
146
151
|
# List of attributes with nullable: true
|
|
147
152
|
def self.openapi_nullable
|
|
148
153
|
Set.new([
|
|
154
|
+
:'owner',
|
|
149
155
|
])
|
|
150
156
|
end
|
|
151
157
|
|
|
@@ -248,6 +254,10 @@ module Akeyless
|
|
|
248
254
|
self.new_name = attributes[:'new_name']
|
|
249
255
|
end
|
|
250
256
|
|
|
257
|
+
if attributes.key?(:'owner')
|
|
258
|
+
self.owner = attributes[:'owner']
|
|
259
|
+
end
|
|
260
|
+
|
|
251
261
|
if attributes.key?(:'product_type')
|
|
252
262
|
if (value = attributes[:'product_type']).is_a?(Array)
|
|
253
263
|
self.product_type = value
|
|
@@ -322,6 +332,7 @@ module Akeyless
|
|
|
322
332
|
jwt_ttl == o.jwt_ttl &&
|
|
323
333
|
name == o.name &&
|
|
324
334
|
new_name == o.new_name &&
|
|
335
|
+
owner == o.owner &&
|
|
325
336
|
product_type == o.product_type &&
|
|
326
337
|
token == o.token &&
|
|
327
338
|
tree_length == o.tree_length &&
|
|
@@ -339,7 +350,7 @@ module Akeyless
|
|
|
339
350
|
# Calculates hash code according to all attributes.
|
|
340
351
|
# @return [Integer] Hash code
|
|
341
352
|
def hash
|
|
342
|
-
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, child_ttl_limit, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, tree_length, ttl, uid_expiration_event_at, uid_token].hash
|
|
353
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, child_ttl_limit, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, owner, product_type, token, tree_length, ttl, uid_expiration_event_at, uid_token].hash
|
|
343
354
|
end
|
|
344
355
|
|
|
345
356
|
# Builds the object from hash
|
|
@@ -103,9 +103,12 @@ module Akeyless
|
|
|
103
103
|
# Allow providing external user for a domain users [true/false]
|
|
104
104
|
attr_accessor :secure_access_allow_external_user
|
|
105
105
|
|
|
106
|
-
#
|
|
106
|
+
# Deprecated: old misspelled param, kept for backwards-compatibility. Hidden from help; use secure-access-allow-port-forwarding instead.
|
|
107
107
|
attr_accessor :secure_access_allow_port_forwading
|
|
108
108
|
|
|
109
|
+
# Enable Port forwarding while using CLI access (relevant only for EKS/GKE/K8s Dynamic-Secret)
|
|
110
|
+
attr_accessor :secure_access_allow_port_forwarding
|
|
111
|
+
|
|
109
112
|
# Bastion's SSH control API endpoint. E.g. https://my.sra-server:9900 (relevant only for ssh cert issuer)
|
|
110
113
|
attr_accessor :secure_access_api
|
|
111
114
|
|
|
@@ -238,6 +241,7 @@ module Akeyless
|
|
|
238
241
|
:'secure_access_add_host' => :'secure-access-add-host',
|
|
239
242
|
:'secure_access_allow_external_user' => :'secure-access-allow-external-user',
|
|
240
243
|
:'secure_access_allow_port_forwading' => :'secure-access-allow-port-forwading',
|
|
244
|
+
:'secure_access_allow_port_forwarding' => :'secure-access-allow-port-forwarding',
|
|
241
245
|
:'secure_access_api' => :'secure-access-api',
|
|
242
246
|
:'secure_access_aws_account_id' => :'secure-access-aws-account-id',
|
|
243
247
|
:'secure_access_aws_native_cli' => :'secure-access-aws-native-cli',
|
|
@@ -313,6 +317,7 @@ module Akeyless
|
|
|
313
317
|
:'secure_access_add_host' => :'Array<String>',
|
|
314
318
|
:'secure_access_allow_external_user' => :'String',
|
|
315
319
|
:'secure_access_allow_port_forwading' => :'Boolean',
|
|
320
|
+
:'secure_access_allow_port_forwarding' => :'Boolean',
|
|
316
321
|
:'secure_access_api' => :'String',
|
|
317
322
|
:'secure_access_aws_account_id' => :'String',
|
|
318
323
|
:'secure_access_aws_native_cli' => :'Boolean',
|
|
@@ -352,6 +357,17 @@ module Akeyless
|
|
|
352
357
|
# List of attributes with nullable: true
|
|
353
358
|
def self.openapi_nullable
|
|
354
359
|
Set.new([
|
|
360
|
+
:'ara_enabled',
|
|
361
|
+
:'enable_agentic_runtime_authority',
|
|
362
|
+
:'enable_ai_quorum',
|
|
363
|
+
:'secure_access_allow_port_forwading',
|
|
364
|
+
:'secure_access_allow_port_forwarding',
|
|
365
|
+
:'secure_access_aws_native_cli',
|
|
366
|
+
:'secure_access_enforce_hosts_restriction',
|
|
367
|
+
:'secure_access_use_internal_bastion',
|
|
368
|
+
:'secure_access_use_internal_ssh_access',
|
|
369
|
+
:'secure_access_web_browsing',
|
|
370
|
+
:'secure_access_web_proxy',
|
|
355
371
|
])
|
|
356
372
|
end
|
|
357
373
|
|
|
@@ -518,6 +534,10 @@ module Akeyless
|
|
|
518
534
|
self.secure_access_allow_port_forwading = attributes[:'secure_access_allow_port_forwading']
|
|
519
535
|
end
|
|
520
536
|
|
|
537
|
+
if attributes.key?(:'secure_access_allow_port_forwarding')
|
|
538
|
+
self.secure_access_allow_port_forwarding = attributes[:'secure_access_allow_port_forwarding']
|
|
539
|
+
end
|
|
540
|
+
|
|
521
541
|
if attributes.key?(:'secure_access_api')
|
|
522
542
|
self.secure_access_api = attributes[:'secure_access_api']
|
|
523
543
|
end
|
|
@@ -713,6 +733,7 @@ module Akeyless
|
|
|
713
733
|
secure_access_add_host == o.secure_access_add_host &&
|
|
714
734
|
secure_access_allow_external_user == o.secure_access_allow_external_user &&
|
|
715
735
|
secure_access_allow_port_forwading == o.secure_access_allow_port_forwading &&
|
|
736
|
+
secure_access_allow_port_forwarding == o.secure_access_allow_port_forwarding &&
|
|
716
737
|
secure_access_api == o.secure_access_api &&
|
|
717
738
|
secure_access_aws_account_id == o.secure_access_aws_account_id &&
|
|
718
739
|
secure_access_aws_native_cli == o.secure_access_aws_native_cli &&
|
|
@@ -757,7 +778,7 @@ module Akeyless
|
|
|
757
778
|
# Calculates hash code according to all attributes.
|
|
758
779
|
# @return [Integer] Hash code
|
|
759
780
|
def hash
|
|
760
|
-
[provider_type, accessibility, add_tag, ara_enabled, cert_file_data, certificate_format, change_event, delete_protection, description, enable_agentic_runtime_authority, enable_ai_quorum, expiration_event_in, gcp_sm_regions, host_provider, input_rule, item_custom_fields, json, lock_during_sra_session, lock_on_read, lock_ttl, max_versions, name, new_metadata, new_name, output_rule, rm_tag, rotate_after_disconnect, rotate_on_unlock, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_enforce_hosts_restriction, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, target, token, uid_token, usc_tags, use_tags_as_filter].hash
|
|
781
|
+
[provider_type, accessibility, add_tag, ara_enabled, cert_file_data, certificate_format, change_event, delete_protection, description, enable_agentic_runtime_authority, enable_ai_quorum, expiration_event_in, gcp_sm_regions, host_provider, input_rule, item_custom_fields, json, lock_during_sra_session, lock_on_read, lock_ttl, max_versions, name, new_metadata, new_name, output_rule, rm_tag, rotate_after_disconnect, rotate_on_unlock, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_allow_port_forwarding, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_enforce_hosts_restriction, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, target, token, uid_token, usc_tags, use_tags_as_filter].hash
|
|
761
782
|
end
|
|
762
783
|
|
|
763
784
|
# Builds the object from hash
|
|
@@ -111,9 +111,12 @@ module Akeyless
|
|
|
111
111
|
# Allow providing external user for a domain users [true/false]
|
|
112
112
|
attr_accessor :secure_access_allow_external_user
|
|
113
113
|
|
|
114
|
-
#
|
|
114
|
+
# Deprecated: old misspelled param, kept for backwards-compatibility. Hidden from help; use secure-access-allow-port-forwarding instead.
|
|
115
115
|
attr_accessor :secure_access_allow_port_forwading
|
|
116
116
|
|
|
117
|
+
# Enable Port forwarding while using CLI access (relevant only for EKS/GKE/K8s Dynamic-Secret)
|
|
118
|
+
attr_accessor :secure_access_allow_port_forwarding
|
|
119
|
+
|
|
117
120
|
# The AWS account id (relevant only for aws)
|
|
118
121
|
attr_accessor :secure_access_aws_account_id
|
|
119
122
|
|
|
@@ -228,6 +231,7 @@ module Akeyless
|
|
|
228
231
|
:'same_password' => :'same-password',
|
|
229
232
|
:'secure_access_allow_external_user' => :'secure-access-allow-external-user',
|
|
230
233
|
:'secure_access_allow_port_forwading' => :'secure-access-allow-port-forwading',
|
|
234
|
+
:'secure_access_allow_port_forwarding' => :'secure-access-allow-port-forwarding',
|
|
231
235
|
:'secure_access_aws_account_id' => :'secure-access-aws-account-id',
|
|
232
236
|
:'secure_access_aws_native_cli' => :'secure-access-aws-native-cli',
|
|
233
237
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
|
@@ -298,6 +302,7 @@ module Akeyless
|
|
|
298
302
|
:'same_password' => :'String',
|
|
299
303
|
:'secure_access_allow_external_user' => :'String',
|
|
300
304
|
:'secure_access_allow_port_forwading' => :'Boolean',
|
|
305
|
+
:'secure_access_allow_port_forwarding' => :'Boolean',
|
|
301
306
|
:'secure_access_aws_account_id' => :'String',
|
|
302
307
|
:'secure_access_aws_native_cli' => :'Boolean',
|
|
303
308
|
:'secure_access_bastion_issuer' => :'String',
|
|
@@ -330,6 +335,14 @@ module Akeyless
|
|
|
330
335
|
# List of attributes with nullable: true
|
|
331
336
|
def self.openapi_nullable
|
|
332
337
|
Set.new([
|
|
338
|
+
:'secure_access_allow_port_forwading',
|
|
339
|
+
:'secure_access_allow_port_forwarding',
|
|
340
|
+
:'secure_access_aws_native_cli',
|
|
341
|
+
:'secure_access_enforce_hosts_restriction',
|
|
342
|
+
:'secure_access_use_internal_bastion',
|
|
343
|
+
:'secure_access_use_internal_ssh_access',
|
|
344
|
+
:'secure_access_web_browsing',
|
|
345
|
+
:'secure_access_web_proxy',
|
|
333
346
|
])
|
|
334
347
|
end
|
|
335
348
|
|
|
@@ -494,6 +507,10 @@ module Akeyless
|
|
|
494
507
|
self.secure_access_allow_port_forwading = attributes[:'secure_access_allow_port_forwading']
|
|
495
508
|
end
|
|
496
509
|
|
|
510
|
+
if attributes.key?(:'secure_access_allow_port_forwarding')
|
|
511
|
+
self.secure_access_allow_port_forwarding = attributes[:'secure_access_allow_port_forwarding']
|
|
512
|
+
end
|
|
513
|
+
|
|
497
514
|
if attributes.key?(:'secure_access_aws_account_id')
|
|
498
515
|
self.secure_access_aws_account_id = attributes[:'secure_access_aws_account_id']
|
|
499
516
|
end
|
|
@@ -665,6 +682,7 @@ module Akeyless
|
|
|
665
682
|
same_password == o.same_password &&
|
|
666
683
|
secure_access_allow_external_user == o.secure_access_allow_external_user &&
|
|
667
684
|
secure_access_allow_port_forwading == o.secure_access_allow_port_forwading &&
|
|
685
|
+
secure_access_allow_port_forwarding == o.secure_access_allow_port_forwarding &&
|
|
668
686
|
secure_access_aws_account_id == o.secure_access_aws_account_id &&
|
|
669
687
|
secure_access_aws_native_cli == o.secure_access_aws_native_cli &&
|
|
670
688
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
|
@@ -702,7 +720,7 @@ module Akeyless
|
|
|
702
720
|
# Calculates hash code according to all attributes.
|
|
703
721
|
# @return [Integer] Hash code
|
|
704
722
|
def hash
|
|
705
|
-
[provider_type, add_tag, api_id, api_key, auto_rotate, aws_region, custom_payload, description, gcp_key, grace_rotation, host_provider, json, keep_prev_version, key, lock_during_sra_session, lock_on_read, lock_ttl, name, new_metadata, new_name, new_version, rm_tag, rotate_after_disconnect, rotate_on_unlock, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, same_password, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_enforce_hosts_restriction, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, target, token, uid_token, user_attribute, user_dn].hash
|
|
723
|
+
[provider_type, add_tag, api_id, api_key, auto_rotate, aws_region, custom_payload, description, gcp_key, grace_rotation, host_provider, json, keep_prev_version, key, lock_during_sra_session, lock_on_read, lock_ttl, name, new_metadata, new_name, new_version, rm_tag, rotate_after_disconnect, rotate_on_unlock, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, same_password, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_allow_port_forwarding, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_enforce_hosts_restriction, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, target, token, uid_token, user_attribute, user_dn].hash
|
|
706
724
|
end
|
|
707
725
|
|
|
708
726
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscCreate is a command that creates a new secret in a Universal Secrets Connector
|
|
18
18
|
class UscCreate
|
|
19
|
+
# The AWS account ID to create the secret in. Required when the connector spans multiple account IDs.
|
|
20
|
+
attr_accessor :aws_account_id
|
|
21
|
+
|
|
19
22
|
# Use this option if the universal secrets value is a base64 encoded binary
|
|
20
23
|
attr_accessor :binary_value
|
|
21
24
|
|
|
@@ -36,7 +39,7 @@ module Akeyless
|
|
|
36
39
|
# Optional, the passphrase that protects the private key within the pfx certificate (Relevant only for Azure KV certificates)
|
|
37
40
|
attr_accessor :pfx_password
|
|
38
41
|
|
|
39
|
-
#
|
|
42
|
+
# AWS Organization scope region or GCP regional secret location. GCP creates a global secret when empty.
|
|
40
43
|
attr_accessor :region
|
|
41
44
|
|
|
42
45
|
# Activation date for the secret on the remote endpoint, in UTC format: YYYY-MM-DDTHH:MM:SSZ
|
|
@@ -71,6 +74,7 @@ module Akeyless
|
|
|
71
74
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
72
75
|
def self.attribute_map
|
|
73
76
|
{
|
|
77
|
+
:'aws_account_id' => :'aws-account-id',
|
|
74
78
|
:'binary_value' => :'binary-value',
|
|
75
79
|
:'description' => :'description',
|
|
76
80
|
:'gcp_project_id' => :'gcp-project-id',
|
|
@@ -100,6 +104,7 @@ module Akeyless
|
|
|
100
104
|
# Attribute type mapping.
|
|
101
105
|
def self.openapi_types
|
|
102
106
|
{
|
|
107
|
+
:'aws_account_id' => :'String',
|
|
103
108
|
:'binary_value' => :'Boolean',
|
|
104
109
|
:'description' => :'String',
|
|
105
110
|
:'gcp_project_id' => :'String',
|
|
@@ -142,6 +147,10 @@ module Akeyless
|
|
|
142
147
|
h[k.to_sym] = v
|
|
143
148
|
}
|
|
144
149
|
|
|
150
|
+
if attributes.key?(:'aws_account_id')
|
|
151
|
+
self.aws_account_id = attributes[:'aws_account_id']
|
|
152
|
+
end
|
|
153
|
+
|
|
145
154
|
if attributes.key?(:'binary_value')
|
|
146
155
|
self.binary_value = attributes[:'binary_value']
|
|
147
156
|
end
|
|
@@ -260,6 +269,7 @@ module Akeyless
|
|
|
260
269
|
def ==(o)
|
|
261
270
|
return true if self.equal?(o)
|
|
262
271
|
self.class == o.class &&
|
|
272
|
+
aws_account_id == o.aws_account_id &&
|
|
263
273
|
binary_value == o.binary_value &&
|
|
264
274
|
description == o.description &&
|
|
265
275
|
gcp_project_id == o.gcp_project_id &&
|
|
@@ -289,7 +299,7 @@ module Akeyless
|
|
|
289
299
|
# Calculates hash code according to all attributes.
|
|
290
300
|
# @return [Integer] Hash code
|
|
291
301
|
def hash
|
|
292
|
-
[binary_value, description, gcp_project_id, json, namespace, object_type, pfx_password, region, remote_secret_activation_date, remote_secret_expires, secret_name, selected_repositories, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
302
|
+
[aws_account_id, binary_value, description, gcp_project_id, json, namespace, object_type, pfx_password, region, remote_secret_activation_date, remote_secret_expires, secret_name, selected_repositories, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
293
303
|
end
|
|
294
304
|
|
|
295
305
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscDelete is a command that deletes a secret from a Universal Secrets Connector
|
|
18
18
|
class UscDelete
|
|
19
|
+
# The AWS account ID that contains the secret. Required when the connector spans multiple account IDs.
|
|
20
|
+
attr_accessor :aws_account_id
|
|
21
|
+
|
|
19
22
|
# Force delete objects that are soft deleted by default (relavent only for Azure target)
|
|
20
23
|
attr_accessor :force_delete
|
|
21
24
|
|
|
@@ -27,6 +30,9 @@ module Akeyless
|
|
|
27
30
|
|
|
28
31
|
attr_accessor :object_type
|
|
29
32
|
|
|
33
|
+
# The AWS region that contains the secret (AWS only). If empty, uses the target region.
|
|
34
|
+
attr_accessor :region
|
|
35
|
+
|
|
30
36
|
# The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to delete
|
|
31
37
|
attr_accessor :secret_id
|
|
32
38
|
|
|
@@ -45,10 +51,12 @@ module Akeyless
|
|
|
45
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
52
|
def self.attribute_map
|
|
47
53
|
{
|
|
54
|
+
:'aws_account_id' => :'aws-account-id',
|
|
48
55
|
:'force_delete' => :'force-delete',
|
|
49
56
|
:'json' => :'json',
|
|
50
57
|
:'namespace' => :'namespace',
|
|
51
58
|
:'object_type' => :'object-type',
|
|
59
|
+
:'region' => :'region',
|
|
52
60
|
:'secret_id' => :'secret-id',
|
|
53
61
|
:'selected_repositories' => :'selected-repositories',
|
|
54
62
|
:'token' => :'token',
|
|
@@ -65,10 +73,12 @@ module Akeyless
|
|
|
65
73
|
# Attribute type mapping.
|
|
66
74
|
def self.openapi_types
|
|
67
75
|
{
|
|
76
|
+
:'aws_account_id' => :'String',
|
|
68
77
|
:'force_delete' => :'Boolean',
|
|
69
78
|
:'json' => :'Boolean',
|
|
70
79
|
:'namespace' => :'String',
|
|
71
80
|
:'object_type' => :'String',
|
|
81
|
+
:'region' => :'String',
|
|
72
82
|
:'secret_id' => :'String',
|
|
73
83
|
:'selected_repositories' => :'String',
|
|
74
84
|
:'token' => :'String',
|
|
@@ -98,6 +108,10 @@ module Akeyless
|
|
|
98
108
|
h[k.to_sym] = v
|
|
99
109
|
}
|
|
100
110
|
|
|
111
|
+
if attributes.key?(:'aws_account_id')
|
|
112
|
+
self.aws_account_id = attributes[:'aws_account_id']
|
|
113
|
+
end
|
|
114
|
+
|
|
101
115
|
if attributes.key?(:'force_delete')
|
|
102
116
|
self.force_delete = attributes[:'force_delete']
|
|
103
117
|
end
|
|
@@ -116,6 +130,10 @@ module Akeyless
|
|
|
116
130
|
self.object_type = attributes[:'object_type']
|
|
117
131
|
end
|
|
118
132
|
|
|
133
|
+
if attributes.key?(:'region')
|
|
134
|
+
self.region = attributes[:'region']
|
|
135
|
+
end
|
|
136
|
+
|
|
119
137
|
if attributes.key?(:'secret_id')
|
|
120
138
|
self.secret_id = attributes[:'secret_id']
|
|
121
139
|
else
|
|
@@ -171,10 +189,12 @@ module Akeyless
|
|
|
171
189
|
def ==(o)
|
|
172
190
|
return true if self.equal?(o)
|
|
173
191
|
self.class == o.class &&
|
|
192
|
+
aws_account_id == o.aws_account_id &&
|
|
174
193
|
force_delete == o.force_delete &&
|
|
175
194
|
json == o.json &&
|
|
176
195
|
namespace == o.namespace &&
|
|
177
196
|
object_type == o.object_type &&
|
|
197
|
+
region == o.region &&
|
|
178
198
|
secret_id == o.secret_id &&
|
|
179
199
|
selected_repositories == o.selected_repositories &&
|
|
180
200
|
token == o.token &&
|
|
@@ -191,7 +211,7 @@ module Akeyless
|
|
|
191
211
|
# Calculates hash code according to all attributes.
|
|
192
212
|
# @return [Integer] Hash code
|
|
193
213
|
def hash
|
|
194
|
-
[force_delete, json, namespace, object_type, secret_id, selected_repositories, token, uid_token, usc_name].hash
|
|
214
|
+
[aws_account_id, force_delete, json, namespace, object_type, region, secret_id, selected_repositories, token, uid_token, usc_name].hash
|
|
195
215
|
end
|
|
196
216
|
|
|
197
217
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscGet is a command that gets the value and internal details of a secret from a Universal Secrets Connector
|
|
18
18
|
class UscGet
|
|
19
|
+
# The AWS account ID that contains the secret. Required when the connector spans multiple account IDs.
|
|
20
|
+
attr_accessor :aws_account_id
|
|
21
|
+
|
|
19
22
|
# The GCP project the secret resides in (GCP only). Used when getting a secret by name in a connector that spans multiple projects or uses folder/organization scope.
|
|
20
23
|
attr_accessor :gcp_project_id
|
|
21
24
|
|
|
@@ -27,6 +30,9 @@ module Akeyless
|
|
|
27
30
|
|
|
28
31
|
attr_accessor :object_type
|
|
29
32
|
|
|
33
|
+
# The AWS region that contains the secret (AWS only). If empty, uses the target region.
|
|
34
|
+
attr_accessor :region
|
|
35
|
+
|
|
30
36
|
# The secret id (or name, for AWS, Azure, K8s or Hashi vault targets) to get from the Universal Secrets Connector
|
|
31
37
|
attr_accessor :secret_id
|
|
32
38
|
|
|
@@ -48,10 +54,12 @@ module Akeyless
|
|
|
48
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
55
|
def self.attribute_map
|
|
50
56
|
{
|
|
57
|
+
:'aws_account_id' => :'aws-account-id',
|
|
51
58
|
:'gcp_project_id' => :'gcp-project-id',
|
|
52
59
|
:'json' => :'json',
|
|
53
60
|
:'namespace' => :'namespace',
|
|
54
61
|
:'object_type' => :'object-type',
|
|
62
|
+
:'region' => :'region',
|
|
55
63
|
:'secret_id' => :'secret-id',
|
|
56
64
|
:'selected_repositories' => :'selected-repositories',
|
|
57
65
|
:'token' => :'token',
|
|
@@ -69,10 +77,12 @@ module Akeyless
|
|
|
69
77
|
# Attribute type mapping.
|
|
70
78
|
def self.openapi_types
|
|
71
79
|
{
|
|
80
|
+
:'aws_account_id' => :'String',
|
|
72
81
|
:'gcp_project_id' => :'String',
|
|
73
82
|
:'json' => :'Boolean',
|
|
74
83
|
:'namespace' => :'String',
|
|
75
84
|
:'object_type' => :'String',
|
|
85
|
+
:'region' => :'String',
|
|
76
86
|
:'secret_id' => :'String',
|
|
77
87
|
:'selected_repositories' => :'String',
|
|
78
88
|
:'token' => :'String',
|
|
@@ -103,6 +113,10 @@ module Akeyless
|
|
|
103
113
|
h[k.to_sym] = v
|
|
104
114
|
}
|
|
105
115
|
|
|
116
|
+
if attributes.key?(:'aws_account_id')
|
|
117
|
+
self.aws_account_id = attributes[:'aws_account_id']
|
|
118
|
+
end
|
|
119
|
+
|
|
106
120
|
if attributes.key?(:'gcp_project_id')
|
|
107
121
|
self.gcp_project_id = attributes[:'gcp_project_id']
|
|
108
122
|
end
|
|
@@ -121,6 +135,10 @@ module Akeyless
|
|
|
121
135
|
self.object_type = attributes[:'object_type']
|
|
122
136
|
end
|
|
123
137
|
|
|
138
|
+
if attributes.key?(:'region')
|
|
139
|
+
self.region = attributes[:'region']
|
|
140
|
+
end
|
|
141
|
+
|
|
124
142
|
if attributes.key?(:'secret_id')
|
|
125
143
|
self.secret_id = attributes[:'secret_id']
|
|
126
144
|
else
|
|
@@ -180,10 +198,12 @@ module Akeyless
|
|
|
180
198
|
def ==(o)
|
|
181
199
|
return true if self.equal?(o)
|
|
182
200
|
self.class == o.class &&
|
|
201
|
+
aws_account_id == o.aws_account_id &&
|
|
183
202
|
gcp_project_id == o.gcp_project_id &&
|
|
184
203
|
json == o.json &&
|
|
185
204
|
namespace == o.namespace &&
|
|
186
205
|
object_type == o.object_type &&
|
|
206
|
+
region == o.region &&
|
|
187
207
|
secret_id == o.secret_id &&
|
|
188
208
|
selected_repositories == o.selected_repositories &&
|
|
189
209
|
token == o.token &&
|
|
@@ -201,7 +221,7 @@ module Akeyless
|
|
|
201
221
|
# Calculates hash code according to all attributes.
|
|
202
222
|
# @return [Integer] Hash code
|
|
203
223
|
def hash
|
|
204
|
-
[gcp_project_id, json, namespace, object_type, secret_id, selected_repositories, token, uid_token, usc_name, version_id].hash
|
|
224
|
+
[aws_account_id, gcp_project_id, json, namespace, object_type, region, secret_id, selected_repositories, token, uid_token, usc_name, version_id].hash
|
|
205
225
|
end
|
|
206
226
|
|
|
207
227
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscList is a command that lists the secrets of a Universal Secrets Connector
|
|
18
18
|
class UscList
|
|
19
|
+
# The AWS account ID to list secrets from. Required when the connector spans multiple account IDs.
|
|
20
|
+
attr_accessor :aws_account_id
|
|
21
|
+
|
|
19
22
|
# The GCP project to list secrets from (GCP only). Required when the connector spans multiple projects or uses folder/organization scope.
|
|
20
23
|
attr_accessor :gcp_project_id
|
|
21
24
|
|
|
@@ -30,6 +33,9 @@ module Akeyless
|
|
|
30
33
|
# Optional: continuation token returned by a previous usc list --page-size call
|
|
31
34
|
attr_accessor :page_token
|
|
32
35
|
|
|
36
|
+
# The AWS region to list secrets from (AWS only). If empty, the target's region is used.
|
|
37
|
+
attr_accessor :region
|
|
38
|
+
|
|
33
39
|
# Search query used to match secret names and paths.
|
|
34
40
|
attr_accessor :search
|
|
35
41
|
|
|
@@ -45,11 +51,13 @@ module Akeyless
|
|
|
45
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
52
|
def self.attribute_map
|
|
47
53
|
{
|
|
54
|
+
:'aws_account_id' => :'aws-account-id',
|
|
48
55
|
:'gcp_project_id' => :'gcp-project-id',
|
|
49
56
|
:'json' => :'json',
|
|
50
57
|
:'object_type' => :'object-type',
|
|
51
58
|
:'page_size' => :'page-size',
|
|
52
59
|
:'page_token' => :'page-token',
|
|
60
|
+
:'region' => :'region',
|
|
53
61
|
:'search' => :'search',
|
|
54
62
|
:'token' => :'token',
|
|
55
63
|
:'uid_token' => :'uid-token',
|
|
@@ -65,11 +73,13 @@ module Akeyless
|
|
|
65
73
|
# Attribute type mapping.
|
|
66
74
|
def self.openapi_types
|
|
67
75
|
{
|
|
76
|
+
:'aws_account_id' => :'String',
|
|
68
77
|
:'gcp_project_id' => :'String',
|
|
69
78
|
:'json' => :'Boolean',
|
|
70
79
|
:'object_type' => :'String',
|
|
71
80
|
:'page_size' => :'Integer',
|
|
72
81
|
:'page_token' => :'String',
|
|
82
|
+
:'region' => :'String',
|
|
73
83
|
:'search' => :'String',
|
|
74
84
|
:'token' => :'String',
|
|
75
85
|
:'uid_token' => :'String',
|
|
@@ -98,6 +108,10 @@ module Akeyless
|
|
|
98
108
|
h[k.to_sym] = v
|
|
99
109
|
}
|
|
100
110
|
|
|
111
|
+
if attributes.key?(:'aws_account_id')
|
|
112
|
+
self.aws_account_id = attributes[:'aws_account_id']
|
|
113
|
+
end
|
|
114
|
+
|
|
101
115
|
if attributes.key?(:'gcp_project_id')
|
|
102
116
|
self.gcp_project_id = attributes[:'gcp_project_id']
|
|
103
117
|
end
|
|
@@ -120,6 +134,10 @@ module Akeyless
|
|
|
120
134
|
self.page_token = attributes[:'page_token']
|
|
121
135
|
end
|
|
122
136
|
|
|
137
|
+
if attributes.key?(:'region')
|
|
138
|
+
self.region = attributes[:'region']
|
|
139
|
+
end
|
|
140
|
+
|
|
123
141
|
if attributes.key?(:'search')
|
|
124
142
|
self.search = attributes[:'search']
|
|
125
143
|
end
|
|
@@ -164,11 +182,13 @@ module Akeyless
|
|
|
164
182
|
def ==(o)
|
|
165
183
|
return true if self.equal?(o)
|
|
166
184
|
self.class == o.class &&
|
|
185
|
+
aws_account_id == o.aws_account_id &&
|
|
167
186
|
gcp_project_id == o.gcp_project_id &&
|
|
168
187
|
json == o.json &&
|
|
169
188
|
object_type == o.object_type &&
|
|
170
189
|
page_size == o.page_size &&
|
|
171
190
|
page_token == o.page_token &&
|
|
191
|
+
region == o.region &&
|
|
172
192
|
search == o.search &&
|
|
173
193
|
token == o.token &&
|
|
174
194
|
uid_token == o.uid_token &&
|
|
@@ -184,7 +204,7 @@ module Akeyless
|
|
|
184
204
|
# Calculates hash code according to all attributes.
|
|
185
205
|
# @return [Integer] Hash code
|
|
186
206
|
def hash
|
|
187
|
-
[gcp_project_id, json, object_type, page_size, page_token, search, token, uid_token, usc_name].hash
|
|
207
|
+
[aws_account_id, gcp_project_id, json, object_type, page_size, page_token, region, search, token, uid_token, usc_name].hash
|
|
188
208
|
end
|
|
189
209
|
|
|
190
210
|
# Builds the object from hash
|