diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index d7e749bc..e562d7b3 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -18,6 +18,8 @@ docs/ActiveDirectoryPayload.md docs/AddGatewayAllowedAccessId.md docs/AdminsConfigPart.md docs/AkeylessGatewayConfig.md +docs/AliasDetails.md +docs/AliasDetailsOutput.md docs/AllAnalyticsData.md docs/AllowedAccess.md docs/AllowedAccessOld.md @@ -73,6 +75,8 @@ docs/BastionListEntry.md docs/BastionsList.md docs/BatchEncryptionRequestLine.md docs/BatchEncryptionResponseLine.md +docs/BatchTokenizationRequestLine.md +docs/BatchTokenizationResponseLine.md docs/CFConfigPart.md docs/CacheConfigPart.md docs/CertAccessRules.md @@ -773,6 +777,7 @@ docs/SSHCertificateIssueDetails.md docs/SSHTargetDetails.md docs/SalesforceTargetDetails.md docs/SecretInfo.md +docs/SectigoTargetDetails.md docs/SecureRemoteAccess.md docs/ServerInventoryMigration.md docs/ServerInventoryPayload.md @@ -826,6 +831,7 @@ docs/TargetCreateOutput.md docs/TargetCreatePing.md docs/TargetCreateRabbitMq.md docs/TargetCreateSalesforce.md +docs/TargetCreateSectigo.md docs/TargetCreateSsh.md docs/TargetCreateWeb.md docs/TargetCreateWindows.md @@ -859,6 +865,7 @@ docs/TargetUpdateOutput.md docs/TargetUpdatePing.md docs/TargetUpdateRabbitMq.md docs/TargetUpdateSalesforce.md +docs/TargetUpdateSectigo.md docs/TargetUpdateSsh.md docs/TargetUpdateWeb.md docs/TargetUpdateWindows.md @@ -1051,6 +1058,8 @@ src/main/java/io/akeyless/client/model/ActiveDirectoryPayload.java src/main/java/io/akeyless/client/model/AddGatewayAllowedAccessId.java src/main/java/io/akeyless/client/model/AdminsConfigPart.java src/main/java/io/akeyless/client/model/AkeylessGatewayConfig.java +src/main/java/io/akeyless/client/model/AliasDetails.java +src/main/java/io/akeyless/client/model/AliasDetailsOutput.java src/main/java/io/akeyless/client/model/AllAnalyticsData.java src/main/java/io/akeyless/client/model/AllowedAccess.java src/main/java/io/akeyless/client/model/AllowedAccessOld.java @@ -1106,6 +1115,8 @@ src/main/java/io/akeyless/client/model/BastionListEntry.java src/main/java/io/akeyless/client/model/BastionsList.java src/main/java/io/akeyless/client/model/BatchEncryptionRequestLine.java src/main/java/io/akeyless/client/model/BatchEncryptionResponseLine.java +src/main/java/io/akeyless/client/model/BatchTokenizationRequestLine.java +src/main/java/io/akeyless/client/model/BatchTokenizationResponseLine.java src/main/java/io/akeyless/client/model/CFConfigPart.java src/main/java/io/akeyless/client/model/CacheConfigPart.java src/main/java/io/akeyless/client/model/CertAccessRules.java @@ -1806,6 +1817,7 @@ src/main/java/io/akeyless/client/model/SSHCertificateIssueDetails.java src/main/java/io/akeyless/client/model/SSHTargetDetails.java src/main/java/io/akeyless/client/model/SalesforceTargetDetails.java src/main/java/io/akeyless/client/model/SecretInfo.java +src/main/java/io/akeyless/client/model/SectigoTargetDetails.java src/main/java/io/akeyless/client/model/SecureRemoteAccess.java src/main/java/io/akeyless/client/model/ServerInventoryMigration.java src/main/java/io/akeyless/client/model/ServerInventoryPayload.java @@ -1859,6 +1871,7 @@ src/main/java/io/akeyless/client/model/TargetCreateOutput.java src/main/java/io/akeyless/client/model/TargetCreatePing.java src/main/java/io/akeyless/client/model/TargetCreateRabbitMq.java src/main/java/io/akeyless/client/model/TargetCreateSalesforce.java +src/main/java/io/akeyless/client/model/TargetCreateSectigo.java src/main/java/io/akeyless/client/model/TargetCreateSsh.java src/main/java/io/akeyless/client/model/TargetCreateWeb.java src/main/java/io/akeyless/client/model/TargetCreateWindows.java @@ -1892,6 +1905,7 @@ src/main/java/io/akeyless/client/model/TargetUpdateOutput.java src/main/java/io/akeyless/client/model/TargetUpdatePing.java src/main/java/io/akeyless/client/model/TargetUpdateRabbitMq.java src/main/java/io/akeyless/client/model/TargetUpdateSalesforce.java +src/main/java/io/akeyless/client/model/TargetUpdateSectigo.java src/main/java/io/akeyless/client/model/TargetUpdateSsh.java src/main/java/io/akeyless/client/model/TargetUpdateWeb.java src/main/java/io/akeyless/client/model/TargetUpdateWindows.java @@ -2042,5 +2056,10 @@ src/main/java/io/akeyless/client/model/WindowsService.java src/main/java/io/akeyless/client/model/WindowsServiceAttributes.java src/main/java/io/akeyless/client/model/WindowsTargetDetails.java src/main/java/io/akeyless/client/model/ZeroSSLTargetDetails.java -src/test/java/io/akeyless/client/model/BatchEncryptionRequestLineTest.java -src/test/java/io/akeyless/client/model/BatchEncryptionResponseLineTest.java +src/test/java/io/akeyless/client/model/AliasDetailsOutputTest.java +src/test/java/io/akeyless/client/model/AliasDetailsTest.java +src/test/java/io/akeyless/client/model/BatchTokenizationRequestLineTest.java +src/test/java/io/akeyless/client/model/BatchTokenizationResponseLineTest.java +src/test/java/io/akeyless/client/model/SectigoTargetDetailsTest.java +src/test/java/io/akeyless/client/model/TargetCreateSectigoTest.java +src/test/java/io/akeyless/client/model/TargetUpdateSectigoTest.java diff --git a/README.md b/README.md index cee17466..3f641aa1 100644 --- a/README.md +++ b/README.md @@ -105,11 +105,12 @@ All URIs are relative to *https://api.akeyless.io* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- +*V2Api* | [**aliasDetails**](docs/V2Api.md#aliasDetails) | **GET** /alias-details | *V2Api* | [**assocRoleAuthMethod**](docs/V2Api.md#assocRoleAuthMethod) | **POST** /assoc-role-am | *V2Api* | [**assocTargetItem**](docs/V2Api.md#assocTargetItem) | **POST** /assoc-target-item | *V2Api* | [**auth**](docs/V2Api.md#auth) | **POST** /auth | *V2Api* | [**authMethodCreateApiKey**](docs/V2Api.md#authMethodCreateApiKey) | **POST** /auth-method-create-api-key | -*V2Api* | [**authMethodCreateAwsIam**](docs/V2Api.md#authMethodCreateAwsIam) | **POST** /auth-method-create-aws | +*V2Api* | [**authMethodCreateAwsIam**](docs/V2Api.md#authMethodCreateAwsIam) | **POST** /auth-method-create-aws-iam | *V2Api* | [**authMethodCreateAzureAD**](docs/V2Api.md#authMethodCreateAzureAD) | **POST** /auth-method-create-azure-ad | *V2Api* | [**authMethodCreateCert**](docs/V2Api.md#authMethodCreateCert) | **POST** /auth-method-create-cert | *V2Api* | [**authMethodCreateEmail**](docs/V2Api.md#authMethodCreateEmail) | **POST** /auth-method-create-email | @@ -220,6 +221,7 @@ Class | Method | HTTP request | Description *V2Api* | [**describePermissions**](docs/V2Api.md#describePermissions) | **POST** /describe-permissions | *V2Api* | [**describeSubClaims**](docs/V2Api.md#describeSubClaims) | **POST** /describe-sub-claims | *V2Api* | [**detokenize**](docs/V2Api.md#detokenize) | **POST** /detokenize | +*V2Api* | [**detokenizeBatch**](docs/V2Api.md#detokenizeBatch) | **POST** /detokenize-batch | *V2Api* | [**dynamicSecretCreateArtifactory**](docs/V2Api.md#dynamicSecretCreateArtifactory) | **POST** /dynamic-secret-create-artifactory | *V2Api* | [**dynamicSecretCreateAws**](docs/V2Api.md#dynamicSecretCreateAws) | **POST** /dynamic-secret-create-aws | *V2Api* | [**dynamicSecretCreateAzure**](docs/V2Api.md#dynamicSecretCreateAzure) | **POST** /dynamic-secret-create-azure | @@ -527,6 +529,7 @@ Class | Method | HTTP request | Description *V2Api* | [**targetCreatePing**](docs/V2Api.md#targetCreatePing) | **POST** /target-create-ping | *V2Api* | [**targetCreateRabbitMq**](docs/V2Api.md#targetCreateRabbitMq) | **POST** /target-create-rabbitmq | *V2Api* | [**targetCreateSalesforce**](docs/V2Api.md#targetCreateSalesforce) | **POST** /target-create-salesforce | +*V2Api* | [**targetCreateSectigo**](docs/V2Api.md#targetCreateSectigo) | **POST** /target-create-sectigo | *V2Api* | [**targetCreateSsh**](docs/V2Api.md#targetCreateSsh) | **POST** /target-create-ssh | *V2Api* | [**targetCreateWeb**](docs/V2Api.md#targetCreateWeb) | **POST** /target-create-web | *V2Api* | [**targetCreateWindows**](docs/V2Api.md#targetCreateWindows) | **POST** /target-create-windows | @@ -555,11 +558,13 @@ Class | Method | HTTP request | Description *V2Api* | [**targetUpdatePing**](docs/V2Api.md#targetUpdatePing) | **POST** /target-update-ping | *V2Api* | [**targetUpdateRabbitMq**](docs/V2Api.md#targetUpdateRabbitMq) | **POST** /target-update-rabbitmq | *V2Api* | [**targetUpdateSalesforce**](docs/V2Api.md#targetUpdateSalesforce) | **POST** /target-update-salesforce | +*V2Api* | [**targetUpdateSectigo**](docs/V2Api.md#targetUpdateSectigo) | **POST** /target-update-sectigo | *V2Api* | [**targetUpdateSsh**](docs/V2Api.md#targetUpdateSsh) | **POST** /target-update-ssh | *V2Api* | [**targetUpdateWeb**](docs/V2Api.md#targetUpdateWeb) | **POST** /target-update-web | *V2Api* | [**targetUpdateWindows**](docs/V2Api.md#targetUpdateWindows) | **POST** /target-update-windows | *V2Api* | [**targetUpdateZeroSSL**](docs/V2Api.md#targetUpdateZeroSSL) | **POST** /target-update-zerossl | *V2Api* | [**tokenize**](docs/V2Api.md#tokenize) | **POST** /tokenize | +*V2Api* | [**tokenizeBatch**](docs/V2Api.md#tokenizeBatch) | **POST** /tokenize-batch | *V2Api* | [**uidCreateChildToken**](docs/V2Api.md#uidCreateChildToken) | **POST** /uid-create-child-token | *V2Api* | [**uidGenerateToken**](docs/V2Api.md#uidGenerateToken) | **POST** /uid-generate-token | *V2Api* | [**uidListChildren**](docs/V2Api.md#uidListChildren) | **POST** /uid-list-children | @@ -656,6 +661,8 @@ Class | Method | HTTP request | Description - [AddGatewayAllowedAccessId](docs/AddGatewayAllowedAccessId.md) - [AdminsConfigPart](docs/AdminsConfigPart.md) - [AkeylessGatewayConfig](docs/AkeylessGatewayConfig.md) + - [AliasDetails](docs/AliasDetails.md) + - [AliasDetailsOutput](docs/AliasDetailsOutput.md) - [AllAnalyticsData](docs/AllAnalyticsData.md) - [AllowedAccess](docs/AllowedAccess.md) - [AllowedAccessOld](docs/AllowedAccessOld.md) @@ -711,6 +718,8 @@ Class | Method | HTTP request | Description - [BastionsList](docs/BastionsList.md) - [BatchEncryptionRequestLine](docs/BatchEncryptionRequestLine.md) - [BatchEncryptionResponseLine](docs/BatchEncryptionResponseLine.md) + - [BatchTokenizationRequestLine](docs/BatchTokenizationRequestLine.md) + - [BatchTokenizationResponseLine](docs/BatchTokenizationResponseLine.md) - [CFConfigPart](docs/CFConfigPart.md) - [CacheConfigPart](docs/CacheConfigPart.md) - [CertAccessRules](docs/CertAccessRules.md) @@ -1411,6 +1420,7 @@ Class | Method | HTTP request | Description - [SSHTargetDetails](docs/SSHTargetDetails.md) - [SalesforceTargetDetails](docs/SalesforceTargetDetails.md) - [SecretInfo](docs/SecretInfo.md) + - [SectigoTargetDetails](docs/SectigoTargetDetails.md) - [SecureRemoteAccess](docs/SecureRemoteAccess.md) - [ServerInventoryMigration](docs/ServerInventoryMigration.md) - [ServerInventoryPayload](docs/ServerInventoryPayload.md) @@ -1464,6 +1474,7 @@ Class | Method | HTTP request | Description - [TargetCreatePing](docs/TargetCreatePing.md) - [TargetCreateRabbitMq](docs/TargetCreateRabbitMq.md) - [TargetCreateSalesforce](docs/TargetCreateSalesforce.md) + - [TargetCreateSectigo](docs/TargetCreateSectigo.md) - [TargetCreateSsh](docs/TargetCreateSsh.md) - [TargetCreateWeb](docs/TargetCreateWeb.md) - [TargetCreateWindows](docs/TargetCreateWindows.md) @@ -1497,6 +1508,7 @@ Class | Method | HTTP request | Description - [TargetUpdatePing](docs/TargetUpdatePing.md) - [TargetUpdateRabbitMq](docs/TargetUpdateRabbitMq.md) - [TargetUpdateSalesforce](docs/TargetUpdateSalesforce.md) + - [TargetUpdateSectigo](docs/TargetUpdateSectigo.md) - [TargetUpdateSsh](docs/TargetUpdateSsh.md) - [TargetUpdateWeb](docs/TargetUpdateWeb.md) - [TargetUpdateWindows](docs/TargetUpdateWindows.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 6c66621f..fbd36dfd 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -10,6 +10,35 @@ info: servers: - url: https://api.akeyless.io/ paths: + /alias-details: + get: + operationId: aliasDetails + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/aliasDetails' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/deleteRoleOutput' + description: deleteRoleResponse wraps response body. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/JSONError' + description: |- + errorResponse wraps any error to return it as a JSON object with one "error" + field. + tags: + - v2 + x-codegen-request-body-name: body + x-contentType: application/json + x-accepts: application/json /assoc-role-am: post: operationId: assocRoleAuthMethod @@ -135,7 +164,7 @@ paths: x-codegen-request-body-name: body x-contentType: application/json x-accepts: application/json - /auth-method-create-aws: + /auth-method-create-aws-iam: post: operationId: authMethodCreateAwsIam requestBody: @@ -3336,6 +3365,35 @@ paths: x-codegen-request-body-name: body x-contentType: application/json x-accepts: application/json + /detokenize-batch: + post: + operationId: detokenizeBatch + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BatchTokenizationRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/detokenizeOutput' + description: detokenizeResponse wraps response body. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/JSONError' + description: |- + errorResponse wraps any error to return it as a JSON object with one "error" + field. + tags: + - v2 + x-codegen-request-body-name: body + x-contentType: application/json + x-accepts: application/json /dynamic-secret-create-artifactory: post: operationId: dynamicSecretCreateArtifactory @@ -12228,6 +12286,35 @@ paths: x-codegen-request-body-name: body x-contentType: application/json x-accepts: application/json + /target-create-sectigo: + post: + operationId: targetCreateSectigo + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/targetCreateSectigo' + required: true + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/targetCreateOutput' + description: targetCreateSectigoResponse wraps response body. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/JSONError' + description: |- + errorResponse wraps any error to return it as a JSON object with one "error" + field. + tags: + - v2 + x-codegen-request-body-name: body + x-contentType: application/json + x-accepts: application/json /target-create-ssh: post: operationId: targetCreateSsh @@ -13040,6 +13127,35 @@ paths: x-codegen-request-body-name: body x-contentType: application/json x-accepts: application/json + /target-update-sectigo: + post: + operationId: targetUpdateSectigo + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/targetUpdateSectigo' + required: true + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/targetUpdateOutput' + description: targetUpdateSectigoResponse wraps response body. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/JSONError' + description: |- + errorResponse wraps any error to return it as a JSON object with one "error" + field. + tags: + - v2 + x-codegen-request-body-name: body + x-contentType: application/json + x-accepts: application/json /target-update-ssh: post: operationId: targetUpdateSsh @@ -13185,6 +13301,35 @@ paths: x-codegen-request-body-name: body x-contentType: application/json x-accepts: application/json + /tokenize-batch: + post: + operationId: tokenizeBatch + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BatchTokenizationRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/tokenizeOutput' + description: tokenizeResponse wraps response body. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/JSONError' + description: |- + errorResponse wraps any error to return it as a JSON object with one "error" + field. + tags: + - v2 + x-codegen-request-body-name: body + x-contentType: application/json + x-accepts: application/json /uid-create-child-token: post: operationId: uidCreateChildToken @@ -15545,6 +15690,12 @@ components: schema: $ref: '#/components/schemas/addGatewayAllowedAccessIdOutput' description: addGatewayAllowedAccessIdResponse wraps response body. + aliasDetailsResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/aliasDetailsOutput' + description: aliasDetailsResponse wraps response body. assocRoleAuthMethodResponse: content: application/json: @@ -16205,6 +16356,12 @@ components: schema: $ref: '#/components/schemas/describeSubClaimsOutput' description: describeSubClaimsResponse wraps response body. + detokenizeBatchResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/detokenizeBatchOutput' + description: detokenizeBatchResponse wraps response body. detokenizeResponse: content: application/json: @@ -18027,6 +18184,12 @@ components: schema: $ref: '#/components/schemas/targetCreateOutput' description: targetCreateSalesforceResponse wraps response body. + targetCreateSectigoResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/targetCreateOutput' + description: targetCreateSectigoResponse wraps response body. targetCreateSshResponse: content: application/json: @@ -18195,6 +18358,12 @@ components: schema: $ref: '#/components/schemas/targetUpdateOutput' description: targetUpdateSalesforceResponse wraps response body. + targetUpdateSectigoResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/targetUpdateOutput' + description: targetUpdateSectigoResponse wraps response body. targetUpdateSshResponse: content: application/json: @@ -18219,6 +18388,12 @@ components: schema: $ref: '#/components/schemas/targetUpdateOutput' description: targetUpdateZeroSSLResponse wraps response body. + tokenizeBatchResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/tokenizeBatchOutput' + description: tokenizeBatchResponse wraps response body. tokenizeResponse: content: application/json: @@ -18690,6 +18865,7 @@ components: account_id: - account_id - account_id + unique_identifier: unique_identifier role_id: - role_id - role_id @@ -18741,6 +18917,10 @@ components: description: The sts URL. type: string x-go-name: StsEndpoint + unique_identifier: + description: A unique identifier to distinguish different users + type: string + x-go-name: UniqueIdentifier user_id: description: The list of user ids that the login is restricted to. items: @@ -18892,6 +19072,10 @@ components: AccessRequestStatus: type: string x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types + AccessRulesType: + title: Access rules type. + type: string + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types AccountGeneralSettings: description: AccountGeneralSettings describes general settings for an account example: @@ -19752,35 +19936,37 @@ components: certificate_issue_date: 2000-01-23T04:56:07.000+00:00 rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 id: id activate_keys_on_creation: true certificate_ttl_in_seconds: 1 @@ -20275,35 +20461,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -20318,35 +20506,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -20380,6 +20570,7 @@ components: - bound_projects - bound_projects audience: akeyless.io + unique_identifier: unique_identifier bound_regions: - bound_regions - bound_regions @@ -20396,28 +20587,29 @@ components: bound_service_principal_ids: - bound_service_principal_ids - bound_service_principal_ids - bound_resource_types: - - bound_resource_types - - bound_resource_types - ad_endpoint: ad_endpoint - bound_resource_groups: - - bound_resource_groups - - bound_resource_groups + unique_identifier: unique_identifier bound_resource_names: - bound_resource_names - bound_resource_names bound_resource_ids: - bound_resource_ids - bound_resource_ids - bound_resource_providers: - - bound_resource_providers - - bound_resource_providers bound_tenant_id: bound_tenant_id - jwks_uri: jwks_uri bound_subscription_ids: - bound_subscription_ids - bound_subscription_ids issuer: issuer + bound_resource_types: + - bound_resource_types + - bound_resource_types + ad_endpoint: ad_endpoint + bound_resource_groups: + - bound_resource_groups + - bound_resource_groups + bound_resource_providers: + - bound_resource_providers + - bound_resource_providers + jwks_uri: jwks_uri oci_access_rules: tenant_ocid: tenant_ocid group_ocids: @@ -20555,6 +20747,7 @@ components: account_id: - account_id - account_id + unique_identifier: unique_identifier role_id: - role_id - role_id @@ -20668,6 +20861,7 @@ components: - bound_projects - bound_projects audience: akeyless.io + unique_identifier: unique_identifier bound_regions: - bound_regions - bound_regions @@ -20684,28 +20878,29 @@ components: bound_service_principal_ids: - bound_service_principal_ids - bound_service_principal_ids - bound_resource_types: - - bound_resource_types - - bound_resource_types - ad_endpoint: ad_endpoint - bound_resource_groups: - - bound_resource_groups - - bound_resource_groups + unique_identifier: unique_identifier bound_resource_names: - bound_resource_names - bound_resource_names bound_resource_ids: - bound_resource_ids - bound_resource_ids - bound_resource_providers: - - bound_resource_providers - - bound_resource_providers bound_tenant_id: bound_tenant_id - jwks_uri: jwks_uri bound_subscription_ids: - bound_subscription_ids - bound_subscription_ids issuer: issuer + bound_resource_types: + - bound_resource_types + - bound_resource_types + ad_endpoint: ad_endpoint + bound_resource_groups: + - bound_resource_groups + - bound_resource_groups + bound_resource_providers: + - bound_resource_providers + - bound_resource_providers + jwks_uri: jwks_uri oci_access_rules: tenant_ocid: tenant_ocid group_ocids: @@ -20843,6 +21038,7 @@ components: account_id: - account_id - account_id + unique_identifier: unique_identifier role_id: - role_id - role_id @@ -20974,35 +21170,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -21108,28 +21306,29 @@ components: bound_service_principal_ids: - bound_service_principal_ids - bound_service_principal_ids - bound_resource_types: - - bound_resource_types - - bound_resource_types - ad_endpoint: ad_endpoint - bound_resource_groups: - - bound_resource_groups - - bound_resource_groups + unique_identifier: unique_identifier bound_resource_names: - bound_resource_names - bound_resource_names bound_resource_ids: - bound_resource_ids - bound_resource_ids - bound_resource_providers: - - bound_resource_providers - - bound_resource_providers bound_tenant_id: bound_tenant_id - jwks_uri: jwks_uri bound_subscription_ids: - bound_subscription_ids - bound_subscription_ids issuer: issuer + bound_resource_types: + - bound_resource_types + - bound_resource_types + ad_endpoint: ad_endpoint + bound_resource_groups: + - bound_resource_groups + - bound_resource_groups + bound_resource_providers: + - bound_resource_providers + - bound_resource_providers + jwks_uri: jwks_uri properties: ad_endpoint: description: The audience in the JWT. @@ -21206,6 +21405,10 @@ components: authorization server. type: string x-go-name: JWKeySetURL + unique_identifier: + description: A unique identifier to distinguish different users + type: string + x-go-name: UniqueIdentifier type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types AzureKeyVaultMigration: @@ -21443,6 +21646,47 @@ components: x-go-name: Error type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + BatchTokenizationRequest: + items: + $ref: '#/components/schemas/BatchTokenizationRequestLine' + type: array + x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + BatchTokenizationRequestLine: + example: + data: data + item_id: 0 + tweak: tweak + properties: + data: + type: string + x-go-name: Data + item_id: + format: int64 + type: integer + x-go-name: ItemId + tweak: + type: string + x-go-name: TweakBase64 + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + BatchTokenizationResponse: + items: + $ref: '#/components/schemas/BatchTokenizationResponseLine' + type: array + x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + BatchTokenizationResponseLine: + properties: + data: + type: string + x-go-name: Data + error: + type: string + x-go-name: Error + tweak: + type: string + x-go-name: TweakBase64 + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands CAMode: type: string x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types @@ -23683,6 +23927,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -25389,6 +25634,7 @@ components: - bound_projects - bound_projects audience: akeyless.io + unique_identifier: unique_identifier bound_regions: - bound_regions - bound_regions @@ -25455,6 +25701,10 @@ components: type: type: string x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types + unique_identifier: + description: A unique identifier to distinguish different users + type: string + x-go-name: UniqueIdentifier title: GCPAccessRules contains access rules specific to GCP IAM or GCE authentication. type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types @@ -26572,7 +26822,7 @@ components: validation_email: validation_email imap_user: imap_user imap_password: imap_password - timeout: 7 + timeout: 2 custom_target_details: payload: payload godaddy_target_details: @@ -26584,6 +26834,14 @@ components: imap_password: imap_password key: key timeout: 5 + sectigo_target_details: + password: password + customer_uri: customer_uri + certificate_profile_id: 7 + org_id: 9 + external_requester: external_requester + timeout: 3 + username: username target: credentials_less: true target_items_assoc: @@ -27504,6 +27762,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -28228,6 +28487,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -29100,35 +29360,37 @@ components: certificate_issue_date: 2000-01-23T04:56:07.000+00:00 rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 id: id activate_keys_on_creation: true certificate_ttl_in_seconds: 1 @@ -29164,35 +29426,37 @@ components: certificate_issue_date: 2000-01-23T04:56:07.000+00:00 rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 id: id activate_keys_on_creation: true certificate_ttl_in_seconds: 1 @@ -29208,35 +29472,37 @@ components: certificate_issue_date: 2000-01-23T04:56:07.000+00:00 rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 id: id activate_keys_on_creation: true certificate_ttl_in_seconds: 1 @@ -29244,35 +29510,37 @@ components: certificate_issue_date: 2000-01-23T04:56:07.000+00:00 rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 id: id activate_keys_on_creation: true certificate_ttl_in_seconds: 1 @@ -29291,35 +29559,37 @@ components: certificate_issue_date: 2000-01-23T04:56:07.000+00:00 rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 id: id activate_keys_on_creation: true certificate_ttl_in_seconds: 1 @@ -29354,35 +29624,37 @@ components: certificate_issue_date: 2000-01-23T04:56:07.000+00:00 rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 id: id activate_keys_on_creation: true certificate_ttl_in_seconds: 1 @@ -29769,35 +30041,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -29812,35 +30086,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -29874,6 +30150,7 @@ components: - bound_projects - bound_projects audience: akeyless.io + unique_identifier: unique_identifier bound_regions: - bound_regions - bound_regions @@ -29890,28 +30167,29 @@ components: bound_service_principal_ids: - bound_service_principal_ids - bound_service_principal_ids - bound_resource_types: - - bound_resource_types - - bound_resource_types - ad_endpoint: ad_endpoint - bound_resource_groups: - - bound_resource_groups - - bound_resource_groups + unique_identifier: unique_identifier bound_resource_names: - bound_resource_names - bound_resource_names bound_resource_ids: - bound_resource_ids - bound_resource_ids - bound_resource_providers: - - bound_resource_providers - - bound_resource_providers bound_tenant_id: bound_tenant_id - jwks_uri: jwks_uri bound_subscription_ids: - bound_subscription_ids - bound_subscription_ids issuer: issuer + bound_resource_types: + - bound_resource_types + - bound_resource_types + ad_endpoint: ad_endpoint + bound_resource_groups: + - bound_resource_groups + - bound_resource_groups + bound_resource_providers: + - bound_resource_providers + - bound_resource_providers + jwks_uri: jwks_uri oci_access_rules: tenant_ocid: tenant_ocid group_ocids: @@ -30049,6 +30327,7 @@ components: account_id: - account_id - account_id + unique_identifier: unique_identifier role_id: - role_id - role_id @@ -30102,35 +30381,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -30145,35 +30426,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -30207,6 +30490,7 @@ components: - bound_projects - bound_projects audience: akeyless.io + unique_identifier: unique_identifier bound_regions: - bound_regions - bound_regions @@ -30223,28 +30507,29 @@ components: bound_service_principal_ids: - bound_service_principal_ids - bound_service_principal_ids - bound_resource_types: - - bound_resource_types - - bound_resource_types - ad_endpoint: ad_endpoint - bound_resource_groups: - - bound_resource_groups - - bound_resource_groups + unique_identifier: unique_identifier bound_resource_names: - bound_resource_names - bound_resource_names bound_resource_ids: - bound_resource_ids - bound_resource_ids - bound_resource_providers: - - bound_resource_providers - - bound_resource_providers bound_tenant_id: bound_tenant_id - jwks_uri: jwks_uri bound_subscription_ids: - bound_subscription_ids - bound_subscription_ids issuer: issuer + bound_resource_types: + - bound_resource_types + - bound_resource_types + ad_endpoint: ad_endpoint + bound_resource_groups: + - bound_resource_groups + - bound_resource_groups + bound_resource_providers: + - bound_resource_providers + - bound_resource_providers + jwks_uri: jwks_uri oci_access_rules: tenant_ocid: tenant_ocid group_ocids: @@ -30382,6 +30667,7 @@ components: account_id: - account_id - account_id + unique_identifier: unique_identifier role_id: - role_id - role_id @@ -30818,6 +31104,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -31579,6 +31866,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -32362,6 +32650,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -33123,6 +33412,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -33609,35 +33899,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true creation_date: 2000-01-23T04:56:07.000+00:00 access_date_display: access_date_display @@ -33669,35 +33961,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true creation_date: 2000-01-23T04:56:07.000+00:00 access_date_display: access_date_display @@ -35592,20 +35886,21 @@ components: PathRule: example: path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 properties: assigners: items: @@ -35618,6 +35913,10 @@ components: type: string type: array x-go-name: Capabilities + cb: + format: uint64 + type: integer + x-go-name: CapabilitiesBitmap is_limit_access: description: flag that indicate that this rule is allowed to be access RemainingAccess of times. @@ -35910,35 +36209,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -35953,35 +36254,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -36014,35 +36317,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -36057,35 +36362,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true auth_method_sub_claims: key: @@ -36180,35 +36487,37 @@ components: rules: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true creation_date: 2000-01-23T04:56:07.000+00:00 access_date_display: access_date_display @@ -36542,35 +36851,37 @@ components: example: path_rules: - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 - path: path - start_time: 7 + start_time: 9 capabilities: - capabilities - capabilities - number_of_allowed_access: 2 + number_of_allowed_access: 7 is_limit_access: true assigners: - unique_id: unique_id access_id: access_id - unique_id: unique_id access_id: access_id - number_of_access_used: 5 + number_of_access_used: 2 type: type - ttl: 9 + ttl: 3 + cb: 5 admin: true properties: admin: @@ -36877,6 +37188,47 @@ components: x-go-name: Version type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/external-secrets-manager/base + SectigoTargetDetails: + description: SectigoTargetDetails + example: + password: password + customer_uri: customer_uri + certificate_profile_id: 7 + org_id: 9 + external_requester: external_requester + timeout: 3 + username: username + properties: + certificate_profile_id: + format: int64 + type: integer + x-go-name: CertificateProfileID + customer_uri: + type: string + x-go-name: CustomerUri + external_requester: + type: string + x-go-name: ExternalRequester + org_id: + format: int64 + type: integer + x-go-name: OrgId + password: + type: string + x-go-name: Password + timeout: + description: |- + A Duration represents the elapsed time between two instants + as an int64 nanosecond count. The representation limits the + largest representable duration to approximately 290 years. + format: int64 + type: integer + x-go-package: time + username: + type: string + x-go-name: Username + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types SecureRemoteAccess: example: schema: schema @@ -36925,6 +37277,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -36985,6 +37338,9 @@ components: endpoint: type: string x-go-name: K8SEndpoint + enforce_hosts_restriction: + type: boolean + x-go-name: EnforceHostsRestriction host: items: type: string @@ -37875,7 +38231,7 @@ components: validation_email: validation_email imap_user: imap_user imap_password: imap_password - timeout: 7 + timeout: 2 custom_target_details: payload: payload godaddy_target_details: @@ -37887,6 +38243,14 @@ components: imap_password: imap_password key: key timeout: 5 + sectigo_target_details: + password: password + customer_uri: customer_uri + certificate_profile_id: 7 + org_id: 9 + external_requester: external_requester + timeout: 3 + username: username properties: artifactory_target_details: $ref: '#/components/schemas/ArtifactoryTargetDetails' @@ -37934,6 +38298,8 @@ components: $ref: '#/components/schemas/RabbitMQTargetDetails' salesforce_target_details: $ref: '#/components/schemas/SalesforceTargetDetails' + sectigo_target_details: + $ref: '#/components/schemas/SectigoTargetDetails' ssh_target_details: $ref: '#/components/schemas/SSHTargetDetails' venafi_target_details: @@ -38817,7 +39183,7 @@ components: validation_email: validation_email imap_user: imap_user imap_password: imap_password - timeout: 7 + timeout: 2 properties: api_key: type: string @@ -38891,6 +39257,38 @@ components: addGatewayAllowedAccessIdOutput: type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + aliasDetails: + properties: + account-alias: + description: Account alias + type: string + x-go-name: AccountAlias + auth-method-name: + description: Auth method name + type: string + x-go-name: AuthMethodName + json: + default: false + description: Set output format to JSON + type: boolean + x-go-name: Json + required: + - account-alias + - auth-method-name + title: aliasDetails is a command that gets the alias details. + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + aliasDetailsOutput: + properties: + access_type: + title: Access rules type. + type: string + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types + tenant_tag: + type: string + x-go-name: TenantTag + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands assocRoleAuthMethod: description: |- assocRoleAuthMethod is a command that creates an association between role @@ -39256,6 +39654,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - bound-aws-account-id - name @@ -39417,6 +39821,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - bound-tenant-id - name @@ -39790,6 +40200,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - audience - name @@ -40932,6 +41348,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - bound-aws-account-id - name @@ -41097,6 +41519,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - bound-tenant-id - name @@ -41475,6 +41903,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - audience - name @@ -42785,6 +43219,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - bound-aws-account-id - name @@ -42955,6 +43395,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - bound-tenant-id - name @@ -43355,6 +43801,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - audience - name @@ -46801,6 +47253,11 @@ components: description: Enable/Disable secure remote access [true/false] type: string x-go-name: SecureAccessEnabled + secure-access-enforce-hosts-restriction: + description: Enable this flag to enforce connections only to the hosts listed + in --secure-access-host + type: boolean + x-go-name: EnforceHostsRestriction secure-access-host: description: Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) @@ -47078,7 +47535,8 @@ components: x-go-name: Description format: default: text - description: Secret format [text/json] (relevant only for type 'generic') + description: Secret format [text/json/key-value] (relevant only for type + 'generic') type: string x-go-name: Format inject-url: @@ -48620,6 +49078,8 @@ components: - tokenizer-name type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + detokenizeBatchOutput: + $ref: '#/components/schemas/BatchTokenizationResponse' detokenizeOutput: example: result: result @@ -48910,6 +49370,10 @@ components: description: Enable/Disable secure remote access [true/false] type: string x-go-name: SecureAccessEnabled + secure-access-url: + description: Destination URL to inject secrets + type: string + x-go-name: SecureAccessURL secure-access-web: default: true description: Enable Web Secure Remote Access @@ -49796,6 +50260,29 @@ components: role-scope: type: string x-go-package: akeyless.io/akeyless-main-repo/go/src/producer/config + secure-access-enable: + description: Enable/Disable secure remote access [true/false] + type: string + x-go-name: SecureAccessEnabled + secure-access-url: + description: Destination URL to inject secrets + type: string + x-go-name: SecureAccessURL + secure-access-web: + default: true + description: Enable Web Secure Remote Access + type: boolean + x-go-name: SecureAccessWebCategory + secure-access-web-browsing: + default: false + description: Secure browser via Akeyless Web Access Bastion + type: boolean + x-go-name: SecureAccessIsolated + secure-access-web-proxy: + default: false + description: Web-Proxy via Akeyless Web Access Bastion + type: boolean + x-go-name: SecureAccessWebProxy tags: description: Add tags attached to this object items: @@ -50876,6 +51363,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -52464,6 +52952,10 @@ components: description: Enable/Disable secure remote access [true/false] type: string x-go-name: SecureAccessEnabled + secure-access-url: + description: Destination URL to inject secrets + type: string + x-go-name: SecureAccessURL secure-access-web: default: true description: Enable Web Secure Remote Access @@ -53390,6 +53882,29 @@ components: role-scope: type: string x-go-package: akeyless.io/akeyless-main-repo/go/src/producer/config + secure-access-enable: + description: Enable/Disable secure remote access [true/false] + type: string + x-go-name: SecureAccessEnabled + secure-access-url: + description: Destination URL to inject secrets + type: string + x-go-name: SecureAccessURL + secure-access-web: + default: true + description: Enable Web Secure Remote Access + type: boolean + x-go-name: SecureAccessWebCategory + secure-access-web-browsing: + default: false + description: Secure browser via Akeyless Web Access Bastion + type: boolean + x-go-name: SecureAccessIsolated + secure-access-web-proxy: + default: false + description: Web-Proxy via Akeyless Web Access Bastion + type: boolean + x-go-name: SecureAccessWebProxy tags: description: Add tags attached to this object items: @@ -54498,6 +55013,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -56076,6 +56592,10 @@ components: type: string type: array x-go-name: GatewayEventSources + include-error: + description: Set this option to include event errors details [true\false] + type: string + x-go-name: IncludeError items-event-source-locations: description: Items Event sources items: @@ -56622,6 +57142,10 @@ components: type: string type: array x-go-name: GatewayEventSources + include-error: + description: Set this option to include event errors details [true\false] + type: string + x-go-name: IncludeError items-event-source-locations: description: Items Event sources items: @@ -57869,6 +58393,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -58355,6 +58880,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -58560,6 +59086,10 @@ components: description: Enable/Disable secure remote access [true/false] type: string x-go-name: SecureAccessEnabled + secure-access-url: + description: Destination URL to inject secrets + type: string + x-go-name: SecureAccessURL secure-access-web: default: true description: Enable Web Secure Remote Access @@ -58817,6 +59347,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -59243,6 +59774,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -59659,6 +60191,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -60087,6 +60620,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -60493,6 +61027,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -60934,6 +61469,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -61355,6 +61891,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -61778,6 +62315,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -62210,6 +62748,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -62665,6 +63204,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -63133,6 +63673,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -63582,6 +64123,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -64047,6 +64589,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -64509,6 +65052,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -64987,6 +65531,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -65441,6 +65986,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -65931,6 +66477,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -66385,6 +66932,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -66835,6 +67383,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -67294,6 +67843,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -67723,6 +68273,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -68160,6 +68711,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -68583,6 +69135,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -69052,6 +69605,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -72585,6 +73139,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -73075,6 +73630,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -73284,6 +73840,10 @@ components: description: Enable/Disable secure remote access [true/false] type: string x-go-name: SecureAccessEnabled + secure-access-url: + description: Destination URL to inject secrets + type: string + x-go-name: SecureAccessURL secure-access-web: default: true description: Enable Web Secure Remote Access @@ -73541,6 +74101,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -73971,6 +74532,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -74391,6 +74953,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -74823,6 +75386,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -75233,6 +75797,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -75678,6 +76243,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -76103,6 +76669,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -76530,6 +77097,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -76966,6 +77534,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -77419,6 +77988,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -77891,6 +78461,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -78344,6 +78915,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -78813,6 +79385,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -79279,6 +79852,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -79761,6 +80335,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -80219,6 +80794,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -80713,6 +81289,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -81171,6 +81748,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -81625,6 +82203,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -82088,6 +82667,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -82521,6 +83101,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -82962,6 +83543,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -83389,6 +83971,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -83862,6 +84445,7 @@ components: is_cli: true use_internal_bastion: true rdp_user: rdp_user + enforce_hosts_restriction: true url: url account_id: account_id db_name: db_name @@ -92606,6 +93190,84 @@ components: - tenant-url type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + targetCreateSectigo: + description: targetCreateSectigo is a command that creates a new Sectigo target + properties: + certificate-profile-id: + description: Certificate Profile ID in Sectigo account + format: int64 + type: integer + x-go-name: CertificateProfileID + customer-uri: + description: Customer Uri of the Sectigo account + type: string + x-go-name: CustomerUri + description: + description: Description of the object + type: string + x-go-name: Description + external-requester: + description: External Requester - a comma separated list of emails + type: string + x-go-name: ExternalRequester + json: + default: false + description: Set output format to JSON + type: boolean + x-go-name: Json + key: + description: The name of a key that used to encrypt the target secret value + (if empty, the account default protectionKey key will be used) + type: string + x-go-name: ProtectionKey + max-versions: + description: Set the maximum number of versions, limited by the account + settings defaults. + type: string + x-go-name: MaxVersions + name: + description: Target name + type: string + x-go-name: TargetName + organization-id: + description: Organization ID in Sectigo account + format: int64 + type: integer + x-go-name: OrganizationId + password: + description: Password of the Sectigo account user + type: string + x-go-name: Password + timeout: + default: 5m + description: Timeout waiting for certificate validation in Duration format + (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum + 1h. + type: string + x-go-name: Timeout + token: + description: Authentication token (see `/auth` and `/configure`) + type: string + x-go-name: Profile + uid-token: + description: The universal identity token, Required only for universal_identity + authentication + type: string + x-go-name: UIDToken + username: + description: Username of the Sectigo account + type: string + x-go-name: Username + required: + - certificate-profile-id + - customer-uri + - external-requester + - name + - organization-id + - password + - username + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands targetCreateSsh: description: targetCreateSsh is a command that creates a new ssh target properties: @@ -94538,6 +95200,94 @@ components: - tenant-url type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + targetUpdateSectigo: + description: targetUpdateSectigo is a command that updates an existing Sectigo + target + properties: + certificate-profile-id: + description: Certificate Profile ID in Sectigo account + format: int64 + type: integer + x-go-name: CertificateProfileID + customer-uri: + description: Customer Uri of the Sectigo account + type: string + x-go-name: CustomerUri + description: + description: Description of the object + type: string + x-go-name: Description + external-requester: + description: External Requester - a comma separated list of emails + type: string + x-go-name: ExternalRequester + json: + default: false + description: Set output format to JSON + type: boolean + x-go-name: Json + keep-prev-version: + description: Whether to keep previous version [true/false]. If not set, + use default according to account settings + type: string + x-go-name: KeepPrevVersion + key: + description: The name of a key that used to encrypt the target secret value + (if empty, the account default protectionKey key will be used) + type: string + x-go-name: ProtectionKey + max-versions: + description: Set the maximum number of versions, limited by the account + settings defaults. + type: string + x-go-name: MaxVersions + name: + description: Target name + type: string + x-go-name: TargetName + new-name: + description: New target name + type: string + x-go-name: NewTargetName + organization-id: + description: Organization ID in Sectigo account + format: int64 + type: integer + x-go-name: OrganizationId + password: + description: Password of the Sectigo account user + type: string + x-go-name: Password + timeout: + default: 5m + description: Timeout waiting for certificate validation in Duration format + (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum + 1h. + type: string + x-go-name: Timeout + token: + description: Authentication token (see `/auth` and `/configure`) + type: string + x-go-name: Profile + uid-token: + description: The universal identity token, Required only for universal_identity + authentication + type: string + x-go-name: UIDToken + username: + description: Username of the Sectigo account + type: string + x-go-name: Username + required: + - certificate-profile-id + - customer-uri + - external-requester + - name + - organization-id + - password + - username + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands targetUpdateSsh: description: targetUpdateSsh is a command that updates an existing ssh target properties: @@ -94867,6 +95617,8 @@ components: - tokenizer-name type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + tokenizeBatchOutput: + $ref: '#/components/schemas/BatchTokenizationResponse' tokenizeOutput: example: result: result @@ -95799,6 +96551,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - bound-aws-account-id - name @@ -95967,6 +96725,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - bound-tenant-id - name @@ -96274,6 +97038,12 @@ components: authentication type: string x-go-name: UIDToken + unique-identifier: + description: A unique identifier (ID) value which is a "sub claim" name + that contains details uniquely identifying that resource. This "sub claim" + is used to distinguish between different identities. + type: string + x-go-name: UniqueIdentifier required: - audience - name @@ -99935,6 +100705,11 @@ components: description: Enable/Disable secure remote access [true/false] type: string x-go-name: SecureAccessEnabled + secure-access-enforce-hosts-restriction: + description: Enable this flag to enforce connections only to the hosts listed + in --secure-access-host + type: boolean + x-go-name: EnforceHostsRestriction secure-access-host: description: Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) @@ -100271,7 +101046,8 @@ components: x-go-name: CustomFields format: default: text - description: Secret format [text/json] (relevant only for type 'generic') + description: Secret format [text/json/key-value] (relevant only for type + 'generic') type: string x-go-name: Format inject-url: diff --git a/build.gradle b/build.gradle index 38b98362..6a8a1790 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'io.akeyless' -version = '4.2.2' +version = '4.2.3' buildscript { repositories { diff --git a/build.sbt b/build.sbt index dba1a599..460466cb 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "io.akeyless", name := "akeyless-java", - version := "4.2.2", + version := "4.2.3", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/AWSIAMAccessRules.md b/docs/AWSIAMAccessRules.md index a7b27732..da2acd8a 100644 --- a/docs/AWSIAMAccessRules.md +++ b/docs/AWSIAMAccessRules.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **roleId** | **List<String>** | The list of role ids that the login is restricted to. | [optional] **roleName** | **List<String>** | The list of role names that the login is restricted to. | [optional] **stsEndpoint** | **String** | The sts URL. | [optional] +**uniqueIdentifier** | **String** | A unique identifier to distinguish different users | [optional] **userId** | **List<String>** | The list of user ids that the login is restricted to. | [optional] **userName** | **List<String>** | The list of user names that the login is restricted to. | [optional] diff --git a/docs/AliasDetails.md b/docs/AliasDetails.md new file mode 100644 index 00000000..5996004c --- /dev/null +++ b/docs/AliasDetails.md @@ -0,0 +1,15 @@ + + +# AliasDetails + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**accountAlias** | **String** | Account alias | +**authMethodName** | **String** | Auth method name | +**json** | **Boolean** | Set output format to JSON | [optional] + + + diff --git a/docs/AliasDetailsOutput.md b/docs/AliasDetailsOutput.md new file mode 100644 index 00000000..412a2c57 --- /dev/null +++ b/docs/AliasDetailsOutput.md @@ -0,0 +1,14 @@ + + +# AliasDetailsOutput + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**accessType** | **String** | | [optional] +**tenantTag** | **String** | | [optional] + + + diff --git a/docs/AuthMethodCreateAwsIam.md b/docs/AuthMethodCreateAwsIam.md index b593377d..e42cbf5c 100644 --- a/docs/AuthMethodCreateAwsIam.md +++ b/docs/AuthMethodCreateAwsIam.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **stsUrl** | **String** | sts URL | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/AuthMethodCreateAzureAD.md b/docs/AuthMethodCreateAzureAD.md index 50da217f..005da123 100644 --- a/docs/AuthMethodCreateAzureAD.md +++ b/docs/AuthMethodCreateAzureAD.md @@ -33,6 +33,7 @@ Name | Type | Description | Notes **productType** | **List<String>** | Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/AuthMethodCreateGcp.md b/docs/AuthMethodCreateGcp.md index 1fd031a7..a2fbef54 100644 --- a/docs/AuthMethodCreateGcp.md +++ b/docs/AuthMethodCreateGcp.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **type** | **String** | Type of the GCP Access Rules | **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/AuthMethodUpdateAwsIam.md b/docs/AuthMethodUpdateAwsIam.md index 3433bcad..342c71b6 100644 --- a/docs/AuthMethodUpdateAwsIam.md +++ b/docs/AuthMethodUpdateAwsIam.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **stsUrl** | **String** | sts URL | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/AuthMethodUpdateAzureAD.md b/docs/AuthMethodUpdateAzureAD.md index 6da30e37..849d42b6 100644 --- a/docs/AuthMethodUpdateAzureAD.md +++ b/docs/AuthMethodUpdateAzureAD.md @@ -34,6 +34,7 @@ Name | Type | Description | Notes **productType** | **List<String>** | Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/AuthMethodUpdateGcp.md b/docs/AuthMethodUpdateGcp.md index 5b2f4139..8a92cc3f 100644 --- a/docs/AuthMethodUpdateGcp.md +++ b/docs/AuthMethodUpdateGcp.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **type** | **String** | Type of the GCP Access Rules | **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/AzureADAccessRules.md b/docs/AzureADAccessRules.md index df9f0eeb..34f1681b 100644 --- a/docs/AzureADAccessRules.md +++ b/docs/AzureADAccessRules.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **boundTenantId** | **String** | The tenants id for the Azure Active Directory organization. | [optional] **issuer** | **String** | Issuer URL | [optional] **jwksUri** | **String** | The URL to the JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server. | [optional] +**uniqueIdentifier** | **String** | A unique identifier to distinguish different users | [optional] diff --git a/docs/BatchTokenizationRequestLine.md b/docs/BatchTokenizationRequestLine.md new file mode 100644 index 00000000..18a85425 --- /dev/null +++ b/docs/BatchTokenizationRequestLine.md @@ -0,0 +1,15 @@ + + +# BatchTokenizationRequestLine + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | **String** | | [optional] +**itemId** | **Long** | | [optional] +**tweak** | **String** | | [optional] + + + diff --git a/docs/BatchTokenizationResponseLine.md b/docs/BatchTokenizationResponseLine.md new file mode 100644 index 00000000..93500e23 --- /dev/null +++ b/docs/BatchTokenizationResponseLine.md @@ -0,0 +1,15 @@ + + +# BatchTokenizationResponseLine + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | **String** | | [optional] +**error** | **String** | | [optional] +**tweak** | **String** | | [optional] + + + diff --git a/docs/CreateAuthMethodAWSIAM.md b/docs/CreateAuthMethodAWSIAM.md index 8ffd4eba..584f9324 100644 --- a/docs/CreateAuthMethodAWSIAM.md +++ b/docs/CreateAuthMethodAWSIAM.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **stsUrl** | **String** | sts URL | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/CreateAuthMethodAzureAD.md b/docs/CreateAuthMethodAzureAD.md index 3cdf3bd5..0e8bdbe8 100644 --- a/docs/CreateAuthMethodAzureAD.md +++ b/docs/CreateAuthMethodAzureAD.md @@ -33,6 +33,7 @@ Name | Type | Description | Notes **productType** | **List<String>** | Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/CreateAuthMethodGCP.md b/docs/CreateAuthMethodGCP.md index 1cec7c10..223535e6 100644 --- a/docs/CreateAuthMethodGCP.md +++ b/docs/CreateAuthMethodGCP.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **type** | **String** | Type of the GCP Access Rules | **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/CreateSSHCertIssuer.md b/docs/CreateSSHCertIssuer.md index dbaab4f0..52567a56 100644 --- a/docs/CreateSSHCertIssuer.md +++ b/docs/CreateSSHCertIssuer.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **secureAccessBastionApi** | **String** | Bastion's SSH control API endpoint. E.g. https://my.bastion:9900 | [optional] **secureAccessBastionSsh** | **String** | Bastion's SSH server. E.g. my.bastion:22 | [optional] **secureAccessEnable** | **String** | Enable/Disable secure remote access [true/false] | [optional] +**secureAccessEnforceHostsRestriction** | **Boolean** | Enable this flag to enforce connections only to the hosts listed in --secure-access-host | [optional] **secureAccessHost** | **List<String>** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] **secureAccessSshCredsUser** | **String** | SSH username to connect to target server, must be in 'Allowed Users' list | [optional] **secureAccessUseInternalBastion** | **Boolean** | Use internal SSH Bastion | [optional] diff --git a/docs/CreateSecret.md b/docs/CreateSecret.md index f276ef9b..8d0531ca 100644 --- a/docs/CreateSecret.md +++ b/docs/CreateSecret.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **customField** | **Map<String, String>** | For Password Management use, additional fields | [optional] **deleteProtection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] **description** | **String** | Description of the object | [optional] -**format** | **String** | Secret format [text/json] (relevant only for type 'generic') | [optional] +**format** | **String** | Secret format [text/json/key-value] (relevant only for type 'generic') | [optional] **injectUrl** | **List<String>** | For Password Management use, reflect the website context | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **maxVersions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] diff --git a/docs/DynamicSecretCreateAzure.md b/docs/DynamicSecretCreateAzure.md index e8610f4b..2aa99228 100644 --- a/docs/DynamicSecretCreateAzure.md +++ b/docs/DynamicSecretCreateAzure.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **passwordLength** | **String** | The length of the password to be generated | [optional] **producerEncryptionKeyName** | **String** | Dynamic secret encryption key | [optional] **secureAccessEnable** | **String** | Enable/Disable secure remote access [true/false] | [optional] +**secureAccessUrl** | **String** | Destination URL to inject secrets | [optional] **secureAccessWeb** | **Boolean** | Enable Web Secure Remote Access | [optional] **secureAccessWebBrowsing** | **Boolean** | Secure browser via Akeyless Web Access Bastion | [optional] **secureAccessWebProxy** | **Boolean** | Web-Proxy via Akeyless Web Access Bastion | [optional] diff --git a/docs/DynamicSecretCreateGoogleWorkspace.md b/docs/DynamicSecretCreateGoogleWorkspace.md index 76984be0..efa150c9 100644 --- a/docs/DynamicSecretCreateGoogleWorkspace.md +++ b/docs/DynamicSecretCreateGoogleWorkspace.md @@ -20,6 +20,11 @@ Name | Type | Description | Notes **producerEncryptionKeyName** | **String** | Dynamic producer encryption key | [optional] **roleName** | **String** | Name of the admin role to assign to the user, relevant only for role access-mode | [optional] **roleScope** | **String** | | [optional] +**secureAccessEnable** | **String** | Enable/Disable secure remote access [true/false] | [optional] +**secureAccessUrl** | **String** | Destination URL to inject secrets | [optional] +**secureAccessWeb** | **Boolean** | Enable Web Secure Remote Access | [optional] +**secureAccessWebBrowsing** | **Boolean** | Secure browser via Akeyless Web Access Bastion | [optional] +**secureAccessWebProxy** | **Boolean** | Web-Proxy via Akeyless Web Access Bastion | [optional] **tags** | **List<String>** | Add tags attached to this object | [optional] **targetName** | **String** | Name of existing target to use in dynamic secret creation | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] diff --git a/docs/DynamicSecretUpdateAzure.md b/docs/DynamicSecretUpdateAzure.md index bb292785..27f5859b 100644 --- a/docs/DynamicSecretUpdateAzure.md +++ b/docs/DynamicSecretUpdateAzure.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **passwordLength** | **String** | The length of the password to be generated | [optional] **producerEncryptionKeyName** | **String** | Dynamic secret encryption key | [optional] **secureAccessEnable** | **String** | Enable/Disable secure remote access [true/false] | [optional] +**secureAccessUrl** | **String** | Destination URL to inject secrets | [optional] **secureAccessWeb** | **Boolean** | Enable Web Secure Remote Access | [optional] **secureAccessWebBrowsing** | **Boolean** | Secure browser via Akeyless Web Access Bastion | [optional] **secureAccessWebProxy** | **Boolean** | Web-Proxy via Akeyless Web Access Bastion | [optional] diff --git a/docs/DynamicSecretUpdateGoogleWorkspace.md b/docs/DynamicSecretUpdateGoogleWorkspace.md index 1ed57d13..90bc0407 100644 --- a/docs/DynamicSecretUpdateGoogleWorkspace.md +++ b/docs/DynamicSecretUpdateGoogleWorkspace.md @@ -21,6 +21,11 @@ Name | Type | Description | Notes **producerEncryptionKeyName** | **String** | Dynamic producer encryption key | [optional] **roleName** | **String** | Name of the admin role to assign to the user, relevant only for role access-mode | [optional] **roleScope** | **String** | | [optional] +**secureAccessEnable** | **String** | Enable/Disable secure remote access [true/false] | [optional] +**secureAccessUrl** | **String** | Destination URL to inject secrets | [optional] +**secureAccessWeb** | **Boolean** | Enable Web Secure Remote Access | [optional] +**secureAccessWebBrowsing** | **Boolean** | Secure browser via Akeyless Web Access Bastion | [optional] +**secureAccessWebProxy** | **Boolean** | Web-Proxy via Akeyless Web Access Bastion | [optional] **tags** | **List<String>** | Add tags attached to this object | [optional] **targetName** | **String** | Name of existing target to use in dynamic secret creation | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] diff --git a/docs/EventForwarderCreateEmail.md b/docs/EventForwarderCreateEmail.md index 72946e23..372784e4 100644 --- a/docs/EventForwarderCreateEmail.md +++ b/docs/EventForwarderCreateEmail.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **eventTypes** | **List<String>** | List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated] | [optional] **every** | **String** | Rate of periodic runner repetition in hours | [optional] **gatewaysEventSourceLocations** | **List<String>** | Event sources | +**includeError** | **String** | Set this option to include event errors details [true\\false] | [optional] **itemsEventSourceLocations** | **List<String>** | Items Event sources | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **key** | **String** | The name of a key that used to encrypt the EventForwarder secret value (if empty, the account default protectionKey key will be used) | [optional] diff --git a/docs/EventForwarderUpdateEmail.md b/docs/EventForwarderUpdateEmail.md index 807a7049..9ea553fc 100644 --- a/docs/EventForwarderUpdateEmail.md +++ b/docs/EventForwarderUpdateEmail.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **enable** | **String** | Enable/Disable Event Forwarder [true/false] | [optional] **eventTypes** | **List<String>** | List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated] | [optional] **gatewaysEventSourceLocations** | **List<String>** | Event sources | +**includeError** | **String** | Set this option to include event errors details [true\\false] | [optional] **itemsEventSourceLocations** | **List<String>** | Items Event sources | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **keepPrevVersion** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] diff --git a/docs/GCPAccessRules.md b/docs/GCPAccessRules.md index 6ae96546..011fd7e4 100644 --- a/docs/GCPAccessRules.md +++ b/docs/GCPAccessRules.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **boundZones** | **List<String>** | === Machine authentication section === List of zones that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a zonal group and the group must belong to this zone. | [optional] **serviceAccount** | **String** | ServiceAccount holds the credentials file contents to be used by Akeyless to validate IAM (Human) and GCE (Machine) logins against GCP base64 encoded string | [optional] **type** | **String** | | [optional] +**uniqueIdentifier** | **String** | A unique identifier to distinguish different users | [optional] diff --git a/docs/GatewayCreateProducerAzure.md b/docs/GatewayCreateProducerAzure.md index 4227b3c0..3ebfd973 100644 --- a/docs/GatewayCreateProducerAzure.md +++ b/docs/GatewayCreateProducerAzure.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **passwordLength** | **String** | The length of the password to be generated | [optional] **producerEncryptionKeyName** | **String** | Dynamic secret encryption key | [optional] **secureAccessEnable** | **String** | Enable/Disable secure remote access [true/false] | [optional] +**secureAccessUrl** | **String** | Destination URL to inject secrets | [optional] **secureAccessWeb** | **Boolean** | Enable Web Secure Remote Access | [optional] **secureAccessWebBrowsing** | **Boolean** | Secure browser via Akeyless Web Access Bastion | [optional] **secureAccessWebProxy** | **Boolean** | Web-Proxy via Akeyless Web Access Bastion | [optional] diff --git a/docs/GatewayUpdateProducerAzure.md b/docs/GatewayUpdateProducerAzure.md index 888169d4..fde840a3 100644 --- a/docs/GatewayUpdateProducerAzure.md +++ b/docs/GatewayUpdateProducerAzure.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **passwordLength** | **String** | The length of the password to be generated | [optional] **producerEncryptionKeyName** | **String** | Dynamic secret encryption key | [optional] **secureAccessEnable** | **String** | Enable/Disable secure remote access [true/false] | [optional] +**secureAccessUrl** | **String** | Destination URL to inject secrets | [optional] **secureAccessWeb** | **Boolean** | Enable Web Secure Remote Access | [optional] **secureAccessWebBrowsing** | **Boolean** | Secure browser via Akeyless Web Access Bastion | [optional] **secureAccessWebProxy** | **Boolean** | Web-Proxy via Akeyless Web Access Bastion | [optional] diff --git a/docs/PathRule.md b/docs/PathRule.md index 57df7001..9e37f08a 100644 --- a/docs/PathRule.md +++ b/docs/PathRule.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **assigners** | [**List<RuleAssigner>**](RuleAssigner.md) | | [optional] **capabilities** | **List<String>** | The approved/denied capabilities in the path | [optional] +**cb** | **Integer** | | [optional] **isLimitAccess** | **Boolean** | flag that indicate that this rule is allowed to be access RemainingAccess of times. | [optional] **numberOfAccessUsed** | **Long** | | [optional] **numberOfAllowedAccess** | **Long** | | [optional] diff --git a/docs/SectigoTargetDetails.md b/docs/SectigoTargetDetails.md new file mode 100644 index 00000000..77f9f4a1 --- /dev/null +++ b/docs/SectigoTargetDetails.md @@ -0,0 +1,20 @@ + + +# SectigoTargetDetails + +SectigoTargetDetails + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**certificateProfileId** | **Long** | | [optional] +**customerUri** | **String** | | [optional] +**externalRequester** | **String** | | [optional] +**orgId** | **Long** | | [optional] +**password** | **String** | | [optional] +**timeout** | **Long** | A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. | [optional] +**username** | **String** | | [optional] + + + diff --git a/docs/SecureRemoteAccess.md b/docs/SecureRemoteAccess.md index d83c36f7..283301ab 100644 --- a/docs/SecureRemoteAccess.md +++ b/docs/SecureRemoteAccess.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **domain** | **String** | | [optional] **enable** | **Boolean** | | [optional] **endpoint** | **String** | | [optional] +**enforceHostsRestriction** | **Boolean** | | [optional] **host** | **List<String>** | | [optional] **hostProviderType** | **String** | | [optional] **isCli** | **Boolean** | | [optional] diff --git a/docs/TargetCreateSectigo.md b/docs/TargetCreateSectigo.md new file mode 100644 index 00000000..54fb39c1 --- /dev/null +++ b/docs/TargetCreateSectigo.md @@ -0,0 +1,27 @@ + + +# TargetCreateSectigo + +targetCreateSectigo is a command that creates a new Sectigo target + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**certificateProfileId** | **Long** | Certificate Profile ID in Sectigo account | +**customerUri** | **String** | Customer Uri of the Sectigo account | +**description** | **String** | Description of the object | [optional] +**externalRequester** | **String** | External Requester - a comma separated list of emails | +**json** | **Boolean** | Set output format to JSON | [optional] +**key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] +**maxVersions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] +**name** | **String** | Target name | +**organizationId** | **Long** | Organization ID in Sectigo account | +**password** | **String** | Password of the Sectigo account user | +**timeout** | **String** | Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h. | [optional] +**token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] +**uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**username** | **String** | Username of the Sectigo account | + + + diff --git a/docs/TargetTypeDetailsInput.md b/docs/TargetTypeDetailsInput.md index 4888eeb3..e79fd804 100644 --- a/docs/TargetTypeDetailsInput.md +++ b/docs/TargetTypeDetailsInput.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **pingTargetDetails** | [**PingTargetDetails**](PingTargetDetails.md) | | [optional] **rabbitMqTargetDetails** | [**RabbitMQTargetDetails**](RabbitMQTargetDetails.md) | | [optional] **salesforceTargetDetails** | [**SalesforceTargetDetails**](SalesforceTargetDetails.md) | | [optional] +**sectigoTargetDetails** | [**SectigoTargetDetails**](SectigoTargetDetails.md) | | [optional] **sshTargetDetails** | [**SSHTargetDetails**](SSHTargetDetails.md) | | [optional] **venafiTargetDetails** | [**VenafiTargetDetails**](VenafiTargetDetails.md) | | [optional] **webTargetDetails** | [**WebTargetDetails**](WebTargetDetails.md) | | [optional] diff --git a/docs/TargetUpdateSectigo.md b/docs/TargetUpdateSectigo.md new file mode 100644 index 00000000..d98ae7dd --- /dev/null +++ b/docs/TargetUpdateSectigo.md @@ -0,0 +1,29 @@ + + +# TargetUpdateSectigo + +targetUpdateSectigo is a command that updates an existing Sectigo target + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**certificateProfileId** | **Long** | Certificate Profile ID in Sectigo account | +**customerUri** | **String** | Customer Uri of the Sectigo account | +**description** | **String** | Description of the object | [optional] +**externalRequester** | **String** | External Requester - a comma separated list of emails | +**json** | **Boolean** | Set output format to JSON | [optional] +**keepPrevVersion** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] +**key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] +**maxVersions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] +**name** | **String** | Target name | +**newName** | **String** | New target name | [optional] +**organizationId** | **Long** | Organization ID in Sectigo account | +**password** | **String** | Password of the Sectigo account user | +**timeout** | **String** | Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h. | [optional] +**token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] +**uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**username** | **String** | Username of the Sectigo account | + + + diff --git a/docs/UpdateAuthMethodAWSIAM.md b/docs/UpdateAuthMethodAWSIAM.md index 47c2f56f..05c87644 100644 --- a/docs/UpdateAuthMethodAWSIAM.md +++ b/docs/UpdateAuthMethodAWSIAM.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **stsUrl** | **String** | sts URL | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/UpdateAuthMethodAzureAD.md b/docs/UpdateAuthMethodAzureAD.md index 43c9262c..ba1afaaa 100644 --- a/docs/UpdateAuthMethodAzureAD.md +++ b/docs/UpdateAuthMethodAzureAD.md @@ -34,6 +34,7 @@ Name | Type | Description | Notes **productType** | **List<String>** | Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/UpdateAuthMethodGCP.md b/docs/UpdateAuthMethodGCP.md index d98a2ca0..066c61a0 100644 --- a/docs/UpdateAuthMethodGCP.md +++ b/docs/UpdateAuthMethodGCP.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **type** | **String** | Type of the GCP Access Rules | **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**uniqueIdentifier** | **String** | A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. | [optional] diff --git a/docs/UpdateSSHCertIssuer.md b/docs/UpdateSSHCertIssuer.md index f8fcc0e7..e8869f94 100644 --- a/docs/UpdateSSHCertIssuer.md +++ b/docs/UpdateSSHCertIssuer.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **secureAccessBastionApi** | **String** | Bastion's SSH control API endpoint. E.g. https://my.bastion:9900 | [optional] **secureAccessBastionSsh** | **String** | Bastion's SSH server. E.g. my.bastion:22 | [optional] **secureAccessEnable** | **String** | Enable/Disable secure remote access [true/false] | [optional] +**secureAccessEnforceHostsRestriction** | **Boolean** | Enable this flag to enforce connections only to the hosts listed in --secure-access-host | [optional] **secureAccessHost** | **List<String>** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] **secureAccessSshCredsUser** | **String** | SSH username to connect to target server, must be in 'Allowed Users' list | [optional] **secureAccessUseInternalBastion** | **Boolean** | Use internal SSH Bastion | [optional] diff --git a/docs/UpdateSecretVal.md b/docs/UpdateSecretVal.md index 92fefba1..bd36c027 100644 --- a/docs/UpdateSecretVal.md +++ b/docs/UpdateSecretVal.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accessibility** | **String** | for personal password manager | [optional] **customField** | **Map<String, String>** | For Password Management use, additional fields | [optional] -**format** | **String** | Secret format [text/json] (relevant only for type 'generic') | [optional] +**format** | **String** | Secret format [text/json/key-value] (relevant only for type 'generic') | [optional] **injectUrl** | **List<String>** | For Password Management use, reflect the website context | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **keepPrevVersion** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] diff --git a/docs/V2Api.md b/docs/V2Api.md index ccacfb6c..6d851125 100644 --- a/docs/V2Api.md +++ b/docs/V2Api.md @@ -4,11 +4,12 @@ All URIs are relative to *https://api.akeyless.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**aliasDetails**](V2Api.md#aliasDetails) | **GET** /alias-details | [**assocRoleAuthMethod**](V2Api.md#assocRoleAuthMethod) | **POST** /assoc-role-am | [**assocTargetItem**](V2Api.md#assocTargetItem) | **POST** /assoc-target-item | [**auth**](V2Api.md#auth) | **POST** /auth | [**authMethodCreateApiKey**](V2Api.md#authMethodCreateApiKey) | **POST** /auth-method-create-api-key | -[**authMethodCreateAwsIam**](V2Api.md#authMethodCreateAwsIam) | **POST** /auth-method-create-aws | +[**authMethodCreateAwsIam**](V2Api.md#authMethodCreateAwsIam) | **POST** /auth-method-create-aws-iam | [**authMethodCreateAzureAD**](V2Api.md#authMethodCreateAzureAD) | **POST** /auth-method-create-azure-ad | [**authMethodCreateCert**](V2Api.md#authMethodCreateCert) | **POST** /auth-method-create-cert | [**authMethodCreateEmail**](V2Api.md#authMethodCreateEmail) | **POST** /auth-method-create-email | @@ -119,6 +120,7 @@ Method | HTTP request | Description [**describePermissions**](V2Api.md#describePermissions) | **POST** /describe-permissions | [**describeSubClaims**](V2Api.md#describeSubClaims) | **POST** /describe-sub-claims | [**detokenize**](V2Api.md#detokenize) | **POST** /detokenize | +[**detokenizeBatch**](V2Api.md#detokenizeBatch) | **POST** /detokenize-batch | [**dynamicSecretCreateArtifactory**](V2Api.md#dynamicSecretCreateArtifactory) | **POST** /dynamic-secret-create-artifactory | [**dynamicSecretCreateAws**](V2Api.md#dynamicSecretCreateAws) | **POST** /dynamic-secret-create-aws | [**dynamicSecretCreateAzure**](V2Api.md#dynamicSecretCreateAzure) | **POST** /dynamic-secret-create-azure | @@ -426,6 +428,7 @@ Method | HTTP request | Description [**targetCreatePing**](V2Api.md#targetCreatePing) | **POST** /target-create-ping | [**targetCreateRabbitMq**](V2Api.md#targetCreateRabbitMq) | **POST** /target-create-rabbitmq | [**targetCreateSalesforce**](V2Api.md#targetCreateSalesforce) | **POST** /target-create-salesforce | +[**targetCreateSectigo**](V2Api.md#targetCreateSectigo) | **POST** /target-create-sectigo | [**targetCreateSsh**](V2Api.md#targetCreateSsh) | **POST** /target-create-ssh | [**targetCreateWeb**](V2Api.md#targetCreateWeb) | **POST** /target-create-web | [**targetCreateWindows**](V2Api.md#targetCreateWindows) | **POST** /target-create-windows | @@ -454,11 +457,13 @@ Method | HTTP request | Description [**targetUpdatePing**](V2Api.md#targetUpdatePing) | **POST** /target-update-ping | [**targetUpdateRabbitMq**](V2Api.md#targetUpdateRabbitMq) | **POST** /target-update-rabbitmq | [**targetUpdateSalesforce**](V2Api.md#targetUpdateSalesforce) | **POST** /target-update-salesforce | +[**targetUpdateSectigo**](V2Api.md#targetUpdateSectigo) | **POST** /target-update-sectigo | [**targetUpdateSsh**](V2Api.md#targetUpdateSsh) | **POST** /target-update-ssh | [**targetUpdateWeb**](V2Api.md#targetUpdateWeb) | **POST** /target-update-web | [**targetUpdateWindows**](V2Api.md#targetUpdateWindows) | **POST** /target-update-windows | [**targetUpdateZeroSSL**](V2Api.md#targetUpdateZeroSSL) | **POST** /target-update-zerossl | [**tokenize**](V2Api.md#tokenize) | **POST** /tokenize | +[**tokenizeBatch**](V2Api.md#tokenizeBatch) | **POST** /tokenize-batch | [**uidCreateChildToken**](V2Api.md#uidCreateChildToken) | **POST** /uid-create-child-token | [**uidGenerateToken**](V2Api.md#uidGenerateToken) | **POST** /uid-generate-token | [**uidListChildren**](V2Api.md#uidListChildren) | **POST** /uid-list-children | @@ -539,6 +544,67 @@ Method | HTTP request | Description [**verifyRsaSsaPss**](V2Api.md#verifyRsaSsaPss) | **POST** /verify-rsassa-pss | + +# **aliasDetails** +> Object aliasDetails(body) + + + +### Example +```java +// Import classes: +import io.akeyless.client.ApiClient; +import io.akeyless.client.ApiException; +import io.akeyless.client.Configuration; +import io.akeyless.client.models.*; +import io.akeyless.client.api.V2Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.akeyless.io"); + + V2Api apiInstance = new V2Api(defaultClient); + AliasDetails body = new AliasDetails(); // AliasDetails | + try { + Object result = apiInstance.aliasDetails(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling V2Api#aliasDetails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**AliasDetails**](AliasDetails.md)| | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | deleteRoleResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + # **assocRoleAuthMethod** > CreateRoleAuthMethodAssocOutput assocRoleAuthMethod(body) @@ -7556,6 +7622,67 @@ No authorization required **200** | detokenizeResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +# **detokenizeBatch** +> DetokenizeOutput detokenizeBatch(body) + + + +### Example +```java +// Import classes: +import io.akeyless.client.ApiClient; +import io.akeyless.client.ApiException; +import io.akeyless.client.Configuration; +import io.akeyless.client.models.*; +import io.akeyless.client.api.V2Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.akeyless.io"); + + V2Api apiInstance = new V2Api(defaultClient); + List body = Arrays.asList(); // List | + try { + DetokenizeOutput result = apiInstance.detokenizeBatch(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling V2Api#detokenizeBatch"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**List<BatchTokenizationRequestLine>**](BatchTokenizationRequestLine.md)| | + +### Return type + +[**DetokenizeOutput**](DetokenizeOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | detokenizeResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + # **dynamicSecretCreateArtifactory** > DynamicSecretCreateOutput dynamicSecretCreateArtifactory(body) @@ -26269,6 +26396,67 @@ No authorization required **201** | targetCreateSalesforceResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +# **targetCreateSectigo** +> TargetCreateOutput targetCreateSectigo(body) + + + +### Example +```java +// Import classes: +import io.akeyless.client.ApiClient; +import io.akeyless.client.ApiException; +import io.akeyless.client.Configuration; +import io.akeyless.client.models.*; +import io.akeyless.client.api.V2Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.akeyless.io"); + + V2Api apiInstance = new V2Api(defaultClient); + TargetCreateSectigo body = new TargetCreateSectigo(); // TargetCreateSectigo | + try { + TargetCreateOutput result = apiInstance.targetCreateSectigo(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling V2Api#targetCreateSectigo"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**TargetCreateSectigo**](TargetCreateSectigo.md)| | + +### Return type + +[**TargetCreateOutput**](TargetCreateOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | targetCreateSectigoResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + # **targetCreateSsh** > TargetCreateOutput targetCreateSsh(body) @@ -27977,6 +28165,67 @@ No authorization required **201** | targetUpdateSalesforceResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +# **targetUpdateSectigo** +> TargetUpdateOutput targetUpdateSectigo(body) + + + +### Example +```java +// Import classes: +import io.akeyless.client.ApiClient; +import io.akeyless.client.ApiException; +import io.akeyless.client.Configuration; +import io.akeyless.client.models.*; +import io.akeyless.client.api.V2Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.akeyless.io"); + + V2Api apiInstance = new V2Api(defaultClient); + TargetUpdateSectigo body = new TargetUpdateSectigo(); // TargetUpdateSectigo | + try { + TargetUpdateOutput result = apiInstance.targetUpdateSectigo(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling V2Api#targetUpdateSectigo"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**TargetUpdateSectigo**](TargetUpdateSectigo.md)| | + +### Return type + +[**TargetUpdateOutput**](TargetUpdateOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | targetUpdateSectigoResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + # **targetUpdateSsh** > TargetUpdateOutput targetUpdateSsh(body) @@ -28282,6 +28531,67 @@ No authorization required **200** | tokenizeResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +# **tokenizeBatch** +> TokenizeOutput tokenizeBatch(body) + + + +### Example +```java +// Import classes: +import io.akeyless.client.ApiClient; +import io.akeyless.client.ApiException; +import io.akeyless.client.Configuration; +import io.akeyless.client.models.*; +import io.akeyless.client.api.V2Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.akeyless.io"); + + V2Api apiInstance = new V2Api(defaultClient); + List body = Arrays.asList(); // List | + try { + TokenizeOutput result = apiInstance.tokenizeBatch(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling V2Api#tokenizeBatch"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**List<BatchTokenizationRequestLine>**](BatchTokenizationRequestLine.md)| | + +### Return type + +[**TokenizeOutput**](TokenizeOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | tokenizeResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + # **uidCreateChildToken** > UidCreateChildTokenOutput uidCreateChildToken(body) diff --git a/pom.xml b/pom.xml index 403f389e..b921fd80 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ akeyless-java jar akeyless-java - 4.2.2 + 4.2.3 https://github.com/akeylesslabs/akeyless-java Akeyless Java SDK diff --git a/src/main/java/io/akeyless/client/ApiClient.java b/src/main/java/io/akeyless/client/ApiClient.java index 3f290743..6f53c955 100644 --- a/src/main/java/io/akeyless/client/ApiClient.java +++ b/src/main/java/io/akeyless/client/ApiClient.java @@ -129,7 +129,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/4.2.2/java"); + setUserAgent("OpenAPI-Generator/4.2.3/java"); authentications = new HashMap(); } diff --git a/src/main/java/io/akeyless/client/api/V2Api.java b/src/main/java/io/akeyless/client/api/V2Api.java index 3a54bd4f..5a4de8d7 100644 --- a/src/main/java/io/akeyless/client/api/V2Api.java +++ b/src/main/java/io/akeyless/client/api/V2Api.java @@ -28,6 +28,7 @@ import io.akeyless.client.model.AkeylessGatewayConfig; +import io.akeyless.client.model.AliasDetails; import io.akeyless.client.model.AllAnalyticsData; import io.akeyless.client.model.AllowedAccess; import io.akeyless.client.model.AssocRoleAuthMethod; @@ -69,6 +70,7 @@ import io.akeyless.client.model.AuthOutput; import io.akeyless.client.model.BastionsList; import io.akeyless.client.model.BatchEncryptionRequestLine; +import io.akeyless.client.model.BatchTokenizationRequestLine; import io.akeyless.client.model.CacheConfigPart; import io.akeyless.client.model.Configure; import io.akeyless.client.model.ConfigureOutput; @@ -675,6 +677,7 @@ import io.akeyless.client.model.TargetCreatePing; import io.akeyless.client.model.TargetCreateRabbitMq; import io.akeyless.client.model.TargetCreateSalesforce; +import io.akeyless.client.model.TargetCreateSectigo; import io.akeyless.client.model.TargetCreateSsh; import io.akeyless.client.model.TargetCreateWeb; import io.akeyless.client.model.TargetCreateWindows; @@ -704,6 +707,7 @@ import io.akeyless.client.model.TargetUpdatePing; import io.akeyless.client.model.TargetUpdateRabbitMq; import io.akeyless.client.model.TargetUpdateSalesforce; +import io.akeyless.client.model.TargetUpdateSectigo; import io.akeyless.client.model.TargetUpdateSsh; import io.akeyless.client.model.TargetUpdateWeb; import io.akeyless.client.model.TargetUpdateWindows; @@ -879,6 +883,137 @@ public void setCustomBaseUrl(String customBaseUrl) { this.localCustomBaseUrl = customBaseUrl; } + /** + * Build call for aliasDetails + * @param body (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + +
Status Code Description Response Headers
200 deleteRoleResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public okhttp3.Call aliasDetailsCall(AliasDetails body, final ApiCallback _callback) throws ApiException { + String basePath = null; + + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/alias-details"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call aliasDetailsValidateBeforeCall(AliasDetails body, final ApiCallback _callback) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling aliasDetails(Async)"); + } + + + okhttp3.Call localVarCall = aliasDetailsCall(body, _callback); + return localVarCall; + + } + + /** + * + * + * @param body (required) + * @return Object + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
200 deleteRoleResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public Object aliasDetails(AliasDetails body) throws ApiException { + ApiResponse localVarResp = aliasDetailsWithHttpInfo(body); + return localVarResp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<Object> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
200 deleteRoleResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public ApiResponse aliasDetailsWithHttpInfo(AliasDetails body) throws ApiException { + okhttp3.Call localVarCall = aliasDetailsValidateBeforeCall(body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + +
Status Code Description Response Headers
200 deleteRoleResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public okhttp3.Call aliasDetailsAsync(AliasDetails body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = aliasDetailsValidateBeforeCall(body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for assocRoleAuthMethod * @param body (required) @@ -1438,7 +1573,7 @@ public okhttp3.Call authMethodCreateAwsIamCall(AuthMethodCreateAwsIam body, fina Object localVarPostBody = body; // create path and map variables - String localVarPath = "/auth-method-create-aws"; + String localVarPath = "/auth-method-create-aws-iam"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -15952,6 +16087,137 @@ public okhttp3.Call detokenizeAsync(Detokenize body, final ApiCallback + Status Code Description Response Headers + 200 detokenizeResponse wraps response body. - + 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - + + */ + public okhttp3.Call detokenizeBatchCall(List body, final ApiCallback _callback) throws ApiException { + String basePath = null; + + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/detokenize-batch"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call detokenizeBatchValidateBeforeCall(List body, final ApiCallback _callback) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling detokenizeBatch(Async)"); + } + + + okhttp3.Call localVarCall = detokenizeBatchCall(body, _callback); + return localVarCall; + + } + + /** + * + * + * @param body (required) + * @return DetokenizeOutput + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
200 detokenizeResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public DetokenizeOutput detokenizeBatch(List body) throws ApiException { + ApiResponse localVarResp = detokenizeBatchWithHttpInfo(body); + return localVarResp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DetokenizeOutput> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
200 detokenizeResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public ApiResponse detokenizeBatchWithHttpInfo(List body) throws ApiException { + okhttp3.Call localVarCall = detokenizeBatchValidateBeforeCall(body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + +
Status Code Description Response Headers
200 detokenizeResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public okhttp3.Call detokenizeBatchAsync(List body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = detokenizeBatchValidateBeforeCall(body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for dynamicSecretCreateArtifactory * @param body (required) @@ -56033,7 +56299,7 @@ public okhttp3.Call targetCreateSalesforceAsync(TargetCreateSalesforce body, fin return localVarCall; } /** - * Build call for targetCreateSsh + * Build call for targetCreateSectigo * @param body (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -56041,11 +56307,11 @@ public okhttp3.Call targetCreateSalesforceAsync(TargetCreateSalesforce body, fin * @http.response.details - +
Status Code Description Response Headers
201 targetCreateSshResponse wraps response body. -
201 targetCreateSectigoResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
*/ - public okhttp3.Call targetCreateSshCall(TargetCreateSsh body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call targetCreateSectigoCall(TargetCreateSectigo body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -56063,7 +56329,7 @@ public okhttp3.Call targetCreateSshCall(TargetCreateSsh body, final ApiCallback Object localVarPostBody = body; // create path and map variables - String localVarPath = "/target-create-ssh"; + String localVarPath = "/target-create-sectigo"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -56092,15 +56358,15 @@ public okhttp3.Call targetCreateSshCall(TargetCreateSsh body, final ApiCallback } @SuppressWarnings("rawtypes") - private okhttp3.Call targetCreateSshValidateBeforeCall(TargetCreateSsh body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call targetCreateSectigoValidateBeforeCall(TargetCreateSectigo body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling targetCreateSsh(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling targetCreateSectigo(Async)"); } - okhttp3.Call localVarCall = targetCreateSshCall(body, _callback); + okhttp3.Call localVarCall = targetCreateSectigoCall(body, _callback); return localVarCall; } @@ -56114,12 +56380,12 @@ private okhttp3.Call targetCreateSshValidateBeforeCall(TargetCreateSsh body, fin * @http.response.details - +
Status Code Description Response Headers
201 targetCreateSshResponse wraps response body. -
201 targetCreateSectigoResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
*/ - public TargetCreateOutput targetCreateSsh(TargetCreateSsh body) throws ApiException { - ApiResponse localVarResp = targetCreateSshWithHttpInfo(body); + public TargetCreateOutput targetCreateSectigo(TargetCreateSectigo body) throws ApiException { + ApiResponse localVarResp = targetCreateSectigoWithHttpInfo(body); return localVarResp.getData(); } @@ -56132,12 +56398,12 @@ public TargetCreateOutput targetCreateSsh(TargetCreateSsh body) throws ApiExcept * @http.response.details - +
Status Code Description Response Headers
201 targetCreateSshResponse wraps response body. -
201 targetCreateSectigoResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
*/ - public ApiResponse targetCreateSshWithHttpInfo(TargetCreateSsh body) throws ApiException { - okhttp3.Call localVarCall = targetCreateSshValidateBeforeCall(body, null); + public ApiResponse targetCreateSectigoWithHttpInfo(TargetCreateSectigo body) throws ApiException { + okhttp3.Call localVarCall = targetCreateSectigoValidateBeforeCall(body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -56152,19 +56418,19 @@ public ApiResponse targetCreateSshWithHttpInfo(TargetCreateS * @http.response.details - +
Status Code Description Response Headers
201 targetCreateSshResponse wraps response body. -
201 targetCreateSectigoResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
*/ - public okhttp3.Call targetCreateSshAsync(TargetCreateSsh body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call targetCreateSectigoAsync(TargetCreateSectigo body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = targetCreateSshValidateBeforeCall(body, _callback); + okhttp3.Call localVarCall = targetCreateSectigoValidateBeforeCall(body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for targetCreateWeb + * Build call for targetCreateSsh * @param body (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -56172,11 +56438,11 @@ public okhttp3.Call targetCreateSshAsync(TargetCreateSsh body, final ApiCallback * @http.response.details - +
Status Code Description Response Headers
201 targetCreateWebResponse wraps response body. -
201 targetCreateSshResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
*/ - public okhttp3.Call targetCreateWebCall(TargetCreateWeb body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call targetCreateSshCall(TargetCreateSsh body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -56194,7 +56460,138 @@ public okhttp3.Call targetCreateWebCall(TargetCreateWeb body, final ApiCallback Object localVarPostBody = body; // create path and map variables - String localVarPath = "/target-create-web"; + String localVarPath = "/target-create-ssh"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call targetCreateSshValidateBeforeCall(TargetCreateSsh body, final ApiCallback _callback) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling targetCreateSsh(Async)"); + } + + + okhttp3.Call localVarCall = targetCreateSshCall(body, _callback); + return localVarCall; + + } + + /** + * + * + * @param body (required) + * @return TargetCreateOutput + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
201 targetCreateSshResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public TargetCreateOutput targetCreateSsh(TargetCreateSsh body) throws ApiException { + ApiResponse localVarResp = targetCreateSshWithHttpInfo(body); + return localVarResp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<TargetCreateOutput> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
201 targetCreateSshResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public ApiResponse targetCreateSshWithHttpInfo(TargetCreateSsh body) throws ApiException { + okhttp3.Call localVarCall = targetCreateSshValidateBeforeCall(body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + +
Status Code Description Response Headers
201 targetCreateSshResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public okhttp3.Call targetCreateSshAsync(TargetCreateSsh body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = targetCreateSshValidateBeforeCall(body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for targetCreateWeb + * @param body (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + +
Status Code Description Response Headers
201 targetCreateWebResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public okhttp3.Call targetCreateWebCall(TargetCreateWeb body, final ApiCallback _callback) throws ApiException { + String basePath = null; + + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/target-create-web"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -59700,6 +60097,137 @@ public okhttp3.Call targetUpdateSalesforceAsync(TargetUpdateSalesforce body, fin localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for targetUpdateSectigo + * @param body (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + +
Status Code Description Response Headers
201 targetUpdateSectigoResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public okhttp3.Call targetUpdateSectigoCall(TargetUpdateSectigo body, final ApiCallback _callback) throws ApiException { + String basePath = null; + + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/target-update-sectigo"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call targetUpdateSectigoValidateBeforeCall(TargetUpdateSectigo body, final ApiCallback _callback) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling targetUpdateSectigo(Async)"); + } + + + okhttp3.Call localVarCall = targetUpdateSectigoCall(body, _callback); + return localVarCall; + + } + + /** + * + * + * @param body (required) + * @return TargetUpdateOutput + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
201 targetUpdateSectigoResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public TargetUpdateOutput targetUpdateSectigo(TargetUpdateSectigo body) throws ApiException { + ApiResponse localVarResp = targetUpdateSectigoWithHttpInfo(body); + return localVarResp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<TargetUpdateOutput> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
201 targetUpdateSectigoResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public ApiResponse targetUpdateSectigoWithHttpInfo(TargetUpdateSectigo body) throws ApiException { + okhttp3.Call localVarCall = targetUpdateSectigoValidateBeforeCall(body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + +
Status Code Description Response Headers
201 targetUpdateSectigoResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public okhttp3.Call targetUpdateSectigoAsync(TargetUpdateSectigo body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = targetUpdateSectigoValidateBeforeCall(body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for targetUpdateSsh * @param body (required) @@ -60355,6 +60883,137 @@ public okhttp3.Call tokenizeAsync(Tokenize body, final ApiCallback + Status Code Description Response Headers + 200 tokenizeResponse wraps response body. - + 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - + + */ + public okhttp3.Call tokenizeBatchCall(List body, final ApiCallback _callback) throws ApiException { + String basePath = null; + + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/tokenize-batch"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call tokenizeBatchValidateBeforeCall(List body, final ApiCallback _callback) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling tokenizeBatch(Async)"); + } + + + okhttp3.Call localVarCall = tokenizeBatchCall(body, _callback); + return localVarCall; + + } + + /** + * + * + * @param body (required) + * @return TokenizeOutput + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
200 tokenizeResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public TokenizeOutput tokenizeBatch(List body) throws ApiException { + ApiResponse localVarResp = tokenizeBatchWithHttpInfo(body); + return localVarResp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<TokenizeOutput> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Status Code Description Response Headers
200 tokenizeResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public ApiResponse tokenizeBatchWithHttpInfo(List body) throws ApiException { + okhttp3.Call localVarCall = tokenizeBatchValidateBeforeCall(body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + +
Status Code Description Response Headers
200 tokenizeResponse wraps response body. -
0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. -
+ */ + public okhttp3.Call tokenizeBatchAsync(List body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = tokenizeBatchValidateBeforeCall(body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for uidCreateChildToken * @param body (required) diff --git a/src/main/java/io/akeyless/client/model/AWSIAMAccessRules.java b/src/main/java/io/akeyless/client/model/AWSIAMAccessRules.java index be6a9598..49a5650e 100644 --- a/src/main/java/io/akeyless/client/model/AWSIAMAccessRules.java +++ b/src/main/java/io/akeyless/client/model/AWSIAMAccessRules.java @@ -55,6 +55,10 @@ public class AWSIAMAccessRules { @SerializedName(SERIALIZED_NAME_STS_ENDPOINT) private String stsEndpoint; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique_identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public static final String SERIALIZED_NAME_USER_ID = "user_id"; @SerializedName(SERIALIZED_NAME_USER_ID) private List userId = null; @@ -244,6 +248,29 @@ public void setStsEndpoint(String stsEndpoint) { } + public AWSIAMAccessRules uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier to distinguish different users + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier to distinguish different users") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + public AWSIAMAccessRules userId(List userId) { this.userId = userId; @@ -321,13 +348,14 @@ public boolean equals(Object o) { Objects.equals(this.roleId, awSIAMAccessRules.roleId) && Objects.equals(this.roleName, awSIAMAccessRules.roleName) && Objects.equals(this.stsEndpoint, awSIAMAccessRules.stsEndpoint) && + Objects.equals(this.uniqueIdentifier, awSIAMAccessRules.uniqueIdentifier) && Objects.equals(this.userId, awSIAMAccessRules.userId) && Objects.equals(this.userName, awSIAMAccessRules.userName); } @Override public int hashCode() { - return Objects.hash(accountId, arn, resourceId, roleId, roleName, stsEndpoint, userId, userName); + return Objects.hash(accountId, arn, resourceId, roleId, roleName, stsEndpoint, uniqueIdentifier, userId, userName); } @Override @@ -340,6 +368,7 @@ public String toString() { sb.append(" roleId: ").append(toIndentedString(roleId)).append("\n"); sb.append(" roleName: ").append(toIndentedString(roleName)).append("\n"); sb.append(" stsEndpoint: ").append(toIndentedString(stsEndpoint)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); sb.append("}"); diff --git a/src/main/java/io/akeyless/client/model/AliasDetails.java b/src/main/java/io/akeyless/client/model/AliasDetails.java new file mode 100644 index 00000000..dca09d28 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/AliasDetails.java @@ -0,0 +1,158 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * AliasDetails + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class AliasDetails { + public static final String SERIALIZED_NAME_ACCOUNT_ALIAS = "account-alias"; + @SerializedName(SERIALIZED_NAME_ACCOUNT_ALIAS) + private String accountAlias; + + public static final String SERIALIZED_NAME_AUTH_METHOD_NAME = "auth-method-name"; + @SerializedName(SERIALIZED_NAME_AUTH_METHOD_NAME) + private String authMethodName; + + public static final String SERIALIZED_NAME_JSON = "json"; + @SerializedName(SERIALIZED_NAME_JSON) + private Boolean json = false; + + public AliasDetails() { + } + + public AliasDetails accountAlias(String accountAlias) { + + this.accountAlias = accountAlias; + return this; + } + + /** + * Account alias + * @return accountAlias + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Account alias") + + public String getAccountAlias() { + return accountAlias; + } + + + public void setAccountAlias(String accountAlias) { + this.accountAlias = accountAlias; + } + + + public AliasDetails authMethodName(String authMethodName) { + + this.authMethodName = authMethodName; + return this; + } + + /** + * Auth method name + * @return authMethodName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Auth method name") + + public String getAuthMethodName() { + return authMethodName; + } + + + public void setAuthMethodName(String authMethodName) { + this.authMethodName = authMethodName; + } + + + public AliasDetails json(Boolean json) { + + this.json = json; + return this; + } + + /** + * Set output format to JSON + * @return json + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Set output format to JSON") + + public Boolean getJson() { + return json; + } + + + public void setJson(Boolean json) { + this.json = json; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AliasDetails aliasDetails = (AliasDetails) o; + return Objects.equals(this.accountAlias, aliasDetails.accountAlias) && + Objects.equals(this.authMethodName, aliasDetails.authMethodName) && + Objects.equals(this.json, aliasDetails.json); + } + + @Override + public int hashCode() { + return Objects.hash(accountAlias, authMethodName, json); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AliasDetails {\n"); + sb.append(" accountAlias: ").append(toIndentedString(accountAlias)).append("\n"); + sb.append(" authMethodName: ").append(toIndentedString(authMethodName)).append("\n"); + sb.append(" json: ").append(toIndentedString(json)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/AliasDetailsOutput.java b/src/main/java/io/akeyless/client/model/AliasDetailsOutput.java new file mode 100644 index 00000000..be19d10c --- /dev/null +++ b/src/main/java/io/akeyless/client/model/AliasDetailsOutput.java @@ -0,0 +1,129 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * AliasDetailsOutput + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class AliasDetailsOutput { + public static final String SERIALIZED_NAME_ACCESS_TYPE = "access_type"; + @SerializedName(SERIALIZED_NAME_ACCESS_TYPE) + private String accessType; + + public static final String SERIALIZED_NAME_TENANT_TAG = "tenant_tag"; + @SerializedName(SERIALIZED_NAME_TENANT_TAG) + private String tenantTag; + + public AliasDetailsOutput() { + } + + public AliasDetailsOutput accessType(String accessType) { + + this.accessType = accessType; + return this; + } + + /** + * Get accessType + * @return accessType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getAccessType() { + return accessType; + } + + + public void setAccessType(String accessType) { + this.accessType = accessType; + } + + + public AliasDetailsOutput tenantTag(String tenantTag) { + + this.tenantTag = tenantTag; + return this; + } + + /** + * Get tenantTag + * @return tenantTag + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getTenantTag() { + return tenantTag; + } + + + public void setTenantTag(String tenantTag) { + this.tenantTag = tenantTag; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AliasDetailsOutput aliasDetailsOutput = (AliasDetailsOutput) o; + return Objects.equals(this.accessType, aliasDetailsOutput.accessType) && + Objects.equals(this.tenantTag, aliasDetailsOutput.tenantTag); + } + + @Override + public int hashCode() { + return Objects.hash(accessType, tenantTag); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AliasDetailsOutput {\n"); + sb.append(" accessType: ").append(toIndentedString(accessType)).append("\n"); + sb.append(" tenantTag: ").append(toIndentedString(tenantTag)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/AuthMethodCreateAwsIam.java b/src/main/java/io/akeyless/client/model/AuthMethodCreateAwsIam.java index 44b2d0af..64d8909c 100644 --- a/src/main/java/io/akeyless/client/model/AuthMethodCreateAwsIam.java +++ b/src/main/java/io/akeyless/client/model/AuthMethodCreateAwsIam.java @@ -116,6 +116,10 @@ public class AuthMethodCreateAwsIam { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public AuthMethodCreateAwsIam() { } @@ -687,6 +691,29 @@ public void setUidToken(String uidToken) { } + public AuthMethodCreateAwsIam uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -716,12 +743,13 @@ public boolean equals(Object o) { Objects.equals(this.productType, authMethodCreateAwsIam.productType) && Objects.equals(this.stsUrl, authMethodCreateAwsIam.stsUrl) && Objects.equals(this.token, authMethodCreateAwsIam.token) && - Objects.equals(this.uidToken, authMethodCreateAwsIam.uidToken); + Objects.equals(this.uidToken, authMethodCreateAwsIam.uidToken) && + Objects.equals(this.uniqueIdentifier, authMethodCreateAwsIam.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, auditLogsClaims, boundArn, boundAwsAccountId, boundIps, boundResourceId, boundRoleId, boundRoleName, boundUserId, boundUserName, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, productType, stsUrl, token, uidToken); + return Objects.hash(accessExpires, auditLogsClaims, boundArn, boundAwsAccountId, boundIps, boundResourceId, boundRoleId, boundRoleName, boundUserId, boundUserName, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, productType, stsUrl, token, uidToken, uniqueIdentifier); } @Override @@ -749,6 +777,7 @@ public String toString() { sb.append(" stsUrl: ").append(toIndentedString(stsUrl)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/AuthMethodCreateAzureAD.java b/src/main/java/io/akeyless/client/model/AuthMethodCreateAzureAD.java index d6998300..9ceca692 100644 --- a/src/main/java/io/akeyless/client/model/AuthMethodCreateAzureAD.java +++ b/src/main/java/io/akeyless/client/model/AuthMethodCreateAzureAD.java @@ -132,6 +132,10 @@ public class AuthMethodCreateAzureAD { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public AuthMethodCreateAzureAD() { } @@ -806,6 +810,29 @@ public void setUidToken(String uidToken) { } + public AuthMethodCreateAzureAD uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -839,12 +866,13 @@ public boolean equals(Object o) { Objects.equals(this.name, authMethodCreateAzureAD.name) && Objects.equals(this.productType, authMethodCreateAzureAD.productType) && Objects.equals(this.token, authMethodCreateAzureAD.token) && - Objects.equals(this.uidToken, authMethodCreateAzureAD.uidToken); + Objects.equals(this.uidToken, authMethodCreateAzureAD.uidToken) && + Objects.equals(this.uniqueIdentifier, authMethodCreateAzureAD.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, audience, auditLogsClaims, boundGroupId, boundIps, boundProviders, boundResourceId, boundResourceNames, boundResourceTypes, boundRgId, boundSpid, boundSubId, boundTenantId, deleteProtection, description, forceSubClaims, gwBoundIps, issuer, json, jwksUri, jwtTtl, name, productType, token, uidToken); + return Objects.hash(accessExpires, audience, auditLogsClaims, boundGroupId, boundIps, boundProviders, boundResourceId, boundResourceNames, boundResourceTypes, boundRgId, boundSpid, boundSubId, boundTenantId, deleteProtection, description, forceSubClaims, gwBoundIps, issuer, json, jwksUri, jwtTtl, name, productType, token, uidToken, uniqueIdentifier); } @Override @@ -876,6 +904,7 @@ public String toString() { sb.append(" productType: ").append(toIndentedString(productType)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/AuthMethodCreateGcp.java b/src/main/java/io/akeyless/client/model/AuthMethodCreateGcp.java index a9ba9160..e4261fb4 100644 --- a/src/main/java/io/akeyless/client/model/AuthMethodCreateGcp.java +++ b/src/main/java/io/akeyless/client/model/AuthMethodCreateGcp.java @@ -116,6 +116,10 @@ public class AuthMethodCreateGcp { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public AuthMethodCreateGcp() { } @@ -674,6 +678,29 @@ public void setUidToken(String uidToken) { } + public AuthMethodCreateGcp uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -703,12 +730,13 @@ public boolean equals(Object o) { Objects.equals(this.serviceAccountCredsData, authMethodCreateGcp.serviceAccountCredsData) && Objects.equals(this.token, authMethodCreateGcp.token) && Objects.equals(this.type, authMethodCreateGcp.type) && - Objects.equals(this.uidToken, authMethodCreateGcp.uidToken); + Objects.equals(this.uidToken, authMethodCreateGcp.uidToken) && + Objects.equals(this.uniqueIdentifier, authMethodCreateGcp.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, audience, auditLogsClaims, boundIps, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, productType, serviceAccountCredsData, token, type, uidToken); + return Objects.hash(accessExpires, audience, auditLogsClaims, boundIps, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, productType, serviceAccountCredsData, token, type, uidToken, uniqueIdentifier); } @Override @@ -736,6 +764,7 @@ public String toString() { sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/AuthMethodUpdateAwsIam.java b/src/main/java/io/akeyless/client/model/AuthMethodUpdateAwsIam.java index 66d8dff2..a36e9d14 100644 --- a/src/main/java/io/akeyless/client/model/AuthMethodUpdateAwsIam.java +++ b/src/main/java/io/akeyless/client/model/AuthMethodUpdateAwsIam.java @@ -120,6 +120,10 @@ public class AuthMethodUpdateAwsIam { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public AuthMethodUpdateAwsIam() { } @@ -714,6 +718,29 @@ public void setUidToken(String uidToken) { } + public AuthMethodUpdateAwsIam uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -744,12 +771,13 @@ public boolean equals(Object o) { Objects.equals(this.productType, authMethodUpdateAwsIam.productType) && Objects.equals(this.stsUrl, authMethodUpdateAwsIam.stsUrl) && Objects.equals(this.token, authMethodUpdateAwsIam.token) && - Objects.equals(this.uidToken, authMethodUpdateAwsIam.uidToken); + Objects.equals(this.uidToken, authMethodUpdateAwsIam.uidToken) && + Objects.equals(this.uniqueIdentifier, authMethodUpdateAwsIam.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, auditLogsClaims, boundArn, boundAwsAccountId, boundIps, boundResourceId, boundRoleId, boundRoleName, boundUserId, boundUserName, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, newName, productType, stsUrl, token, uidToken); + return Objects.hash(accessExpires, auditLogsClaims, boundArn, boundAwsAccountId, boundIps, boundResourceId, boundRoleId, boundRoleName, boundUserId, boundUserName, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, newName, productType, stsUrl, token, uidToken, uniqueIdentifier); } @Override @@ -778,6 +806,7 @@ public String toString() { sb.append(" stsUrl: ").append(toIndentedString(stsUrl)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/AuthMethodUpdateAzureAD.java b/src/main/java/io/akeyless/client/model/AuthMethodUpdateAzureAD.java index 67954c26..ff9c73cf 100644 --- a/src/main/java/io/akeyless/client/model/AuthMethodUpdateAzureAD.java +++ b/src/main/java/io/akeyless/client/model/AuthMethodUpdateAzureAD.java @@ -136,6 +136,10 @@ public class AuthMethodUpdateAzureAD { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public AuthMethodUpdateAzureAD() { } @@ -833,6 +837,29 @@ public void setUidToken(String uidToken) { } + public AuthMethodUpdateAzureAD uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -867,12 +894,13 @@ public boolean equals(Object o) { Objects.equals(this.newName, authMethodUpdateAzureAD.newName) && Objects.equals(this.productType, authMethodUpdateAzureAD.productType) && Objects.equals(this.token, authMethodUpdateAzureAD.token) && - Objects.equals(this.uidToken, authMethodUpdateAzureAD.uidToken); + Objects.equals(this.uidToken, authMethodUpdateAzureAD.uidToken) && + Objects.equals(this.uniqueIdentifier, authMethodUpdateAzureAD.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, audience, auditLogsClaims, boundGroupId, boundIps, boundProviders, boundResourceId, boundResourceNames, boundResourceTypes, boundRgId, boundSpid, boundSubId, boundTenantId, deleteProtection, description, forceSubClaims, gwBoundIps, issuer, json, jwksUri, jwtTtl, name, newName, productType, token, uidToken); + return Objects.hash(accessExpires, audience, auditLogsClaims, boundGroupId, boundIps, boundProviders, boundResourceId, boundResourceNames, boundResourceTypes, boundRgId, boundSpid, boundSubId, boundTenantId, deleteProtection, description, forceSubClaims, gwBoundIps, issuer, json, jwksUri, jwtTtl, name, newName, productType, token, uidToken, uniqueIdentifier); } @Override @@ -905,6 +933,7 @@ public String toString() { sb.append(" productType: ").append(toIndentedString(productType)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/AuthMethodUpdateGcp.java b/src/main/java/io/akeyless/client/model/AuthMethodUpdateGcp.java index f7d6c51b..1de65ff2 100644 --- a/src/main/java/io/akeyless/client/model/AuthMethodUpdateGcp.java +++ b/src/main/java/io/akeyless/client/model/AuthMethodUpdateGcp.java @@ -120,6 +120,10 @@ public class AuthMethodUpdateGcp { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public AuthMethodUpdateGcp() { } @@ -701,6 +705,29 @@ public void setUidToken(String uidToken) { } + public AuthMethodUpdateGcp uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -731,12 +758,13 @@ public boolean equals(Object o) { Objects.equals(this.serviceAccountCredsData, authMethodUpdateGcp.serviceAccountCredsData) && Objects.equals(this.token, authMethodUpdateGcp.token) && Objects.equals(this.type, authMethodUpdateGcp.type) && - Objects.equals(this.uidToken, authMethodUpdateGcp.uidToken); + Objects.equals(this.uidToken, authMethodUpdateGcp.uidToken) && + Objects.equals(this.uniqueIdentifier, authMethodUpdateGcp.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, audience, auditLogsClaims, boundIps, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, newName, productType, serviceAccountCredsData, token, type, uidToken); + return Objects.hash(accessExpires, audience, auditLogsClaims, boundIps, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, newName, productType, serviceAccountCredsData, token, type, uidToken, uniqueIdentifier); } @Override @@ -765,6 +793,7 @@ public String toString() { sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/AzureADAccessRules.java b/src/main/java/io/akeyless/client/model/AzureADAccessRules.java index e52a5a9d..e44653ed 100644 --- a/src/main/java/io/akeyless/client/model/AzureADAccessRules.java +++ b/src/main/java/io/akeyless/client/model/AzureADAccessRules.java @@ -80,6 +80,10 @@ public class AzureADAccessRules { @SerializedName(SERIALIZED_NAME_JWKS_URI) private String jwksUri; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique_identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public AzureADAccessRules() { } @@ -423,6 +427,29 @@ public void setJwksUri(String jwksUri) { } + public AzureADAccessRules uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier to distinguish different users + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier to distinguish different users") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -443,12 +470,13 @@ public boolean equals(Object o) { Objects.equals(this.boundSubscriptionIds, azureADAccessRules.boundSubscriptionIds) && Objects.equals(this.boundTenantId, azureADAccessRules.boundTenantId) && Objects.equals(this.issuer, azureADAccessRules.issuer) && - Objects.equals(this.jwksUri, azureADAccessRules.jwksUri); + Objects.equals(this.jwksUri, azureADAccessRules.jwksUri) && + Objects.equals(this.uniqueIdentifier, azureADAccessRules.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(adEndpoint, boundGroupIds, boundResourceGroups, boundResourceIds, boundResourceNames, boundResourceProviders, boundResourceTypes, boundServicePrincipalIds, boundSubscriptionIds, boundTenantId, issuer, jwksUri); + return Objects.hash(adEndpoint, boundGroupIds, boundResourceGroups, boundResourceIds, boundResourceNames, boundResourceProviders, boundResourceTypes, boundServicePrincipalIds, boundSubscriptionIds, boundTenantId, issuer, jwksUri, uniqueIdentifier); } @Override @@ -467,6 +495,7 @@ public String toString() { sb.append(" boundTenantId: ").append(toIndentedString(boundTenantId)).append("\n"); sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); sb.append(" jwksUri: ").append(toIndentedString(jwksUri)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/BatchTokenizationRequestLine.java b/src/main/java/io/akeyless/client/model/BatchTokenizationRequestLine.java new file mode 100644 index 00000000..cc667d04 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/BatchTokenizationRequestLine.java @@ -0,0 +1,158 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * BatchTokenizationRequestLine + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class BatchTokenizationRequestLine { + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private String data; + + public static final String SERIALIZED_NAME_ITEM_ID = "item_id"; + @SerializedName(SERIALIZED_NAME_ITEM_ID) + private Long itemId; + + public static final String SERIALIZED_NAME_TWEAK = "tweak"; + @SerializedName(SERIALIZED_NAME_TWEAK) + private String tweak; + + public BatchTokenizationRequestLine() { + } + + public BatchTokenizationRequestLine data(String data) { + + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getData() { + return data; + } + + + public void setData(String data) { + this.data = data; + } + + + public BatchTokenizationRequestLine itemId(Long itemId) { + + this.itemId = itemId; + return this; + } + + /** + * Get itemId + * @return itemId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getItemId() { + return itemId; + } + + + public void setItemId(Long itemId) { + this.itemId = itemId; + } + + + public BatchTokenizationRequestLine tweak(String tweak) { + + this.tweak = tweak; + return this; + } + + /** + * Get tweak + * @return tweak + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getTweak() { + return tweak; + } + + + public void setTweak(String tweak) { + this.tweak = tweak; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BatchTokenizationRequestLine batchTokenizationRequestLine = (BatchTokenizationRequestLine) o; + return Objects.equals(this.data, batchTokenizationRequestLine.data) && + Objects.equals(this.itemId, batchTokenizationRequestLine.itemId) && + Objects.equals(this.tweak, batchTokenizationRequestLine.tweak); + } + + @Override + public int hashCode() { + return Objects.hash(data, itemId, tweak); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BatchTokenizationRequestLine {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n"); + sb.append(" tweak: ").append(toIndentedString(tweak)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/BatchTokenizationResponseLine.java b/src/main/java/io/akeyless/client/model/BatchTokenizationResponseLine.java new file mode 100644 index 00000000..a1a14d35 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/BatchTokenizationResponseLine.java @@ -0,0 +1,158 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * BatchTokenizationResponseLine + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class BatchTokenizationResponseLine { + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private String data; + + public static final String SERIALIZED_NAME_ERROR = "error"; + @SerializedName(SERIALIZED_NAME_ERROR) + private String error; + + public static final String SERIALIZED_NAME_TWEAK = "tweak"; + @SerializedName(SERIALIZED_NAME_TWEAK) + private String tweak; + + public BatchTokenizationResponseLine() { + } + + public BatchTokenizationResponseLine data(String data) { + + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getData() { + return data; + } + + + public void setData(String data) { + this.data = data; + } + + + public BatchTokenizationResponseLine error(String error) { + + this.error = error; + return this; + } + + /** + * Get error + * @return error + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getError() { + return error; + } + + + public void setError(String error) { + this.error = error; + } + + + public BatchTokenizationResponseLine tweak(String tweak) { + + this.tweak = tweak; + return this; + } + + /** + * Get tweak + * @return tweak + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getTweak() { + return tweak; + } + + + public void setTweak(String tweak) { + this.tweak = tweak; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BatchTokenizationResponseLine batchTokenizationResponseLine = (BatchTokenizationResponseLine) o; + return Objects.equals(this.data, batchTokenizationResponseLine.data) && + Objects.equals(this.error, batchTokenizationResponseLine.error) && + Objects.equals(this.tweak, batchTokenizationResponseLine.tweak); + } + + @Override + public int hashCode() { + return Objects.hash(data, error, tweak); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BatchTokenizationResponseLine {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" error: ").append(toIndentedString(error)).append("\n"); + sb.append(" tweak: ").append(toIndentedString(tweak)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/CreateAuthMethodAWSIAM.java b/src/main/java/io/akeyless/client/model/CreateAuthMethodAWSIAM.java index cfb4ce0c..a70e485c 100644 --- a/src/main/java/io/akeyless/client/model/CreateAuthMethodAWSIAM.java +++ b/src/main/java/io/akeyless/client/model/CreateAuthMethodAWSIAM.java @@ -116,6 +116,10 @@ public class CreateAuthMethodAWSIAM { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public CreateAuthMethodAWSIAM() { } @@ -687,6 +691,29 @@ public void setUidToken(String uidToken) { } + public CreateAuthMethodAWSIAM uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -716,12 +743,13 @@ public boolean equals(Object o) { Objects.equals(this.productType, createAuthMethodAWSIAM.productType) && Objects.equals(this.stsUrl, createAuthMethodAWSIAM.stsUrl) && Objects.equals(this.token, createAuthMethodAWSIAM.token) && - Objects.equals(this.uidToken, createAuthMethodAWSIAM.uidToken); + Objects.equals(this.uidToken, createAuthMethodAWSIAM.uidToken) && + Objects.equals(this.uniqueIdentifier, createAuthMethodAWSIAM.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, auditLogsClaims, boundArn, boundAwsAccountId, boundIps, boundResourceId, boundRoleId, boundRoleName, boundUserId, boundUserName, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, productType, stsUrl, token, uidToken); + return Objects.hash(accessExpires, auditLogsClaims, boundArn, boundAwsAccountId, boundIps, boundResourceId, boundRoleId, boundRoleName, boundUserId, boundUserName, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, productType, stsUrl, token, uidToken, uniqueIdentifier); } @Override @@ -749,6 +777,7 @@ public String toString() { sb.append(" stsUrl: ").append(toIndentedString(stsUrl)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/CreateAuthMethodAzureAD.java b/src/main/java/io/akeyless/client/model/CreateAuthMethodAzureAD.java index d99e8896..621662b8 100644 --- a/src/main/java/io/akeyless/client/model/CreateAuthMethodAzureAD.java +++ b/src/main/java/io/akeyless/client/model/CreateAuthMethodAzureAD.java @@ -132,6 +132,10 @@ public class CreateAuthMethodAzureAD { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public CreateAuthMethodAzureAD() { } @@ -806,6 +810,29 @@ public void setUidToken(String uidToken) { } + public CreateAuthMethodAzureAD uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -839,12 +866,13 @@ public boolean equals(Object o) { Objects.equals(this.name, createAuthMethodAzureAD.name) && Objects.equals(this.productType, createAuthMethodAzureAD.productType) && Objects.equals(this.token, createAuthMethodAzureAD.token) && - Objects.equals(this.uidToken, createAuthMethodAzureAD.uidToken); + Objects.equals(this.uidToken, createAuthMethodAzureAD.uidToken) && + Objects.equals(this.uniqueIdentifier, createAuthMethodAzureAD.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, audience, auditLogsClaims, boundGroupId, boundIps, boundProviders, boundResourceId, boundResourceNames, boundResourceTypes, boundRgId, boundSpid, boundSubId, boundTenantId, deleteProtection, description, forceSubClaims, gwBoundIps, issuer, json, jwksUri, jwtTtl, name, productType, token, uidToken); + return Objects.hash(accessExpires, audience, auditLogsClaims, boundGroupId, boundIps, boundProviders, boundResourceId, boundResourceNames, boundResourceTypes, boundRgId, boundSpid, boundSubId, boundTenantId, deleteProtection, description, forceSubClaims, gwBoundIps, issuer, json, jwksUri, jwtTtl, name, productType, token, uidToken, uniqueIdentifier); } @Override @@ -876,6 +904,7 @@ public String toString() { sb.append(" productType: ").append(toIndentedString(productType)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/CreateAuthMethodGCP.java b/src/main/java/io/akeyless/client/model/CreateAuthMethodGCP.java index df35fb15..5db7fcc0 100644 --- a/src/main/java/io/akeyless/client/model/CreateAuthMethodGCP.java +++ b/src/main/java/io/akeyless/client/model/CreateAuthMethodGCP.java @@ -116,6 +116,10 @@ public class CreateAuthMethodGCP { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public CreateAuthMethodGCP() { } @@ -674,6 +678,29 @@ public void setUidToken(String uidToken) { } + public CreateAuthMethodGCP uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -703,12 +730,13 @@ public boolean equals(Object o) { Objects.equals(this.serviceAccountCredsData, createAuthMethodGCP.serviceAccountCredsData) && Objects.equals(this.token, createAuthMethodGCP.token) && Objects.equals(this.type, createAuthMethodGCP.type) && - Objects.equals(this.uidToken, createAuthMethodGCP.uidToken); + Objects.equals(this.uidToken, createAuthMethodGCP.uidToken) && + Objects.equals(this.uniqueIdentifier, createAuthMethodGCP.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, audience, auditLogsClaims, boundIps, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, productType, serviceAccountCredsData, token, type, uidToken); + return Objects.hash(accessExpires, audience, auditLogsClaims, boundIps, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, productType, serviceAccountCredsData, token, type, uidToken, uniqueIdentifier); } @Override @@ -736,6 +764,7 @@ public String toString() { sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/CreateSSHCertIssuer.java b/src/main/java/io/akeyless/client/model/CreateSSHCertIssuer.java index 56feece4..b374b9c7 100644 --- a/src/main/java/io/akeyless/client/model/CreateSSHCertIssuer.java +++ b/src/main/java/io/akeyless/client/model/CreateSSHCertIssuer.java @@ -85,6 +85,10 @@ public class CreateSSHCertIssuer { @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENABLE) private String secureAccessEnable; + public static final String SERIALIZED_NAME_SECURE_ACCESS_ENFORCE_HOSTS_RESTRICTION = "secure-access-enforce-hosts-restriction"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENFORCE_HOSTS_RESTRICTION) + private Boolean secureAccessEnforceHostsRestriction; + public static final String SERIALIZED_NAME_SECURE_ACCESS_HOST = "secure-access-host"; @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_HOST) private List secureAccessHost = null; @@ -431,6 +435,29 @@ public void setSecureAccessEnable(String secureAccessEnable) { } + public CreateSSHCertIssuer secureAccessEnforceHostsRestriction(Boolean secureAccessEnforceHostsRestriction) { + + this.secureAccessEnforceHostsRestriction = secureAccessEnforceHostsRestriction; + return this; + } + + /** + * Enable this flag to enforce connections only to the hosts listed in --secure-access-host + * @return secureAccessEnforceHostsRestriction + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable this flag to enforce connections only to the hosts listed in --secure-access-host") + + public Boolean getSecureAccessEnforceHostsRestriction() { + return secureAccessEnforceHostsRestriction; + } + + + public void setSecureAccessEnforceHostsRestriction(Boolean secureAccessEnforceHostsRestriction) { + this.secureAccessEnforceHostsRestriction = secureAccessEnforceHostsRestriction; + } + + public CreateSSHCertIssuer secureAccessHost(List secureAccessHost) { this.secureAccessHost = secureAccessHost; @@ -684,6 +711,7 @@ public boolean equals(Object o) { Objects.equals(this.secureAccessBastionApi, createSSHCertIssuer.secureAccessBastionApi) && Objects.equals(this.secureAccessBastionSsh, createSSHCertIssuer.secureAccessBastionSsh) && Objects.equals(this.secureAccessEnable, createSSHCertIssuer.secureAccessEnable) && + Objects.equals(this.secureAccessEnforceHostsRestriction, createSSHCertIssuer.secureAccessEnforceHostsRestriction) && Objects.equals(this.secureAccessHost, createSSHCertIssuer.secureAccessHost) && Objects.equals(this.secureAccessSshCredsUser, createSSHCertIssuer.secureAccessSshCredsUser) && Objects.equals(this.secureAccessUseInternalBastion, createSSHCertIssuer.secureAccessUseInternalBastion) && @@ -697,7 +725,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(providerType, allowedUsers, deleteProtection, description, extensions, hostProvider, json, metadata, name, principals, secureAccessBastionApi, secureAccessBastionSsh, secureAccessEnable, secureAccessHost, secureAccessSshCredsUser, secureAccessUseInternalBastion, signerKeyName, tag, target, token, ttl, uidToken); + return Objects.hash(providerType, allowedUsers, deleteProtection, description, extensions, hostProvider, json, metadata, name, principals, secureAccessBastionApi, secureAccessBastionSsh, secureAccessEnable, secureAccessEnforceHostsRestriction, secureAccessHost, secureAccessSshCredsUser, secureAccessUseInternalBastion, signerKeyName, tag, target, token, ttl, uidToken); } @Override @@ -717,6 +745,7 @@ public String toString() { sb.append(" secureAccessBastionApi: ").append(toIndentedString(secureAccessBastionApi)).append("\n"); sb.append(" secureAccessBastionSsh: ").append(toIndentedString(secureAccessBastionSsh)).append("\n"); sb.append(" secureAccessEnable: ").append(toIndentedString(secureAccessEnable)).append("\n"); + sb.append(" secureAccessEnforceHostsRestriction: ").append(toIndentedString(secureAccessEnforceHostsRestriction)).append("\n"); sb.append(" secureAccessHost: ").append(toIndentedString(secureAccessHost)).append("\n"); sb.append(" secureAccessSshCredsUser: ").append(toIndentedString(secureAccessSshCredsUser)).append("\n"); sb.append(" secureAccessUseInternalBastion: ").append(toIndentedString(secureAccessUseInternalBastion)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/CreateSecret.java b/src/main/java/io/akeyless/client/model/CreateSecret.java index f5d61960..597b7370 100644 --- a/src/main/java/io/akeyless/client/model/CreateSecret.java +++ b/src/main/java/io/akeyless/client/model/CreateSecret.java @@ -282,11 +282,11 @@ public CreateSecret format(String format) { } /** - * Secret format [text/json] (relevant only for type 'generic') + * Secret format [text/json/key-value] (relevant only for type 'generic') * @return format **/ @javax.annotation.Nullable - @ApiModelProperty(value = "Secret format [text/json] (relevant only for type 'generic')") + @ApiModelProperty(value = "Secret format [text/json/key-value] (relevant only for type 'generic')") public String getFormat() { return format; diff --git a/src/main/java/io/akeyless/client/model/DynamicSecretCreateAzure.java b/src/main/java/io/akeyless/client/model/DynamicSecretCreateAzure.java index 501220e5..8517c894 100644 --- a/src/main/java/io/akeyless/client/model/DynamicSecretCreateAzure.java +++ b/src/main/java/io/akeyless/client/model/DynamicSecretCreateAzure.java @@ -84,6 +84,10 @@ public class DynamicSecretCreateAzure { @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENABLE) private String secureAccessEnable; + public static final String SERIALIZED_NAME_SECURE_ACCESS_URL = "secure-access-url"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_URL) + private String secureAccessUrl; + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB = "secure-access-web"; @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB) private Boolean secureAccessWeb = true; @@ -438,6 +442,29 @@ public void setSecureAccessEnable(String secureAccessEnable) { } + public DynamicSecretCreateAzure secureAccessUrl(String secureAccessUrl) { + + this.secureAccessUrl = secureAccessUrl; + return this; + } + + /** + * Destination URL to inject secrets + * @return secureAccessUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Destination URL to inject secrets") + + public String getSecureAccessUrl() { + return secureAccessUrl; + } + + + public void setSecureAccessUrl(String secureAccessUrl) { + this.secureAccessUrl = secureAccessUrl; + } + + public DynamicSecretCreateAzure secureAccessWeb(Boolean secureAccessWeb) { this.secureAccessWeb = secureAccessWeb; @@ -767,6 +794,7 @@ public boolean equals(Object o) { Objects.equals(this.passwordLength, dynamicSecretCreateAzure.passwordLength) && Objects.equals(this.producerEncryptionKeyName, dynamicSecretCreateAzure.producerEncryptionKeyName) && Objects.equals(this.secureAccessEnable, dynamicSecretCreateAzure.secureAccessEnable) && + Objects.equals(this.secureAccessUrl, dynamicSecretCreateAzure.secureAccessUrl) && Objects.equals(this.secureAccessWeb, dynamicSecretCreateAzure.secureAccessWeb) && Objects.equals(this.secureAccessWebBrowsing, dynamicSecretCreateAzure.secureAccessWebBrowsing) && Objects.equals(this.secureAccessWebProxy, dynamicSecretCreateAzure.secureAccessWebProxy) && @@ -784,7 +812,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(appObjId, azureClientId, azureClientSecret, azureTenantId, deleteProtection, description, fixedUserClaimKeyname, fixedUserOnly, json, name, passwordLength, producerEncryptionKeyName, secureAccessEnable, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userGroupObjId, userPortalAccess, userPrincipalName, userProgrammaticAccess, userRoleTemplateId, userTtl); + return Objects.hash(appObjId, azureClientId, azureClientSecret, azureTenantId, deleteProtection, description, fixedUserClaimKeyname, fixedUserOnly, json, name, passwordLength, producerEncryptionKeyName, secureAccessEnable, secureAccessUrl, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userGroupObjId, userPortalAccess, userPrincipalName, userProgrammaticAccess, userRoleTemplateId, userTtl); } @Override @@ -804,6 +832,7 @@ public String toString() { sb.append(" passwordLength: ").append(toIndentedString(passwordLength)).append("\n"); sb.append(" producerEncryptionKeyName: ").append(toIndentedString(producerEncryptionKeyName)).append("\n"); sb.append(" secureAccessEnable: ").append(toIndentedString(secureAccessEnable)).append("\n"); + sb.append(" secureAccessUrl: ").append(toIndentedString(secureAccessUrl)).append("\n"); sb.append(" secureAccessWeb: ").append(toIndentedString(secureAccessWeb)).append("\n"); sb.append(" secureAccessWebBrowsing: ").append(toIndentedString(secureAccessWebBrowsing)).append("\n"); sb.append(" secureAccessWebProxy: ").append(toIndentedString(secureAccessWebProxy)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/DynamicSecretCreateGoogleWorkspace.java b/src/main/java/io/akeyless/client/model/DynamicSecretCreateGoogleWorkspace.java index dfc3340f..1f0e72ff 100644 --- a/src/main/java/io/akeyless/client/model/DynamicSecretCreateGoogleWorkspace.java +++ b/src/main/java/io/akeyless/client/model/DynamicSecretCreateGoogleWorkspace.java @@ -80,6 +80,26 @@ public class DynamicSecretCreateGoogleWorkspace { @SerializedName(SERIALIZED_NAME_ROLE_SCOPE) private String roleScope; + public static final String SERIALIZED_NAME_SECURE_ACCESS_ENABLE = "secure-access-enable"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENABLE) + private String secureAccessEnable; + + public static final String SERIALIZED_NAME_SECURE_ACCESS_URL = "secure-access-url"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_URL) + private String secureAccessUrl; + + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB = "secure-access-web"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB) + private Boolean secureAccessWeb = true; + + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB_BROWSING = "secure-access-web-browsing"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB_BROWSING) + private Boolean secureAccessWebBrowsing = false; + + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB_PROXY = "secure-access-web-proxy"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB_PROXY) + private Boolean secureAccessWebProxy = false; + public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) private List tags = null; @@ -379,6 +399,121 @@ public void setRoleScope(String roleScope) { } + public DynamicSecretCreateGoogleWorkspace secureAccessEnable(String secureAccessEnable) { + + this.secureAccessEnable = secureAccessEnable; + return this; + } + + /** + * Enable/Disable secure remote access [true/false] + * @return secureAccessEnable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable/Disable secure remote access [true/false]") + + public String getSecureAccessEnable() { + return secureAccessEnable; + } + + + public void setSecureAccessEnable(String secureAccessEnable) { + this.secureAccessEnable = secureAccessEnable; + } + + + public DynamicSecretCreateGoogleWorkspace secureAccessUrl(String secureAccessUrl) { + + this.secureAccessUrl = secureAccessUrl; + return this; + } + + /** + * Destination URL to inject secrets + * @return secureAccessUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Destination URL to inject secrets") + + public String getSecureAccessUrl() { + return secureAccessUrl; + } + + + public void setSecureAccessUrl(String secureAccessUrl) { + this.secureAccessUrl = secureAccessUrl; + } + + + public DynamicSecretCreateGoogleWorkspace secureAccessWeb(Boolean secureAccessWeb) { + + this.secureAccessWeb = secureAccessWeb; + return this; + } + + /** + * Enable Web Secure Remote Access + * @return secureAccessWeb + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable Web Secure Remote Access") + + public Boolean getSecureAccessWeb() { + return secureAccessWeb; + } + + + public void setSecureAccessWeb(Boolean secureAccessWeb) { + this.secureAccessWeb = secureAccessWeb; + } + + + public DynamicSecretCreateGoogleWorkspace secureAccessWebBrowsing(Boolean secureAccessWebBrowsing) { + + this.secureAccessWebBrowsing = secureAccessWebBrowsing; + return this; + } + + /** + * Secure browser via Akeyless Web Access Bastion + * @return secureAccessWebBrowsing + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Secure browser via Akeyless Web Access Bastion") + + public Boolean getSecureAccessWebBrowsing() { + return secureAccessWebBrowsing; + } + + + public void setSecureAccessWebBrowsing(Boolean secureAccessWebBrowsing) { + this.secureAccessWebBrowsing = secureAccessWebBrowsing; + } + + + public DynamicSecretCreateGoogleWorkspace secureAccessWebProxy(Boolean secureAccessWebProxy) { + + this.secureAccessWebProxy = secureAccessWebProxy; + return this; + } + + /** + * Web-Proxy via Akeyless Web Access Bastion + * @return secureAccessWebProxy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Web-Proxy via Akeyless Web Access Bastion") + + public Boolean getSecureAccessWebProxy() { + return secureAccessWebProxy; + } + + + public void setSecureAccessWebProxy(Boolean secureAccessWebProxy) { + this.secureAccessWebProxy = secureAccessWebProxy; + } + + public DynamicSecretCreateGoogleWorkspace tags(List tags) { this.tags = tags; @@ -523,6 +658,11 @@ public boolean equals(Object o) { Objects.equals(this.producerEncryptionKeyName, dynamicSecretCreateGoogleWorkspace.producerEncryptionKeyName) && Objects.equals(this.roleName, dynamicSecretCreateGoogleWorkspace.roleName) && Objects.equals(this.roleScope, dynamicSecretCreateGoogleWorkspace.roleScope) && + Objects.equals(this.secureAccessEnable, dynamicSecretCreateGoogleWorkspace.secureAccessEnable) && + Objects.equals(this.secureAccessUrl, dynamicSecretCreateGoogleWorkspace.secureAccessUrl) && + Objects.equals(this.secureAccessWeb, dynamicSecretCreateGoogleWorkspace.secureAccessWeb) && + Objects.equals(this.secureAccessWebBrowsing, dynamicSecretCreateGoogleWorkspace.secureAccessWebBrowsing) && + Objects.equals(this.secureAccessWebProxy, dynamicSecretCreateGoogleWorkspace.secureAccessWebProxy) && Objects.equals(this.tags, dynamicSecretCreateGoogleWorkspace.tags) && Objects.equals(this.targetName, dynamicSecretCreateGoogleWorkspace.targetName) && Objects.equals(this.token, dynamicSecretCreateGoogleWorkspace.token) && @@ -532,7 +672,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accessMode, adminEmail, deleteProtection, description, gcpKey, groupEmail, groupRole, json, name, producerEncryptionKeyName, roleName, roleScope, tags, targetName, token, uidToken, userTtl); + return Objects.hash(accessMode, adminEmail, deleteProtection, description, gcpKey, groupEmail, groupRole, json, name, producerEncryptionKeyName, roleName, roleScope, secureAccessEnable, secureAccessUrl, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userTtl); } @Override @@ -551,6 +691,11 @@ public String toString() { sb.append(" producerEncryptionKeyName: ").append(toIndentedString(producerEncryptionKeyName)).append("\n"); sb.append(" roleName: ").append(toIndentedString(roleName)).append("\n"); sb.append(" roleScope: ").append(toIndentedString(roleScope)).append("\n"); + sb.append(" secureAccessEnable: ").append(toIndentedString(secureAccessEnable)).append("\n"); + sb.append(" secureAccessUrl: ").append(toIndentedString(secureAccessUrl)).append("\n"); + sb.append(" secureAccessWeb: ").append(toIndentedString(secureAccessWeb)).append("\n"); + sb.append(" secureAccessWebBrowsing: ").append(toIndentedString(secureAccessWebBrowsing)).append("\n"); + sb.append(" secureAccessWebProxy: ").append(toIndentedString(secureAccessWebProxy)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" targetName: ").append(toIndentedString(targetName)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/DynamicSecretUpdateAzure.java b/src/main/java/io/akeyless/client/model/DynamicSecretUpdateAzure.java index 72f36059..81adb9ce 100644 --- a/src/main/java/io/akeyless/client/model/DynamicSecretUpdateAzure.java +++ b/src/main/java/io/akeyless/client/model/DynamicSecretUpdateAzure.java @@ -88,6 +88,10 @@ public class DynamicSecretUpdateAzure { @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENABLE) private String secureAccessEnable; + public static final String SERIALIZED_NAME_SECURE_ACCESS_URL = "secure-access-url"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_URL) + private String secureAccessUrl; + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB = "secure-access-web"; @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB) private Boolean secureAccessWeb = true; @@ -465,6 +469,29 @@ public void setSecureAccessEnable(String secureAccessEnable) { } + public DynamicSecretUpdateAzure secureAccessUrl(String secureAccessUrl) { + + this.secureAccessUrl = secureAccessUrl; + return this; + } + + /** + * Destination URL to inject secrets + * @return secureAccessUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Destination URL to inject secrets") + + public String getSecureAccessUrl() { + return secureAccessUrl; + } + + + public void setSecureAccessUrl(String secureAccessUrl) { + this.secureAccessUrl = secureAccessUrl; + } + + public DynamicSecretUpdateAzure secureAccessWeb(Boolean secureAccessWeb) { this.secureAccessWeb = secureAccessWeb; @@ -795,6 +822,7 @@ public boolean equals(Object o) { Objects.equals(this.passwordLength, dynamicSecretUpdateAzure.passwordLength) && Objects.equals(this.producerEncryptionKeyName, dynamicSecretUpdateAzure.producerEncryptionKeyName) && Objects.equals(this.secureAccessEnable, dynamicSecretUpdateAzure.secureAccessEnable) && + Objects.equals(this.secureAccessUrl, dynamicSecretUpdateAzure.secureAccessUrl) && Objects.equals(this.secureAccessWeb, dynamicSecretUpdateAzure.secureAccessWeb) && Objects.equals(this.secureAccessWebBrowsing, dynamicSecretUpdateAzure.secureAccessWebBrowsing) && Objects.equals(this.secureAccessWebProxy, dynamicSecretUpdateAzure.secureAccessWebProxy) && @@ -812,7 +840,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(appObjId, azureClientId, azureClientSecret, azureTenantId, deleteProtection, description, fixedUserClaimKeyname, fixedUserOnly, json, name, newName, passwordLength, producerEncryptionKeyName, secureAccessEnable, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userGroupObjId, userPortalAccess, userPrincipalName, userProgrammaticAccess, userRoleTemplateId, userTtl); + return Objects.hash(appObjId, azureClientId, azureClientSecret, azureTenantId, deleteProtection, description, fixedUserClaimKeyname, fixedUserOnly, json, name, newName, passwordLength, producerEncryptionKeyName, secureAccessEnable, secureAccessUrl, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userGroupObjId, userPortalAccess, userPrincipalName, userProgrammaticAccess, userRoleTemplateId, userTtl); } @Override @@ -833,6 +861,7 @@ public String toString() { sb.append(" passwordLength: ").append(toIndentedString(passwordLength)).append("\n"); sb.append(" producerEncryptionKeyName: ").append(toIndentedString(producerEncryptionKeyName)).append("\n"); sb.append(" secureAccessEnable: ").append(toIndentedString(secureAccessEnable)).append("\n"); + sb.append(" secureAccessUrl: ").append(toIndentedString(secureAccessUrl)).append("\n"); sb.append(" secureAccessWeb: ").append(toIndentedString(secureAccessWeb)).append("\n"); sb.append(" secureAccessWebBrowsing: ").append(toIndentedString(secureAccessWebBrowsing)).append("\n"); sb.append(" secureAccessWebProxy: ").append(toIndentedString(secureAccessWebProxy)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/DynamicSecretUpdateGoogleWorkspace.java b/src/main/java/io/akeyless/client/model/DynamicSecretUpdateGoogleWorkspace.java index 441ba685..7ba10f8e 100644 --- a/src/main/java/io/akeyless/client/model/DynamicSecretUpdateGoogleWorkspace.java +++ b/src/main/java/io/akeyless/client/model/DynamicSecretUpdateGoogleWorkspace.java @@ -84,6 +84,26 @@ public class DynamicSecretUpdateGoogleWorkspace { @SerializedName(SERIALIZED_NAME_ROLE_SCOPE) private String roleScope; + public static final String SERIALIZED_NAME_SECURE_ACCESS_ENABLE = "secure-access-enable"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENABLE) + private String secureAccessEnable; + + public static final String SERIALIZED_NAME_SECURE_ACCESS_URL = "secure-access-url"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_URL) + private String secureAccessUrl; + + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB = "secure-access-web"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB) + private Boolean secureAccessWeb = true; + + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB_BROWSING = "secure-access-web-browsing"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB_BROWSING) + private Boolean secureAccessWebBrowsing = false; + + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB_PROXY = "secure-access-web-proxy"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB_PROXY) + private Boolean secureAccessWebProxy = false; + public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) private List tags = null; @@ -406,6 +426,121 @@ public void setRoleScope(String roleScope) { } + public DynamicSecretUpdateGoogleWorkspace secureAccessEnable(String secureAccessEnable) { + + this.secureAccessEnable = secureAccessEnable; + return this; + } + + /** + * Enable/Disable secure remote access [true/false] + * @return secureAccessEnable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable/Disable secure remote access [true/false]") + + public String getSecureAccessEnable() { + return secureAccessEnable; + } + + + public void setSecureAccessEnable(String secureAccessEnable) { + this.secureAccessEnable = secureAccessEnable; + } + + + public DynamicSecretUpdateGoogleWorkspace secureAccessUrl(String secureAccessUrl) { + + this.secureAccessUrl = secureAccessUrl; + return this; + } + + /** + * Destination URL to inject secrets + * @return secureAccessUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Destination URL to inject secrets") + + public String getSecureAccessUrl() { + return secureAccessUrl; + } + + + public void setSecureAccessUrl(String secureAccessUrl) { + this.secureAccessUrl = secureAccessUrl; + } + + + public DynamicSecretUpdateGoogleWorkspace secureAccessWeb(Boolean secureAccessWeb) { + + this.secureAccessWeb = secureAccessWeb; + return this; + } + + /** + * Enable Web Secure Remote Access + * @return secureAccessWeb + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable Web Secure Remote Access") + + public Boolean getSecureAccessWeb() { + return secureAccessWeb; + } + + + public void setSecureAccessWeb(Boolean secureAccessWeb) { + this.secureAccessWeb = secureAccessWeb; + } + + + public DynamicSecretUpdateGoogleWorkspace secureAccessWebBrowsing(Boolean secureAccessWebBrowsing) { + + this.secureAccessWebBrowsing = secureAccessWebBrowsing; + return this; + } + + /** + * Secure browser via Akeyless Web Access Bastion + * @return secureAccessWebBrowsing + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Secure browser via Akeyless Web Access Bastion") + + public Boolean getSecureAccessWebBrowsing() { + return secureAccessWebBrowsing; + } + + + public void setSecureAccessWebBrowsing(Boolean secureAccessWebBrowsing) { + this.secureAccessWebBrowsing = secureAccessWebBrowsing; + } + + + public DynamicSecretUpdateGoogleWorkspace secureAccessWebProxy(Boolean secureAccessWebProxy) { + + this.secureAccessWebProxy = secureAccessWebProxy; + return this; + } + + /** + * Web-Proxy via Akeyless Web Access Bastion + * @return secureAccessWebProxy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Web-Proxy via Akeyless Web Access Bastion") + + public Boolean getSecureAccessWebProxy() { + return secureAccessWebProxy; + } + + + public void setSecureAccessWebProxy(Boolean secureAccessWebProxy) { + this.secureAccessWebProxy = secureAccessWebProxy; + } + + public DynamicSecretUpdateGoogleWorkspace tags(List tags) { this.tags = tags; @@ -551,6 +686,11 @@ public boolean equals(Object o) { Objects.equals(this.producerEncryptionKeyName, dynamicSecretUpdateGoogleWorkspace.producerEncryptionKeyName) && Objects.equals(this.roleName, dynamicSecretUpdateGoogleWorkspace.roleName) && Objects.equals(this.roleScope, dynamicSecretUpdateGoogleWorkspace.roleScope) && + Objects.equals(this.secureAccessEnable, dynamicSecretUpdateGoogleWorkspace.secureAccessEnable) && + Objects.equals(this.secureAccessUrl, dynamicSecretUpdateGoogleWorkspace.secureAccessUrl) && + Objects.equals(this.secureAccessWeb, dynamicSecretUpdateGoogleWorkspace.secureAccessWeb) && + Objects.equals(this.secureAccessWebBrowsing, dynamicSecretUpdateGoogleWorkspace.secureAccessWebBrowsing) && + Objects.equals(this.secureAccessWebProxy, dynamicSecretUpdateGoogleWorkspace.secureAccessWebProxy) && Objects.equals(this.tags, dynamicSecretUpdateGoogleWorkspace.tags) && Objects.equals(this.targetName, dynamicSecretUpdateGoogleWorkspace.targetName) && Objects.equals(this.token, dynamicSecretUpdateGoogleWorkspace.token) && @@ -560,7 +700,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accessMode, adminEmail, deleteProtection, description, gcpKey, groupEmail, groupRole, json, name, newName, producerEncryptionKeyName, roleName, roleScope, tags, targetName, token, uidToken, userTtl); + return Objects.hash(accessMode, adminEmail, deleteProtection, description, gcpKey, groupEmail, groupRole, json, name, newName, producerEncryptionKeyName, roleName, roleScope, secureAccessEnable, secureAccessUrl, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userTtl); } @Override @@ -580,6 +720,11 @@ public String toString() { sb.append(" producerEncryptionKeyName: ").append(toIndentedString(producerEncryptionKeyName)).append("\n"); sb.append(" roleName: ").append(toIndentedString(roleName)).append("\n"); sb.append(" roleScope: ").append(toIndentedString(roleScope)).append("\n"); + sb.append(" secureAccessEnable: ").append(toIndentedString(secureAccessEnable)).append("\n"); + sb.append(" secureAccessUrl: ").append(toIndentedString(secureAccessUrl)).append("\n"); + sb.append(" secureAccessWeb: ").append(toIndentedString(secureAccessWeb)).append("\n"); + sb.append(" secureAccessWebBrowsing: ").append(toIndentedString(secureAccessWebBrowsing)).append("\n"); + sb.append(" secureAccessWebProxy: ").append(toIndentedString(secureAccessWebProxy)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" targetName: ").append(toIndentedString(targetName)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/EventForwarderCreateEmail.java b/src/main/java/io/akeyless/client/model/EventForwarderCreateEmail.java index f7fde440..099d88dc 100644 --- a/src/main/java/io/akeyless/client/model/EventForwarderCreateEmail.java +++ b/src/main/java/io/akeyless/client/model/EventForwarderCreateEmail.java @@ -56,6 +56,10 @@ public class EventForwarderCreateEmail { @SerializedName(SERIALIZED_NAME_GATEWAYS_EVENT_SOURCE_LOCATIONS) private List gatewaysEventSourceLocations = new ArrayList(); + public static final String SERIALIZED_NAME_INCLUDE_ERROR = "include-error"; + @SerializedName(SERIALIZED_NAME_INCLUDE_ERROR) + private String includeError; + public static final String SERIALIZED_NAME_ITEMS_EVENT_SOURCE_LOCATIONS = "items-event-source-locations"; @SerializedName(SERIALIZED_NAME_ITEMS_EVENT_SOURCE_LOCATIONS) private List itemsEventSourceLocations = null; @@ -254,6 +258,29 @@ public void setGatewaysEventSourceLocations(List gatewaysEventSourceLoca } + public EventForwarderCreateEmail includeError(String includeError) { + + this.includeError = includeError; + return this; + } + + /** + * Set this option to include event errors details [true\\false] + * @return includeError + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Set this option to include event errors details [true\\false]") + + public String getIncludeError() { + return includeError; + } + + + public void setIncludeError(String includeError) { + this.includeError = includeError; + } + + public EventForwarderCreateEmail itemsEventSourceLocations(List itemsEventSourceLocations) { this.itemsEventSourceLocations = itemsEventSourceLocations; @@ -492,6 +519,7 @@ public boolean equals(Object o) { Objects.equals(this.eventTypes, eventForwarderCreateEmail.eventTypes) && Objects.equals(this.every, eventForwarderCreateEmail.every) && Objects.equals(this.gatewaysEventSourceLocations, eventForwarderCreateEmail.gatewaysEventSourceLocations) && + Objects.equals(this.includeError, eventForwarderCreateEmail.includeError) && Objects.equals(this.itemsEventSourceLocations, eventForwarderCreateEmail.itemsEventSourceLocations) && Objects.equals(this.json, eventForwarderCreateEmail.json) && Objects.equals(this.key, eventForwarderCreateEmail.key) && @@ -505,7 +533,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(authMethodsEventSourceLocations, description, emailTo, eventTypes, every, gatewaysEventSourceLocations, itemsEventSourceLocations, json, key, name, overrideUrl, runnerType, targetsEventSourceLocations, token, uidToken); + return Objects.hash(authMethodsEventSourceLocations, description, emailTo, eventTypes, every, gatewaysEventSourceLocations, includeError, itemsEventSourceLocations, json, key, name, overrideUrl, runnerType, targetsEventSourceLocations, token, uidToken); } @Override @@ -518,6 +546,7 @@ public String toString() { sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); sb.append(" every: ").append(toIndentedString(every)).append("\n"); sb.append(" gatewaysEventSourceLocations: ").append(toIndentedString(gatewaysEventSourceLocations)).append("\n"); + sb.append(" includeError: ").append(toIndentedString(includeError)).append("\n"); sb.append(" itemsEventSourceLocations: ").append(toIndentedString(itemsEventSourceLocations)).append("\n"); sb.append(" json: ").append(toIndentedString(json)).append("\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/EventForwarderUpdateEmail.java b/src/main/java/io/akeyless/client/model/EventForwarderUpdateEmail.java index fc6855e7..a521a639 100644 --- a/src/main/java/io/akeyless/client/model/EventForwarderUpdateEmail.java +++ b/src/main/java/io/akeyless/client/model/EventForwarderUpdateEmail.java @@ -56,6 +56,10 @@ public class EventForwarderUpdateEmail { @SerializedName(SERIALIZED_NAME_GATEWAYS_EVENT_SOURCE_LOCATIONS) private List gatewaysEventSourceLocations = new ArrayList(); + public static final String SERIALIZED_NAME_INCLUDE_ERROR = "include-error"; + @SerializedName(SERIALIZED_NAME_INCLUDE_ERROR) + private String includeError; + public static final String SERIALIZED_NAME_ITEMS_EVENT_SOURCE_LOCATIONS = "items-event-source-locations"; @SerializedName(SERIALIZED_NAME_ITEMS_EVENT_SOURCE_LOCATIONS) private List itemsEventSourceLocations = null; @@ -258,6 +262,29 @@ public void setGatewaysEventSourceLocations(List gatewaysEventSourceLoca } + public EventForwarderUpdateEmail includeError(String includeError) { + + this.includeError = includeError; + return this; + } + + /** + * Set this option to include event errors details [true\\false] + * @return includeError + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Set this option to include event errors details [true\\false]") + + public String getIncludeError() { + return includeError; + } + + + public void setIncludeError(String includeError) { + this.includeError = includeError; + } + + public EventForwarderUpdateEmail itemsEventSourceLocations(List itemsEventSourceLocations) { this.itemsEventSourceLocations = itemsEventSourceLocations; @@ -519,6 +546,7 @@ public boolean equals(Object o) { Objects.equals(this.enable, eventForwarderUpdateEmail.enable) && Objects.equals(this.eventTypes, eventForwarderUpdateEmail.eventTypes) && Objects.equals(this.gatewaysEventSourceLocations, eventForwarderUpdateEmail.gatewaysEventSourceLocations) && + Objects.equals(this.includeError, eventForwarderUpdateEmail.includeError) && Objects.equals(this.itemsEventSourceLocations, eventForwarderUpdateEmail.itemsEventSourceLocations) && Objects.equals(this.json, eventForwarderUpdateEmail.json) && Objects.equals(this.keepPrevVersion, eventForwarderUpdateEmail.keepPrevVersion) && @@ -533,7 +561,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(authMethodsEventSourceLocations, description, emailTo, enable, eventTypes, gatewaysEventSourceLocations, itemsEventSourceLocations, json, keepPrevVersion, key, name, newName, overrideUrl, targetsEventSourceLocations, token, uidToken); + return Objects.hash(authMethodsEventSourceLocations, description, emailTo, enable, eventTypes, gatewaysEventSourceLocations, includeError, itemsEventSourceLocations, json, keepPrevVersion, key, name, newName, overrideUrl, targetsEventSourceLocations, token, uidToken); } @Override @@ -546,6 +574,7 @@ public String toString() { sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); sb.append(" eventTypes: ").append(toIndentedString(eventTypes)).append("\n"); sb.append(" gatewaysEventSourceLocations: ").append(toIndentedString(gatewaysEventSourceLocations)).append("\n"); + sb.append(" includeError: ").append(toIndentedString(includeError)).append("\n"); sb.append(" itemsEventSourceLocations: ").append(toIndentedString(itemsEventSourceLocations)).append("\n"); sb.append(" json: ").append(toIndentedString(json)).append("\n"); sb.append(" keepPrevVersion: ").append(toIndentedString(keepPrevVersion)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/GCPAccessRules.java b/src/main/java/io/akeyless/client/model/GCPAccessRules.java index 75446ccb..b73d2719 100644 --- a/src/main/java/io/akeyless/client/model/GCPAccessRules.java +++ b/src/main/java/io/akeyless/client/model/GCPAccessRules.java @@ -65,6 +65,10 @@ public class GCPAccessRules { @SerializedName(SERIALIZED_NAME_TYPE) private String type; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique_identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public GCPAccessRules() { } @@ -292,6 +296,29 @@ public void setType(String type) { } + public GCPAccessRules uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier to distinguish different users + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier to distinguish different users") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -308,12 +335,13 @@ public boolean equals(Object o) { Objects.equals(this.boundServiceAccounts, gcPAccessRules.boundServiceAccounts) && Objects.equals(this.boundZones, gcPAccessRules.boundZones) && Objects.equals(this.serviceAccount, gcPAccessRules.serviceAccount) && - Objects.equals(this.type, gcPAccessRules.type); + Objects.equals(this.type, gcPAccessRules.type) && + Objects.equals(this.uniqueIdentifier, gcPAccessRules.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(audience, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, serviceAccount, type); + return Objects.hash(audience, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, serviceAccount, type, uniqueIdentifier); } @Override @@ -328,6 +356,7 @@ public String toString() { sb.append(" boundZones: ").append(toIndentedString(boundZones)).append("\n"); sb.append(" serviceAccount: ").append(toIndentedString(serviceAccount)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/GatewayCreateProducerAzure.java b/src/main/java/io/akeyless/client/model/GatewayCreateProducerAzure.java index 7ed27fda..088f58b6 100644 --- a/src/main/java/io/akeyless/client/model/GatewayCreateProducerAzure.java +++ b/src/main/java/io/akeyless/client/model/GatewayCreateProducerAzure.java @@ -80,6 +80,10 @@ public class GatewayCreateProducerAzure { @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENABLE) private String secureAccessEnable; + public static final String SERIALIZED_NAME_SECURE_ACCESS_URL = "secure-access-url"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_URL) + private String secureAccessUrl; + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB = "secure-access-web"; @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB) private Boolean secureAccessWeb = true; @@ -411,6 +415,29 @@ public void setSecureAccessEnable(String secureAccessEnable) { } + public GatewayCreateProducerAzure secureAccessUrl(String secureAccessUrl) { + + this.secureAccessUrl = secureAccessUrl; + return this; + } + + /** + * Destination URL to inject secrets + * @return secureAccessUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Destination URL to inject secrets") + + public String getSecureAccessUrl() { + return secureAccessUrl; + } + + + public void setSecureAccessUrl(String secureAccessUrl) { + this.secureAccessUrl = secureAccessUrl; + } + + public GatewayCreateProducerAzure secureAccessWeb(Boolean secureAccessWeb) { this.secureAccessWeb = secureAccessWeb; @@ -739,6 +766,7 @@ public boolean equals(Object o) { Objects.equals(this.passwordLength, gatewayCreateProducerAzure.passwordLength) && Objects.equals(this.producerEncryptionKeyName, gatewayCreateProducerAzure.producerEncryptionKeyName) && Objects.equals(this.secureAccessEnable, gatewayCreateProducerAzure.secureAccessEnable) && + Objects.equals(this.secureAccessUrl, gatewayCreateProducerAzure.secureAccessUrl) && Objects.equals(this.secureAccessWeb, gatewayCreateProducerAzure.secureAccessWeb) && Objects.equals(this.secureAccessWebBrowsing, gatewayCreateProducerAzure.secureAccessWebBrowsing) && Objects.equals(this.secureAccessWebProxy, gatewayCreateProducerAzure.secureAccessWebProxy) && @@ -756,7 +784,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(appObjId, azureClientId, azureClientSecret, azureTenantId, deleteProtection, fixedUserClaimKeyname, fixedUserOnly, json, name, passwordLength, producerEncryptionKeyName, secureAccessEnable, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userGroupObjId, userPortalAccess, userPrincipalName, userProgrammaticAccess, userRoleTemplateId, userTtl); + return Objects.hash(appObjId, azureClientId, azureClientSecret, azureTenantId, deleteProtection, fixedUserClaimKeyname, fixedUserOnly, json, name, passwordLength, producerEncryptionKeyName, secureAccessEnable, secureAccessUrl, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userGroupObjId, userPortalAccess, userPrincipalName, userProgrammaticAccess, userRoleTemplateId, userTtl); } @Override @@ -775,6 +803,7 @@ public String toString() { sb.append(" passwordLength: ").append(toIndentedString(passwordLength)).append("\n"); sb.append(" producerEncryptionKeyName: ").append(toIndentedString(producerEncryptionKeyName)).append("\n"); sb.append(" secureAccessEnable: ").append(toIndentedString(secureAccessEnable)).append("\n"); + sb.append(" secureAccessUrl: ").append(toIndentedString(secureAccessUrl)).append("\n"); sb.append(" secureAccessWeb: ").append(toIndentedString(secureAccessWeb)).append("\n"); sb.append(" secureAccessWebBrowsing: ").append(toIndentedString(secureAccessWebBrowsing)).append("\n"); sb.append(" secureAccessWebProxy: ").append(toIndentedString(secureAccessWebProxy)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/GatewayUpdateProducerAzure.java b/src/main/java/io/akeyless/client/model/GatewayUpdateProducerAzure.java index fc9cb629..d8133e59 100644 --- a/src/main/java/io/akeyless/client/model/GatewayUpdateProducerAzure.java +++ b/src/main/java/io/akeyless/client/model/GatewayUpdateProducerAzure.java @@ -84,6 +84,10 @@ public class GatewayUpdateProducerAzure { @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENABLE) private String secureAccessEnable; + public static final String SERIALIZED_NAME_SECURE_ACCESS_URL = "secure-access-url"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_URL) + private String secureAccessUrl; + public static final String SERIALIZED_NAME_SECURE_ACCESS_WEB = "secure-access-web"; @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_WEB) private Boolean secureAccessWeb = true; @@ -438,6 +442,29 @@ public void setSecureAccessEnable(String secureAccessEnable) { } + public GatewayUpdateProducerAzure secureAccessUrl(String secureAccessUrl) { + + this.secureAccessUrl = secureAccessUrl; + return this; + } + + /** + * Destination URL to inject secrets + * @return secureAccessUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Destination URL to inject secrets") + + public String getSecureAccessUrl() { + return secureAccessUrl; + } + + + public void setSecureAccessUrl(String secureAccessUrl) { + this.secureAccessUrl = secureAccessUrl; + } + + public GatewayUpdateProducerAzure secureAccessWeb(Boolean secureAccessWeb) { this.secureAccessWeb = secureAccessWeb; @@ -767,6 +794,7 @@ public boolean equals(Object o) { Objects.equals(this.passwordLength, gatewayUpdateProducerAzure.passwordLength) && Objects.equals(this.producerEncryptionKeyName, gatewayUpdateProducerAzure.producerEncryptionKeyName) && Objects.equals(this.secureAccessEnable, gatewayUpdateProducerAzure.secureAccessEnable) && + Objects.equals(this.secureAccessUrl, gatewayUpdateProducerAzure.secureAccessUrl) && Objects.equals(this.secureAccessWeb, gatewayUpdateProducerAzure.secureAccessWeb) && Objects.equals(this.secureAccessWebBrowsing, gatewayUpdateProducerAzure.secureAccessWebBrowsing) && Objects.equals(this.secureAccessWebProxy, gatewayUpdateProducerAzure.secureAccessWebProxy) && @@ -784,7 +812,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(appObjId, azureClientId, azureClientSecret, azureTenantId, deleteProtection, fixedUserClaimKeyname, fixedUserOnly, json, name, newName, passwordLength, producerEncryptionKeyName, secureAccessEnable, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userGroupObjId, userPortalAccess, userPrincipalName, userProgrammaticAccess, userRoleTemplateId, userTtl); + return Objects.hash(appObjId, azureClientId, azureClientSecret, azureTenantId, deleteProtection, fixedUserClaimKeyname, fixedUserOnly, json, name, newName, passwordLength, producerEncryptionKeyName, secureAccessEnable, secureAccessUrl, secureAccessWeb, secureAccessWebBrowsing, secureAccessWebProxy, tags, targetName, token, uidToken, userGroupObjId, userPortalAccess, userPrincipalName, userProgrammaticAccess, userRoleTemplateId, userTtl); } @Override @@ -804,6 +832,7 @@ public String toString() { sb.append(" passwordLength: ").append(toIndentedString(passwordLength)).append("\n"); sb.append(" producerEncryptionKeyName: ").append(toIndentedString(producerEncryptionKeyName)).append("\n"); sb.append(" secureAccessEnable: ").append(toIndentedString(secureAccessEnable)).append("\n"); + sb.append(" secureAccessUrl: ").append(toIndentedString(secureAccessUrl)).append("\n"); sb.append(" secureAccessWeb: ").append(toIndentedString(secureAccessWeb)).append("\n"); sb.append(" secureAccessWebBrowsing: ").append(toIndentedString(secureAccessWebBrowsing)).append("\n"); sb.append(" secureAccessWebProxy: ").append(toIndentedString(secureAccessWebProxy)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/PathRule.java b/src/main/java/io/akeyless/client/model/PathRule.java index b1f9210d..fbf11c28 100644 --- a/src/main/java/io/akeyless/client/model/PathRule.java +++ b/src/main/java/io/akeyless/client/model/PathRule.java @@ -40,6 +40,10 @@ public class PathRule { @SerializedName(SERIALIZED_NAME_CAPABILITIES) private List capabilities = null; + public static final String SERIALIZED_NAME_CB = "cb"; + @SerializedName(SERIALIZED_NAME_CB) + private Integer cb; + public static final String SERIALIZED_NAME_IS_LIMIT_ACCESS = "is_limit_access"; @SerializedName(SERIALIZED_NAME_IS_LIMIT_ACCESS) private Boolean isLimitAccess; @@ -133,6 +137,29 @@ public void setCapabilities(List capabilities) { } + public PathRule cb(Integer cb) { + + this.cb = cb; + return this; + } + + /** + * Get cb + * @return cb + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getCb() { + return cb; + } + + + public void setCb(Integer cb) { + this.cb = cb; + } + + public PathRule isLimitAccess(Boolean isLimitAccess) { this.isLimitAccess = isLimitAccess; @@ -305,6 +332,7 @@ public boolean equals(Object o) { PathRule pathRule = (PathRule) o; return Objects.equals(this.assigners, pathRule.assigners) && Objects.equals(this.capabilities, pathRule.capabilities) && + Objects.equals(this.cb, pathRule.cb) && Objects.equals(this.isLimitAccess, pathRule.isLimitAccess) && Objects.equals(this.numberOfAccessUsed, pathRule.numberOfAccessUsed) && Objects.equals(this.numberOfAllowedAccess, pathRule.numberOfAllowedAccess) && @@ -316,7 +344,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(assigners, capabilities, isLimitAccess, numberOfAccessUsed, numberOfAllowedAccess, path, startTime, ttl, type); + return Objects.hash(assigners, capabilities, cb, isLimitAccess, numberOfAccessUsed, numberOfAllowedAccess, path, startTime, ttl, type); } @Override @@ -325,6 +353,7 @@ public String toString() { sb.append("class PathRule {\n"); sb.append(" assigners: ").append(toIndentedString(assigners)).append("\n"); sb.append(" capabilities: ").append(toIndentedString(capabilities)).append("\n"); + sb.append(" cb: ").append(toIndentedString(cb)).append("\n"); sb.append(" isLimitAccess: ").append(toIndentedString(isLimitAccess)).append("\n"); sb.append(" numberOfAccessUsed: ").append(toIndentedString(numberOfAccessUsed)).append("\n"); sb.append(" numberOfAllowedAccess: ").append(toIndentedString(numberOfAllowedAccess)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/SectigoTargetDetails.java b/src/main/java/io/akeyless/client/model/SectigoTargetDetails.java new file mode 100644 index 00000000..a7c1e4d1 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/SectigoTargetDetails.java @@ -0,0 +1,275 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * SectigoTargetDetails + */ +@ApiModel(description = "SectigoTargetDetails") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class SectigoTargetDetails { + public static final String SERIALIZED_NAME_CERTIFICATE_PROFILE_ID = "certificate_profile_id"; + @SerializedName(SERIALIZED_NAME_CERTIFICATE_PROFILE_ID) + private Long certificateProfileId; + + public static final String SERIALIZED_NAME_CUSTOMER_URI = "customer_uri"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_URI) + private String customerUri; + + public static final String SERIALIZED_NAME_EXTERNAL_REQUESTER = "external_requester"; + @SerializedName(SERIALIZED_NAME_EXTERNAL_REQUESTER) + private String externalRequester; + + public static final String SERIALIZED_NAME_ORG_ID = "org_id"; + @SerializedName(SERIALIZED_NAME_ORG_ID) + private Long orgId; + + public static final String SERIALIZED_NAME_PASSWORD = "password"; + @SerializedName(SERIALIZED_NAME_PASSWORD) + private String password; + + public static final String SERIALIZED_NAME_TIMEOUT = "timeout"; + @SerializedName(SERIALIZED_NAME_TIMEOUT) + private Long timeout; + + public static final String SERIALIZED_NAME_USERNAME = "username"; + @SerializedName(SERIALIZED_NAME_USERNAME) + private String username; + + public SectigoTargetDetails() { + } + + public SectigoTargetDetails certificateProfileId(Long certificateProfileId) { + + this.certificateProfileId = certificateProfileId; + return this; + } + + /** + * Get certificateProfileId + * @return certificateProfileId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getCertificateProfileId() { + return certificateProfileId; + } + + + public void setCertificateProfileId(Long certificateProfileId) { + this.certificateProfileId = certificateProfileId; + } + + + public SectigoTargetDetails customerUri(String customerUri) { + + this.customerUri = customerUri; + return this; + } + + /** + * Get customerUri + * @return customerUri + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getCustomerUri() { + return customerUri; + } + + + public void setCustomerUri(String customerUri) { + this.customerUri = customerUri; + } + + + public SectigoTargetDetails externalRequester(String externalRequester) { + + this.externalRequester = externalRequester; + return this; + } + + /** + * Get externalRequester + * @return externalRequester + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getExternalRequester() { + return externalRequester; + } + + + public void setExternalRequester(String externalRequester) { + this.externalRequester = externalRequester; + } + + + public SectigoTargetDetails orgId(Long orgId) { + + this.orgId = orgId; + return this; + } + + /** + * Get orgId + * @return orgId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getOrgId() { + return orgId; + } + + + public void setOrgId(Long orgId) { + this.orgId = orgId; + } + + + public SectigoTargetDetails password(String password) { + + this.password = password; + return this; + } + + /** + * Get password + * @return password + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getPassword() { + return password; + } + + + public void setPassword(String password) { + this.password = password; + } + + + public SectigoTargetDetails timeout(Long timeout) { + + this.timeout = timeout; + return this; + } + + /** + * A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. + * @return timeout + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.") + + public Long getTimeout() { + return timeout; + } + + + public void setTimeout(Long timeout) { + this.timeout = timeout; + } + + + public SectigoTargetDetails username(String username) { + + this.username = username; + return this; + } + + /** + * Get username + * @return username + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getUsername() { + return username; + } + + + public void setUsername(String username) { + this.username = username; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SectigoTargetDetails sectigoTargetDetails = (SectigoTargetDetails) o; + return Objects.equals(this.certificateProfileId, sectigoTargetDetails.certificateProfileId) && + Objects.equals(this.customerUri, sectigoTargetDetails.customerUri) && + Objects.equals(this.externalRequester, sectigoTargetDetails.externalRequester) && + Objects.equals(this.orgId, sectigoTargetDetails.orgId) && + Objects.equals(this.password, sectigoTargetDetails.password) && + Objects.equals(this.timeout, sectigoTargetDetails.timeout) && + Objects.equals(this.username, sectigoTargetDetails.username); + } + + @Override + public int hashCode() { + return Objects.hash(certificateProfileId, customerUri, externalRequester, orgId, password, timeout, username); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SectigoTargetDetails {\n"); + sb.append(" certificateProfileId: ").append(toIndentedString(certificateProfileId)).append("\n"); + sb.append(" customerUri: ").append(toIndentedString(customerUri)).append("\n"); + sb.append(" externalRequester: ").append(toIndentedString(externalRequester)).append("\n"); + sb.append(" orgId: ").append(toIndentedString(orgId)).append("\n"); + sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" timeout: ").append(toIndentedString(timeout)).append("\n"); + sb.append(" username: ").append(toIndentedString(username)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/SecureRemoteAccess.java b/src/main/java/io/akeyless/client/model/SecureRemoteAccess.java index 989518b2..441aeb42 100644 --- a/src/main/java/io/akeyless/client/model/SecureRemoteAccess.java +++ b/src/main/java/io/akeyless/client/model/SecureRemoteAccess.java @@ -93,6 +93,10 @@ public class SecureRemoteAccess { @SerializedName(SERIALIZED_NAME_ENDPOINT) private String endpoint; + public static final String SERIALIZED_NAME_ENFORCE_HOSTS_RESTRICTION = "enforce_hosts_restriction"; + @SerializedName(SERIALIZED_NAME_ENFORCE_HOSTS_RESTRICTION) + private Boolean enforceHostsRestriction; + public static final String SERIALIZED_NAME_HOST = "host"; @SerializedName(SERIALIZED_NAME_HOST) private List host = null; @@ -521,6 +525,29 @@ public void setEndpoint(String endpoint) { } + public SecureRemoteAccess enforceHostsRestriction(Boolean enforceHostsRestriction) { + + this.enforceHostsRestriction = enforceHostsRestriction; + return this; + } + + /** + * Get enforceHostsRestriction + * @return enforceHostsRestriction + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEnforceHostsRestriction() { + return enforceHostsRestriction; + } + + + public void setEnforceHostsRestriction(Boolean enforceHostsRestriction) { + this.enforceHostsRestriction = enforceHostsRestriction; + } + + public SecureRemoteAccess host(List host) { this.host = host; @@ -1029,6 +1056,7 @@ public boolean equals(Object o) { Objects.equals(this.domain, secureRemoteAccess.domain) && Objects.equals(this.enable, secureRemoteAccess.enable) && Objects.equals(this.endpoint, secureRemoteAccess.endpoint) && + Objects.equals(this.enforceHostsRestriction, secureRemoteAccess.enforceHostsRestriction) && Objects.equals(this.host, secureRemoteAccess.host) && Objects.equals(this.hostProviderType, secureRemoteAccess.hostProviderType) && Objects.equals(this.isCli, secureRemoteAccess.isCli) && @@ -1053,7 +1081,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountId, allowPortForwarding, allowProvidingExternalUsername, bastionApi, bastionIssuer, bastionIssuerId, bastionSsh, blockConcurrentConnections, blockConcurrentConnectionsLevel, category, dashboardUrl, dbName, domain, enable, endpoint, host, hostProviderType, isCli, isWeb, isolated, _native, rdGatewayServer, rdpUser, region, rotateAfterDisconnect, schema, sshPassword, sshPrivateKey, sshUser, statusInfo, targetHosts, targets, url, useInternalBastion, webProxy); + return Objects.hash(accountId, allowPortForwarding, allowProvidingExternalUsername, bastionApi, bastionIssuer, bastionIssuerId, bastionSsh, blockConcurrentConnections, blockConcurrentConnectionsLevel, category, dashboardUrl, dbName, domain, enable, endpoint, enforceHostsRestriction, host, hostProviderType, isCli, isWeb, isolated, _native, rdGatewayServer, rdpUser, region, rotateAfterDisconnect, schema, sshPassword, sshPrivateKey, sshUser, statusInfo, targetHosts, targets, url, useInternalBastion, webProxy); } @Override @@ -1075,6 +1103,7 @@ public String toString() { sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); sb.append(" endpoint: ").append(toIndentedString(endpoint)).append("\n"); + sb.append(" enforceHostsRestriction: ").append(toIndentedString(enforceHostsRestriction)).append("\n"); sb.append(" host: ").append(toIndentedString(host)).append("\n"); sb.append(" hostProviderType: ").append(toIndentedString(hostProviderType)).append("\n"); sb.append(" isCli: ").append(toIndentedString(isCli)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/TargetCreateSectigo.java b/src/main/java/io/akeyless/client/model/TargetCreateSectigo.java new file mode 100644 index 00000000..2c2140b7 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/TargetCreateSectigo.java @@ -0,0 +1,478 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * targetCreateSectigo is a command that creates a new Sectigo target + */ +@ApiModel(description = "targetCreateSectigo is a command that creates a new Sectigo target") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class TargetCreateSectigo { + public static final String SERIALIZED_NAME_CERTIFICATE_PROFILE_ID = "certificate-profile-id"; + @SerializedName(SERIALIZED_NAME_CERTIFICATE_PROFILE_ID) + private Long certificateProfileId; + + public static final String SERIALIZED_NAME_CUSTOMER_URI = "customer-uri"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_URI) + private String customerUri; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_EXTERNAL_REQUESTER = "external-requester"; + @SerializedName(SERIALIZED_NAME_EXTERNAL_REQUESTER) + private String externalRequester; + + public static final String SERIALIZED_NAME_JSON = "json"; + @SerializedName(SERIALIZED_NAME_JSON) + private Boolean json = false; + + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + private String key; + + public static final String SERIALIZED_NAME_MAX_VERSIONS = "max-versions"; + @SerializedName(SERIALIZED_NAME_MAX_VERSIONS) + private String maxVersions; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_ORGANIZATION_ID = "organization-id"; + @SerializedName(SERIALIZED_NAME_ORGANIZATION_ID) + private Long organizationId; + + public static final String SERIALIZED_NAME_PASSWORD = "password"; + @SerializedName(SERIALIZED_NAME_PASSWORD) + private String password; + + public static final String SERIALIZED_NAME_TIMEOUT = "timeout"; + @SerializedName(SERIALIZED_NAME_TIMEOUT) + private String timeout = "5m"; + + public static final String SERIALIZED_NAME_TOKEN = "token"; + @SerializedName(SERIALIZED_NAME_TOKEN) + private String token; + + public static final String SERIALIZED_NAME_UID_TOKEN = "uid-token"; + @SerializedName(SERIALIZED_NAME_UID_TOKEN) + private String uidToken; + + public static final String SERIALIZED_NAME_USERNAME = "username"; + @SerializedName(SERIALIZED_NAME_USERNAME) + private String username; + + public TargetCreateSectigo() { + } + + public TargetCreateSectigo certificateProfileId(Long certificateProfileId) { + + this.certificateProfileId = certificateProfileId; + return this; + } + + /** + * Certificate Profile ID in Sectigo account + * @return certificateProfileId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Certificate Profile ID in Sectigo account") + + public Long getCertificateProfileId() { + return certificateProfileId; + } + + + public void setCertificateProfileId(Long certificateProfileId) { + this.certificateProfileId = certificateProfileId; + } + + + public TargetCreateSectigo customerUri(String customerUri) { + + this.customerUri = customerUri; + return this; + } + + /** + * Customer Uri of the Sectigo account + * @return customerUri + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Customer Uri of the Sectigo account") + + public String getCustomerUri() { + return customerUri; + } + + + public void setCustomerUri(String customerUri) { + this.customerUri = customerUri; + } + + + public TargetCreateSectigo description(String description) { + + this.description = description; + return this; + } + + /** + * Description of the object + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Description of the object") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public TargetCreateSectigo externalRequester(String externalRequester) { + + this.externalRequester = externalRequester; + return this; + } + + /** + * External Requester - a comma separated list of emails + * @return externalRequester + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "External Requester - a comma separated list of emails") + + public String getExternalRequester() { + return externalRequester; + } + + + public void setExternalRequester(String externalRequester) { + this.externalRequester = externalRequester; + } + + + public TargetCreateSectigo json(Boolean json) { + + this.json = json; + return this; + } + + /** + * Set output format to JSON + * @return json + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Set output format to JSON") + + public Boolean getJson() { + return json; + } + + + public void setJson(Boolean json) { + this.json = json; + } + + + public TargetCreateSectigo key(String key) { + + this.key = key; + return this; + } + + /** + * The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) + * @return key + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)") + + public String getKey() { + return key; + } + + + public void setKey(String key) { + this.key = key; + } + + + public TargetCreateSectigo maxVersions(String maxVersions) { + + this.maxVersions = maxVersions; + return this; + } + + /** + * Set the maximum number of versions, limited by the account settings defaults. + * @return maxVersions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Set the maximum number of versions, limited by the account settings defaults.") + + public String getMaxVersions() { + return maxVersions; + } + + + public void setMaxVersions(String maxVersions) { + this.maxVersions = maxVersions; + } + + + public TargetCreateSectigo name(String name) { + + this.name = name; + return this; + } + + /** + * Target name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Target name") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public TargetCreateSectigo organizationId(Long organizationId) { + + this.organizationId = organizationId; + return this; + } + + /** + * Organization ID in Sectigo account + * @return organizationId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Organization ID in Sectigo account") + + public Long getOrganizationId() { + return organizationId; + } + + + public void setOrganizationId(Long organizationId) { + this.organizationId = organizationId; + } + + + public TargetCreateSectigo password(String password) { + + this.password = password; + return this; + } + + /** + * Password of the Sectigo account user + * @return password + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Password of the Sectigo account user") + + public String getPassword() { + return password; + } + + + public void setPassword(String password) { + this.password = password; + } + + + public TargetCreateSectigo timeout(String timeout) { + + this.timeout = timeout; + return this; + } + + /** + * Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h. + * @return timeout + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h.") + + public String getTimeout() { + return timeout; + } + + + public void setTimeout(String timeout) { + this.timeout = timeout; + } + + + public TargetCreateSectigo token(String token) { + + this.token = token; + return this; + } + + /** + * Authentication token (see `/auth` and `/configure`) + * @return token + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Authentication token (see `/auth` and `/configure`)") + + public String getToken() { + return token; + } + + + public void setToken(String token) { + this.token = token; + } + + + public TargetCreateSectigo uidToken(String uidToken) { + + this.uidToken = uidToken; + return this; + } + + /** + * The universal identity token, Required only for universal_identity authentication + * @return uidToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The universal identity token, Required only for universal_identity authentication") + + public String getUidToken() { + return uidToken; + } + + + public void setUidToken(String uidToken) { + this.uidToken = uidToken; + } + + + public TargetCreateSectigo username(String username) { + + this.username = username; + return this; + } + + /** + * Username of the Sectigo account + * @return username + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Username of the Sectigo account") + + public String getUsername() { + return username; + } + + + public void setUsername(String username) { + this.username = username; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TargetCreateSectigo targetCreateSectigo = (TargetCreateSectigo) o; + return Objects.equals(this.certificateProfileId, targetCreateSectigo.certificateProfileId) && + Objects.equals(this.customerUri, targetCreateSectigo.customerUri) && + Objects.equals(this.description, targetCreateSectigo.description) && + Objects.equals(this.externalRequester, targetCreateSectigo.externalRequester) && + Objects.equals(this.json, targetCreateSectigo.json) && + Objects.equals(this.key, targetCreateSectigo.key) && + Objects.equals(this.maxVersions, targetCreateSectigo.maxVersions) && + Objects.equals(this.name, targetCreateSectigo.name) && + Objects.equals(this.organizationId, targetCreateSectigo.organizationId) && + Objects.equals(this.password, targetCreateSectigo.password) && + Objects.equals(this.timeout, targetCreateSectigo.timeout) && + Objects.equals(this.token, targetCreateSectigo.token) && + Objects.equals(this.uidToken, targetCreateSectigo.uidToken) && + Objects.equals(this.username, targetCreateSectigo.username); + } + + @Override + public int hashCode() { + return Objects.hash(certificateProfileId, customerUri, description, externalRequester, json, key, maxVersions, name, organizationId, password, timeout, token, uidToken, username); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TargetCreateSectigo {\n"); + sb.append(" certificateProfileId: ").append(toIndentedString(certificateProfileId)).append("\n"); + sb.append(" customerUri: ").append(toIndentedString(customerUri)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" externalRequester: ").append(toIndentedString(externalRequester)).append("\n"); + sb.append(" json: ").append(toIndentedString(json)).append("\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" maxVersions: ").append(toIndentedString(maxVersions)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" timeout: ").append(toIndentedString(timeout)).append("\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" username: ").append(toIndentedString(username)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/TargetTypeDetailsInput.java b/src/main/java/io/akeyless/client/model/TargetTypeDetailsInput.java index bd020886..f648fd0d 100644 --- a/src/main/java/io/akeyless/client/model/TargetTypeDetailsInput.java +++ b/src/main/java/io/akeyless/client/model/TargetTypeDetailsInput.java @@ -44,6 +44,7 @@ import io.akeyless.client.model.RabbitMQTargetDetails; import io.akeyless.client.model.SSHTargetDetails; import io.akeyless.client.model.SalesforceTargetDetails; +import io.akeyless.client.model.SectigoTargetDetails; import io.akeyless.client.model.VenafiTargetDetails; import io.akeyless.client.model.WebTargetDetails; import io.akeyless.client.model.WindowsTargetDetails; @@ -149,6 +150,10 @@ public class TargetTypeDetailsInput { @SerializedName(SERIALIZED_NAME_SALESFORCE_TARGET_DETAILS) private SalesforceTargetDetails salesforceTargetDetails; + public static final String SERIALIZED_NAME_SECTIGO_TARGET_DETAILS = "sectigo_target_details"; + @SerializedName(SERIALIZED_NAME_SECTIGO_TARGET_DETAILS) + private SectigoTargetDetails sectigoTargetDetails; + public static final String SERIALIZED_NAME_SSH_TARGET_DETAILS = "ssh_target_details"; @SerializedName(SERIALIZED_NAME_SSH_TARGET_DETAILS) private SSHTargetDetails sshTargetDetails; @@ -701,6 +706,29 @@ public void setSalesforceTargetDetails(SalesforceTargetDetails salesforceTargetD } + public TargetTypeDetailsInput sectigoTargetDetails(SectigoTargetDetails sectigoTargetDetails) { + + this.sectigoTargetDetails = sectigoTargetDetails; + return this; + } + + /** + * Get sectigoTargetDetails + * @return sectigoTargetDetails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public SectigoTargetDetails getSectigoTargetDetails() { + return sectigoTargetDetails; + } + + + public void setSectigoTargetDetails(SectigoTargetDetails sectigoTargetDetails) { + this.sectigoTargetDetails = sectigoTargetDetails; + } + + public TargetTypeDetailsInput sshTargetDetails(SSHTargetDetails sshTargetDetails) { this.sshTargetDetails = sshTargetDetails; @@ -848,6 +876,7 @@ public boolean equals(Object o) { Objects.equals(this.pingTargetDetails, targetTypeDetailsInput.pingTargetDetails) && Objects.equals(this.rabbitMqTargetDetails, targetTypeDetailsInput.rabbitMqTargetDetails) && Objects.equals(this.salesforceTargetDetails, targetTypeDetailsInput.salesforceTargetDetails) && + Objects.equals(this.sectigoTargetDetails, targetTypeDetailsInput.sectigoTargetDetails) && Objects.equals(this.sshTargetDetails, targetTypeDetailsInput.sshTargetDetails) && Objects.equals(this.venafiTargetDetails, targetTypeDetailsInput.venafiTargetDetails) && Objects.equals(this.webTargetDetails, targetTypeDetailsInput.webTargetDetails) && @@ -857,7 +886,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(artifactoryTargetDetails, awsTargetDetails, azureTargetDetails, chefTargetDetails, customTargetDetails, dbTargetDetails, dockerhubTargetDetails, eksTargetDetails, gcpTargetDetails, githubTargetDetails, gitlabTargetDetails, gkeTargetDetails, globalsignAtlasTargetDetails, globalsignTargetDetails, godaddyTargetDetails, hashiVaultTargetDetails, ldapTargetDetails, linkedTargetDetails, mongoDbTargetDetails, nativeK8sTargetDetails, pingTargetDetails, rabbitMqTargetDetails, salesforceTargetDetails, sshTargetDetails, venafiTargetDetails, webTargetDetails, windowsTargetDetails, zerosslTargetDetails); + return Objects.hash(artifactoryTargetDetails, awsTargetDetails, azureTargetDetails, chefTargetDetails, customTargetDetails, dbTargetDetails, dockerhubTargetDetails, eksTargetDetails, gcpTargetDetails, githubTargetDetails, gitlabTargetDetails, gkeTargetDetails, globalsignAtlasTargetDetails, globalsignTargetDetails, godaddyTargetDetails, hashiVaultTargetDetails, ldapTargetDetails, linkedTargetDetails, mongoDbTargetDetails, nativeK8sTargetDetails, pingTargetDetails, rabbitMqTargetDetails, salesforceTargetDetails, sectigoTargetDetails, sshTargetDetails, venafiTargetDetails, webTargetDetails, windowsTargetDetails, zerosslTargetDetails); } @Override @@ -887,6 +916,7 @@ public String toString() { sb.append(" pingTargetDetails: ").append(toIndentedString(pingTargetDetails)).append("\n"); sb.append(" rabbitMqTargetDetails: ").append(toIndentedString(rabbitMqTargetDetails)).append("\n"); sb.append(" salesforceTargetDetails: ").append(toIndentedString(salesforceTargetDetails)).append("\n"); + sb.append(" sectigoTargetDetails: ").append(toIndentedString(sectigoTargetDetails)).append("\n"); sb.append(" sshTargetDetails: ").append(toIndentedString(sshTargetDetails)).append("\n"); sb.append(" venafiTargetDetails: ").append(toIndentedString(venafiTargetDetails)).append("\n"); sb.append(" webTargetDetails: ").append(toIndentedString(webTargetDetails)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/TargetUpdateSectigo.java b/src/main/java/io/akeyless/client/model/TargetUpdateSectigo.java new file mode 100644 index 00000000..aeb11294 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/TargetUpdateSectigo.java @@ -0,0 +1,536 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * targetUpdateSectigo is a command that updates an existing Sectigo target + */ +@ApiModel(description = "targetUpdateSectigo is a command that updates an existing Sectigo target") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class TargetUpdateSectigo { + public static final String SERIALIZED_NAME_CERTIFICATE_PROFILE_ID = "certificate-profile-id"; + @SerializedName(SERIALIZED_NAME_CERTIFICATE_PROFILE_ID) + private Long certificateProfileId; + + public static final String SERIALIZED_NAME_CUSTOMER_URI = "customer-uri"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_URI) + private String customerUri; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_EXTERNAL_REQUESTER = "external-requester"; + @SerializedName(SERIALIZED_NAME_EXTERNAL_REQUESTER) + private String externalRequester; + + public static final String SERIALIZED_NAME_JSON = "json"; + @SerializedName(SERIALIZED_NAME_JSON) + private Boolean json = false; + + public static final String SERIALIZED_NAME_KEEP_PREV_VERSION = "keep-prev-version"; + @SerializedName(SERIALIZED_NAME_KEEP_PREV_VERSION) + private String keepPrevVersion; + + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + private String key; + + public static final String SERIALIZED_NAME_MAX_VERSIONS = "max-versions"; + @SerializedName(SERIALIZED_NAME_MAX_VERSIONS) + private String maxVersions; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_NEW_NAME = "new-name"; + @SerializedName(SERIALIZED_NAME_NEW_NAME) + private String newName; + + public static final String SERIALIZED_NAME_ORGANIZATION_ID = "organization-id"; + @SerializedName(SERIALIZED_NAME_ORGANIZATION_ID) + private Long organizationId; + + public static final String SERIALIZED_NAME_PASSWORD = "password"; + @SerializedName(SERIALIZED_NAME_PASSWORD) + private String password; + + public static final String SERIALIZED_NAME_TIMEOUT = "timeout"; + @SerializedName(SERIALIZED_NAME_TIMEOUT) + private String timeout = "5m"; + + public static final String SERIALIZED_NAME_TOKEN = "token"; + @SerializedName(SERIALIZED_NAME_TOKEN) + private String token; + + public static final String SERIALIZED_NAME_UID_TOKEN = "uid-token"; + @SerializedName(SERIALIZED_NAME_UID_TOKEN) + private String uidToken; + + public static final String SERIALIZED_NAME_USERNAME = "username"; + @SerializedName(SERIALIZED_NAME_USERNAME) + private String username; + + public TargetUpdateSectigo() { + } + + public TargetUpdateSectigo certificateProfileId(Long certificateProfileId) { + + this.certificateProfileId = certificateProfileId; + return this; + } + + /** + * Certificate Profile ID in Sectigo account + * @return certificateProfileId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Certificate Profile ID in Sectigo account") + + public Long getCertificateProfileId() { + return certificateProfileId; + } + + + public void setCertificateProfileId(Long certificateProfileId) { + this.certificateProfileId = certificateProfileId; + } + + + public TargetUpdateSectigo customerUri(String customerUri) { + + this.customerUri = customerUri; + return this; + } + + /** + * Customer Uri of the Sectigo account + * @return customerUri + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Customer Uri of the Sectigo account") + + public String getCustomerUri() { + return customerUri; + } + + + public void setCustomerUri(String customerUri) { + this.customerUri = customerUri; + } + + + public TargetUpdateSectigo description(String description) { + + this.description = description; + return this; + } + + /** + * Description of the object + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Description of the object") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public TargetUpdateSectigo externalRequester(String externalRequester) { + + this.externalRequester = externalRequester; + return this; + } + + /** + * External Requester - a comma separated list of emails + * @return externalRequester + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "External Requester - a comma separated list of emails") + + public String getExternalRequester() { + return externalRequester; + } + + + public void setExternalRequester(String externalRequester) { + this.externalRequester = externalRequester; + } + + + public TargetUpdateSectigo json(Boolean json) { + + this.json = json; + return this; + } + + /** + * Set output format to JSON + * @return json + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Set output format to JSON") + + public Boolean getJson() { + return json; + } + + + public void setJson(Boolean json) { + this.json = json; + } + + + public TargetUpdateSectigo keepPrevVersion(String keepPrevVersion) { + + this.keepPrevVersion = keepPrevVersion; + return this; + } + + /** + * Whether to keep previous version [true/false]. If not set, use default according to account settings + * @return keepPrevVersion + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Whether to keep previous version [true/false]. If not set, use default according to account settings") + + public String getKeepPrevVersion() { + return keepPrevVersion; + } + + + public void setKeepPrevVersion(String keepPrevVersion) { + this.keepPrevVersion = keepPrevVersion; + } + + + public TargetUpdateSectigo key(String key) { + + this.key = key; + return this; + } + + /** + * The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) + * @return key + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)") + + public String getKey() { + return key; + } + + + public void setKey(String key) { + this.key = key; + } + + + public TargetUpdateSectigo maxVersions(String maxVersions) { + + this.maxVersions = maxVersions; + return this; + } + + /** + * Set the maximum number of versions, limited by the account settings defaults. + * @return maxVersions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Set the maximum number of versions, limited by the account settings defaults.") + + public String getMaxVersions() { + return maxVersions; + } + + + public void setMaxVersions(String maxVersions) { + this.maxVersions = maxVersions; + } + + + public TargetUpdateSectigo name(String name) { + + this.name = name; + return this; + } + + /** + * Target name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Target name") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public TargetUpdateSectigo newName(String newName) { + + this.newName = newName; + return this; + } + + /** + * New target name + * @return newName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "New target name") + + public String getNewName() { + return newName; + } + + + public void setNewName(String newName) { + this.newName = newName; + } + + + public TargetUpdateSectigo organizationId(Long organizationId) { + + this.organizationId = organizationId; + return this; + } + + /** + * Organization ID in Sectigo account + * @return organizationId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Organization ID in Sectigo account") + + public Long getOrganizationId() { + return organizationId; + } + + + public void setOrganizationId(Long organizationId) { + this.organizationId = organizationId; + } + + + public TargetUpdateSectigo password(String password) { + + this.password = password; + return this; + } + + /** + * Password of the Sectigo account user + * @return password + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Password of the Sectigo account user") + + public String getPassword() { + return password; + } + + + public void setPassword(String password) { + this.password = password; + } + + + public TargetUpdateSectigo timeout(String timeout) { + + this.timeout = timeout; + return this; + } + + /** + * Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h. + * @return timeout + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h.") + + public String getTimeout() { + return timeout; + } + + + public void setTimeout(String timeout) { + this.timeout = timeout; + } + + + public TargetUpdateSectigo token(String token) { + + this.token = token; + return this; + } + + /** + * Authentication token (see `/auth` and `/configure`) + * @return token + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Authentication token (see `/auth` and `/configure`)") + + public String getToken() { + return token; + } + + + public void setToken(String token) { + this.token = token; + } + + + public TargetUpdateSectigo uidToken(String uidToken) { + + this.uidToken = uidToken; + return this; + } + + /** + * The universal identity token, Required only for universal_identity authentication + * @return uidToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The universal identity token, Required only for universal_identity authentication") + + public String getUidToken() { + return uidToken; + } + + + public void setUidToken(String uidToken) { + this.uidToken = uidToken; + } + + + public TargetUpdateSectigo username(String username) { + + this.username = username; + return this; + } + + /** + * Username of the Sectigo account + * @return username + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Username of the Sectigo account") + + public String getUsername() { + return username; + } + + + public void setUsername(String username) { + this.username = username; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TargetUpdateSectigo targetUpdateSectigo = (TargetUpdateSectigo) o; + return Objects.equals(this.certificateProfileId, targetUpdateSectigo.certificateProfileId) && + Objects.equals(this.customerUri, targetUpdateSectigo.customerUri) && + Objects.equals(this.description, targetUpdateSectigo.description) && + Objects.equals(this.externalRequester, targetUpdateSectigo.externalRequester) && + Objects.equals(this.json, targetUpdateSectigo.json) && + Objects.equals(this.keepPrevVersion, targetUpdateSectigo.keepPrevVersion) && + Objects.equals(this.key, targetUpdateSectigo.key) && + Objects.equals(this.maxVersions, targetUpdateSectigo.maxVersions) && + Objects.equals(this.name, targetUpdateSectigo.name) && + Objects.equals(this.newName, targetUpdateSectigo.newName) && + Objects.equals(this.organizationId, targetUpdateSectigo.organizationId) && + Objects.equals(this.password, targetUpdateSectigo.password) && + Objects.equals(this.timeout, targetUpdateSectigo.timeout) && + Objects.equals(this.token, targetUpdateSectigo.token) && + Objects.equals(this.uidToken, targetUpdateSectigo.uidToken) && + Objects.equals(this.username, targetUpdateSectigo.username); + } + + @Override + public int hashCode() { + return Objects.hash(certificateProfileId, customerUri, description, externalRequester, json, keepPrevVersion, key, maxVersions, name, newName, organizationId, password, timeout, token, uidToken, username); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TargetUpdateSectigo {\n"); + sb.append(" certificateProfileId: ").append(toIndentedString(certificateProfileId)).append("\n"); + sb.append(" customerUri: ").append(toIndentedString(customerUri)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" externalRequester: ").append(toIndentedString(externalRequester)).append("\n"); + sb.append(" json: ").append(toIndentedString(json)).append("\n"); + sb.append(" keepPrevVersion: ").append(toIndentedString(keepPrevVersion)).append("\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" maxVersions: ").append(toIndentedString(maxVersions)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" newName: ").append(toIndentedString(newName)).append("\n"); + sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" timeout: ").append(toIndentedString(timeout)).append("\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" username: ").append(toIndentedString(username)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/UpdateAuthMethodAWSIAM.java b/src/main/java/io/akeyless/client/model/UpdateAuthMethodAWSIAM.java index 35f018e5..12aa96ef 100644 --- a/src/main/java/io/akeyless/client/model/UpdateAuthMethodAWSIAM.java +++ b/src/main/java/io/akeyless/client/model/UpdateAuthMethodAWSIAM.java @@ -120,6 +120,10 @@ public class UpdateAuthMethodAWSIAM { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public UpdateAuthMethodAWSIAM() { } @@ -714,6 +718,29 @@ public void setUidToken(String uidToken) { } + public UpdateAuthMethodAWSIAM uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -744,12 +771,13 @@ public boolean equals(Object o) { Objects.equals(this.productType, updateAuthMethodAWSIAM.productType) && Objects.equals(this.stsUrl, updateAuthMethodAWSIAM.stsUrl) && Objects.equals(this.token, updateAuthMethodAWSIAM.token) && - Objects.equals(this.uidToken, updateAuthMethodAWSIAM.uidToken); + Objects.equals(this.uidToken, updateAuthMethodAWSIAM.uidToken) && + Objects.equals(this.uniqueIdentifier, updateAuthMethodAWSIAM.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, auditLogsClaims, boundArn, boundAwsAccountId, boundIps, boundResourceId, boundRoleId, boundRoleName, boundUserId, boundUserName, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, newName, productType, stsUrl, token, uidToken); + return Objects.hash(accessExpires, auditLogsClaims, boundArn, boundAwsAccountId, boundIps, boundResourceId, boundRoleId, boundRoleName, boundUserId, boundUserName, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, newName, productType, stsUrl, token, uidToken, uniqueIdentifier); } @Override @@ -778,6 +806,7 @@ public String toString() { sb.append(" stsUrl: ").append(toIndentedString(stsUrl)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/UpdateAuthMethodAzureAD.java b/src/main/java/io/akeyless/client/model/UpdateAuthMethodAzureAD.java index 23668ef9..18e7efdf 100644 --- a/src/main/java/io/akeyless/client/model/UpdateAuthMethodAzureAD.java +++ b/src/main/java/io/akeyless/client/model/UpdateAuthMethodAzureAD.java @@ -136,6 +136,10 @@ public class UpdateAuthMethodAzureAD { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public UpdateAuthMethodAzureAD() { } @@ -833,6 +837,29 @@ public void setUidToken(String uidToken) { } + public UpdateAuthMethodAzureAD uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -867,12 +894,13 @@ public boolean equals(Object o) { Objects.equals(this.newName, updateAuthMethodAzureAD.newName) && Objects.equals(this.productType, updateAuthMethodAzureAD.productType) && Objects.equals(this.token, updateAuthMethodAzureAD.token) && - Objects.equals(this.uidToken, updateAuthMethodAzureAD.uidToken); + Objects.equals(this.uidToken, updateAuthMethodAzureAD.uidToken) && + Objects.equals(this.uniqueIdentifier, updateAuthMethodAzureAD.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, audience, auditLogsClaims, boundGroupId, boundIps, boundProviders, boundResourceId, boundResourceNames, boundResourceTypes, boundRgId, boundSpid, boundSubId, boundTenantId, deleteProtection, description, forceSubClaims, gwBoundIps, issuer, json, jwksUri, jwtTtl, name, newName, productType, token, uidToken); + return Objects.hash(accessExpires, audience, auditLogsClaims, boundGroupId, boundIps, boundProviders, boundResourceId, boundResourceNames, boundResourceTypes, boundRgId, boundSpid, boundSubId, boundTenantId, deleteProtection, description, forceSubClaims, gwBoundIps, issuer, json, jwksUri, jwtTtl, name, newName, productType, token, uidToken, uniqueIdentifier); } @Override @@ -905,6 +933,7 @@ public String toString() { sb.append(" productType: ").append(toIndentedString(productType)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/UpdateAuthMethodGCP.java b/src/main/java/io/akeyless/client/model/UpdateAuthMethodGCP.java index 5a95dbe2..a3d62ce8 100644 --- a/src/main/java/io/akeyless/client/model/UpdateAuthMethodGCP.java +++ b/src/main/java/io/akeyless/client/model/UpdateAuthMethodGCP.java @@ -120,6 +120,10 @@ public class UpdateAuthMethodGCP { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_UNIQUE_IDENTIFIER = "unique-identifier"; + @SerializedName(SERIALIZED_NAME_UNIQUE_IDENTIFIER) + private String uniqueIdentifier; + public UpdateAuthMethodGCP() { } @@ -701,6 +705,29 @@ public void setUidToken(String uidToken) { } + public UpdateAuthMethodGCP uniqueIdentifier(String uniqueIdentifier) { + + this.uniqueIdentifier = uniqueIdentifier; + return this; + } + + /** + * A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities. + * @return uniqueIdentifier + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A unique identifier (ID) value which is a \"sub claim\" name that contains details uniquely identifying that resource. This \"sub claim\" is used to distinguish between different identities.") + + public String getUniqueIdentifier() { + return uniqueIdentifier; + } + + + public void setUniqueIdentifier(String uniqueIdentifier) { + this.uniqueIdentifier = uniqueIdentifier; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -731,12 +758,13 @@ public boolean equals(Object o) { Objects.equals(this.serviceAccountCredsData, updateAuthMethodGCP.serviceAccountCredsData) && Objects.equals(this.token, updateAuthMethodGCP.token) && Objects.equals(this.type, updateAuthMethodGCP.type) && - Objects.equals(this.uidToken, updateAuthMethodGCP.uidToken); + Objects.equals(this.uidToken, updateAuthMethodGCP.uidToken) && + Objects.equals(this.uniqueIdentifier, updateAuthMethodGCP.uniqueIdentifier); } @Override public int hashCode() { - return Objects.hash(accessExpires, audience, auditLogsClaims, boundIps, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, newName, productType, serviceAccountCredsData, token, type, uidToken); + return Objects.hash(accessExpires, audience, auditLogsClaims, boundIps, boundLabels, boundProjects, boundRegions, boundServiceAccounts, boundZones, deleteProtection, description, forceSubClaims, gwBoundIps, json, jwtTtl, name, newName, productType, serviceAccountCredsData, token, type, uidToken, uniqueIdentifier); } @Override @@ -765,6 +793,7 @@ public String toString() { sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" uniqueIdentifier: ").append(toIndentedString(uniqueIdentifier)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/UpdateSSHCertIssuer.java b/src/main/java/io/akeyless/client/model/UpdateSSHCertIssuer.java index 9412ed95..9dc01434 100644 --- a/src/main/java/io/akeyless/client/model/UpdateSSHCertIssuer.java +++ b/src/main/java/io/akeyless/client/model/UpdateSSHCertIssuer.java @@ -97,6 +97,10 @@ public class UpdateSSHCertIssuer { @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENABLE) private String secureAccessEnable; + public static final String SERIALIZED_NAME_SECURE_ACCESS_ENFORCE_HOSTS_RESTRICTION = "secure-access-enforce-hosts-restriction"; + @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_ENFORCE_HOSTS_RESTRICTION) + private Boolean secureAccessEnforceHostsRestriction; + public static final String SERIALIZED_NAME_SECURE_ACCESS_HOST = "secure-access-host"; @SerializedName(SERIALIZED_NAME_SECURE_ACCESS_HOST) private List secureAccessHost = null; @@ -520,6 +524,29 @@ public void setSecureAccessEnable(String secureAccessEnable) { } + public UpdateSSHCertIssuer secureAccessEnforceHostsRestriction(Boolean secureAccessEnforceHostsRestriction) { + + this.secureAccessEnforceHostsRestriction = secureAccessEnforceHostsRestriction; + return this; + } + + /** + * Enable this flag to enforce connections only to the hosts listed in --secure-access-host + * @return secureAccessEnforceHostsRestriction + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable this flag to enforce connections only to the hosts listed in --secure-access-host") + + public Boolean getSecureAccessEnforceHostsRestriction() { + return secureAccessEnforceHostsRestriction; + } + + + public void setSecureAccessEnforceHostsRestriction(Boolean secureAccessEnforceHostsRestriction) { + this.secureAccessEnforceHostsRestriction = secureAccessEnforceHostsRestriction; + } + + public UpdateSSHCertIssuer secureAccessHost(List secureAccessHost) { this.secureAccessHost = secureAccessHost; @@ -714,6 +741,7 @@ public boolean equals(Object o) { Objects.equals(this.secureAccessBastionApi, updateSSHCertIssuer.secureAccessBastionApi) && Objects.equals(this.secureAccessBastionSsh, updateSSHCertIssuer.secureAccessBastionSsh) && Objects.equals(this.secureAccessEnable, updateSSHCertIssuer.secureAccessEnable) && + Objects.equals(this.secureAccessEnforceHostsRestriction, updateSSHCertIssuer.secureAccessEnforceHostsRestriction) && Objects.equals(this.secureAccessHost, updateSSHCertIssuer.secureAccessHost) && Objects.equals(this.secureAccessSshCredsUser, updateSSHCertIssuer.secureAccessSshCredsUser) && Objects.equals(this.secureAccessUseInternalBastion, updateSSHCertIssuer.secureAccessUseInternalBastion) && @@ -725,7 +753,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(providerType, addTag, allowedUsers, deleteProtection, description, extensions, hostProvider, json, metadata, name, newName, principals, rmTag, secureAccessBastionApi, secureAccessBastionSsh, secureAccessEnable, secureAccessHost, secureAccessSshCredsUser, secureAccessUseInternalBastion, signerKeyName, token, ttl, uidToken); + return Objects.hash(providerType, addTag, allowedUsers, deleteProtection, description, extensions, hostProvider, json, metadata, name, newName, principals, rmTag, secureAccessBastionApi, secureAccessBastionSsh, secureAccessEnable, secureAccessEnforceHostsRestriction, secureAccessHost, secureAccessSshCredsUser, secureAccessUseInternalBastion, signerKeyName, token, ttl, uidToken); } @Override @@ -748,6 +776,7 @@ public String toString() { sb.append(" secureAccessBastionApi: ").append(toIndentedString(secureAccessBastionApi)).append("\n"); sb.append(" secureAccessBastionSsh: ").append(toIndentedString(secureAccessBastionSsh)).append("\n"); sb.append(" secureAccessEnable: ").append(toIndentedString(secureAccessEnable)).append("\n"); + sb.append(" secureAccessEnforceHostsRestriction: ").append(toIndentedString(secureAccessEnforceHostsRestriction)).append("\n"); sb.append(" secureAccessHost: ").append(toIndentedString(secureAccessHost)).append("\n"); sb.append(" secureAccessSshCredsUser: ").append(toIndentedString(secureAccessSshCredsUser)).append("\n"); sb.append(" secureAccessUseInternalBastion: ").append(toIndentedString(secureAccessUseInternalBastion)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/UpdateSecretVal.java b/src/main/java/io/akeyless/client/model/UpdateSecretVal.java index 03695321..dc87b36d 100644 --- a/src/main/java/io/akeyless/client/model/UpdateSecretVal.java +++ b/src/main/java/io/akeyless/client/model/UpdateSecretVal.java @@ -161,11 +161,11 @@ public UpdateSecretVal format(String format) { } /** - * Secret format [text/json] (relevant only for type 'generic') + * Secret format [text/json/key-value] (relevant only for type 'generic') * @return format **/ @javax.annotation.Nullable - @ApiModelProperty(value = "Secret format [text/json] (relevant only for type 'generic')") + @ApiModelProperty(value = "Secret format [text/json/key-value] (relevant only for type 'generic')") public String getFormat() { return format; diff --git a/src/test/java/io/akeyless/client/model/AliasDetailsOutputTest.java b/src/test/java/io/akeyless/client/model/AliasDetailsOutputTest.java new file mode 100644 index 00000000..8a8826ed --- /dev/null +++ b/src/test/java/io/akeyless/client/model/AliasDetailsOutputTest.java @@ -0,0 +1,59 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for AliasDetailsOutput + */ +public class AliasDetailsOutputTest { + private final AliasDetailsOutput model = new AliasDetailsOutput(); + + /** + * Model tests for AliasDetailsOutput + */ + @Test + public void testAliasDetailsOutput() { + // TODO: test AliasDetailsOutput + } + + /** + * Test the property 'accessType' + */ + @Test + public void accessTypeTest() { + // TODO: test accessType + } + + /** + * Test the property 'tenantTag' + */ + @Test + public void tenantTagTest() { + // TODO: test tenantTag + } + +} diff --git a/src/test/java/io/akeyless/client/model/AliasDetailsTest.java b/src/test/java/io/akeyless/client/model/AliasDetailsTest.java new file mode 100644 index 00000000..198dbb52 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/AliasDetailsTest.java @@ -0,0 +1,67 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for AliasDetails + */ +public class AliasDetailsTest { + private final AliasDetails model = new AliasDetails(); + + /** + * Model tests for AliasDetails + */ + @Test + public void testAliasDetails() { + // TODO: test AliasDetails + } + + /** + * Test the property 'accountAlias' + */ + @Test + public void accountAliasTest() { + // TODO: test accountAlias + } + + /** + * Test the property 'authMethodName' + */ + @Test + public void authMethodNameTest() { + // TODO: test authMethodName + } + + /** + * Test the property 'json' + */ + @Test + public void jsonTest() { + // TODO: test json + } + +} diff --git a/src/test/java/io/akeyless/client/model/BatchTokenizationRequestLineTest.java b/src/test/java/io/akeyless/client/model/BatchTokenizationRequestLineTest.java new file mode 100644 index 00000000..2817dfb8 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/BatchTokenizationRequestLineTest.java @@ -0,0 +1,67 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for BatchTokenizationRequestLine + */ +public class BatchTokenizationRequestLineTest { + private final BatchTokenizationRequestLine model = new BatchTokenizationRequestLine(); + + /** + * Model tests for BatchTokenizationRequestLine + */ + @Test + public void testBatchTokenizationRequestLine() { + // TODO: test BatchTokenizationRequestLine + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'itemId' + */ + @Test + public void itemIdTest() { + // TODO: test itemId + } + + /** + * Test the property 'tweak' + */ + @Test + public void tweakTest() { + // TODO: test tweak + } + +} diff --git a/src/test/java/io/akeyless/client/model/BatchTokenizationResponseLineTest.java b/src/test/java/io/akeyless/client/model/BatchTokenizationResponseLineTest.java new file mode 100644 index 00000000..9bb473b1 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/BatchTokenizationResponseLineTest.java @@ -0,0 +1,67 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for BatchTokenizationResponseLine + */ +public class BatchTokenizationResponseLineTest { + private final BatchTokenizationResponseLine model = new BatchTokenizationResponseLine(); + + /** + * Model tests for BatchTokenizationResponseLine + */ + @Test + public void testBatchTokenizationResponseLine() { + // TODO: test BatchTokenizationResponseLine + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'error' + */ + @Test + public void errorTest() { + // TODO: test error + } + + /** + * Test the property 'tweak' + */ + @Test + public void tweakTest() { + // TODO: test tweak + } + +} diff --git a/src/test/java/io/akeyless/client/model/SectigoTargetDetailsTest.java b/src/test/java/io/akeyless/client/model/SectigoTargetDetailsTest.java new file mode 100644 index 00000000..f01f4dd1 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/SectigoTargetDetailsTest.java @@ -0,0 +1,99 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for SectigoTargetDetails + */ +public class SectigoTargetDetailsTest { + private final SectigoTargetDetails model = new SectigoTargetDetails(); + + /** + * Model tests for SectigoTargetDetails + */ + @Test + public void testSectigoTargetDetails() { + // TODO: test SectigoTargetDetails + } + + /** + * Test the property 'certificateProfileId' + */ + @Test + public void certificateProfileIdTest() { + // TODO: test certificateProfileId + } + + /** + * Test the property 'customerUri' + */ + @Test + public void customerUriTest() { + // TODO: test customerUri + } + + /** + * Test the property 'externalRequester' + */ + @Test + public void externalRequesterTest() { + // TODO: test externalRequester + } + + /** + * Test the property 'orgId' + */ + @Test + public void orgIdTest() { + // TODO: test orgId + } + + /** + * Test the property 'password' + */ + @Test + public void passwordTest() { + // TODO: test password + } + + /** + * Test the property 'timeout' + */ + @Test + public void timeoutTest() { + // TODO: test timeout + } + + /** + * Test the property 'username' + */ + @Test + public void usernameTest() { + // TODO: test username + } + +} diff --git a/src/test/java/io/akeyless/client/model/TargetCreateSectigoTest.java b/src/test/java/io/akeyless/client/model/TargetCreateSectigoTest.java new file mode 100644 index 00000000..e58aaab7 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/TargetCreateSectigoTest.java @@ -0,0 +1,155 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for TargetCreateSectigo + */ +public class TargetCreateSectigoTest { + private final TargetCreateSectigo model = new TargetCreateSectigo(); + + /** + * Model tests for TargetCreateSectigo + */ + @Test + public void testTargetCreateSectigo() { + // TODO: test TargetCreateSectigo + } + + /** + * Test the property 'certificateProfileId' + */ + @Test + public void certificateProfileIdTest() { + // TODO: test certificateProfileId + } + + /** + * Test the property 'customerUri' + */ + @Test + public void customerUriTest() { + // TODO: test customerUri + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'externalRequester' + */ + @Test + public void externalRequesterTest() { + // TODO: test externalRequester + } + + /** + * Test the property 'json' + */ + @Test + public void jsonTest() { + // TODO: test json + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'maxVersions' + */ + @Test + public void maxVersionsTest() { + // TODO: test maxVersions + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'organizationId' + */ + @Test + public void organizationIdTest() { + // TODO: test organizationId + } + + /** + * Test the property 'password' + */ + @Test + public void passwordTest() { + // TODO: test password + } + + /** + * Test the property 'timeout' + */ + @Test + public void timeoutTest() { + // TODO: test timeout + } + + /** + * Test the property 'token' + */ + @Test + public void tokenTest() { + // TODO: test token + } + + /** + * Test the property 'uidToken' + */ + @Test + public void uidTokenTest() { + // TODO: test uidToken + } + + /** + * Test the property 'username' + */ + @Test + public void usernameTest() { + // TODO: test username + } + +} diff --git a/src/test/java/io/akeyless/client/model/TargetUpdateSectigoTest.java b/src/test/java/io/akeyless/client/model/TargetUpdateSectigoTest.java new file mode 100644 index 00000000..a0bb16ad --- /dev/null +++ b/src/test/java/io/akeyless/client/model/TargetUpdateSectigoTest.java @@ -0,0 +1,171 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for TargetUpdateSectigo + */ +public class TargetUpdateSectigoTest { + private final TargetUpdateSectigo model = new TargetUpdateSectigo(); + + /** + * Model tests for TargetUpdateSectigo + */ + @Test + public void testTargetUpdateSectigo() { + // TODO: test TargetUpdateSectigo + } + + /** + * Test the property 'certificateProfileId' + */ + @Test + public void certificateProfileIdTest() { + // TODO: test certificateProfileId + } + + /** + * Test the property 'customerUri' + */ + @Test + public void customerUriTest() { + // TODO: test customerUri + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'externalRequester' + */ + @Test + public void externalRequesterTest() { + // TODO: test externalRequester + } + + /** + * Test the property 'json' + */ + @Test + public void jsonTest() { + // TODO: test json + } + + /** + * Test the property 'keepPrevVersion' + */ + @Test + public void keepPrevVersionTest() { + // TODO: test keepPrevVersion + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'maxVersions' + */ + @Test + public void maxVersionsTest() { + // TODO: test maxVersions + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'newName' + */ + @Test + public void newNameTest() { + // TODO: test newName + } + + /** + * Test the property 'organizationId' + */ + @Test + public void organizationIdTest() { + // TODO: test organizationId + } + + /** + * Test the property 'password' + */ + @Test + public void passwordTest() { + // TODO: test password + } + + /** + * Test the property 'timeout' + */ + @Test + public void timeoutTest() { + // TODO: test timeout + } + + /** + * Test the property 'token' + */ + @Test + public void tokenTest() { + // TODO: test token + } + + /** + * Test the property 'uidToken' + */ + @Test + public void uidTokenTest() { + // TODO: test uidToken + } + + /** + * Test the property 'username' + */ + @Test + public void usernameTest() { + // TODO: test username + } + +}