Skip to content

Commit

Permalink
Release v4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
akeyless-ci committed Aug 7, 2024
1 parent da56334 commit 3e8d3d3
Showing 1,021 changed files with 1,606 additions and 1,008 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ The purpose of this application is to provide access to Akeyless API.
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 2.0
- Package version: 4.2.1
- Package version: 4.2.2
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
For more information, please visit [http://akeyless.io](http://akeyless.io)

@@ -141,6 +141,7 @@ Class | Method | HTTP request | Description
*akeyless.V2Api* | [**createZeroSSLTarget**](docs/V2Api.md#createZeroSSLTarget) | **POST** /create-zerossl-target |
*akeyless.V2Api* | [**createldapTarget**](docs/V2Api.md#createldapTarget) | **POST** /create-ldap-target |
*akeyless.V2Api* | [**decrypt**](docs/V2Api.md#decrypt) | **POST** /decrypt |
*akeyless.V2Api* | [**decryptBatch**](docs/V2Api.md#decryptBatch) | **POST** /decrypt-batch |
*akeyless.V2Api* | [**decryptGPG**](docs/V2Api.md#decryptGPG) | **POST** /decrypt-gpg |
*akeyless.V2Api* | [**decryptPKCS1**](docs/V2Api.md#decryptPKCS1) | **POST** /decrypt-pkcs1 |
*akeyless.V2Api* | [**decryptWithClassicKey**](docs/V2Api.md#decryptWithClassicKey) | **POST** /decrypt-with-classic-key |
@@ -227,6 +228,7 @@ Class | Method | HTTP request | Description
*akeyless.V2Api* | [**dynamicSecretUpdateSnowflake**](docs/V2Api.md#dynamicSecretUpdateSnowflake) | **POST** /dynamic-secret-update-snowflake |
*akeyless.V2Api* | [**dynamicSecretUpdateVenafi**](docs/V2Api.md#dynamicSecretUpdateVenafi) | **POST** /dynamic-secret-update-venafi |
*akeyless.V2Api* | [**encrypt**](docs/V2Api.md#encrypt) | **POST** /encrypt |
*akeyless.V2Api* | [**encryptBatch**](docs/V2Api.md#encryptBatch) | **POST** /encrypt-batch |
*akeyless.V2Api* | [**encryptGPG**](docs/V2Api.md#encryptGPG) | **POST** /encrypt-gpg |
*akeyless.V2Api* | [**encryptWithClassicKey**](docs/V2Api.md#encryptWithClassicKey) | **POST** /encrypt-with-classic-key |
*akeyless.V2Api* | [**esmCreate**](docs/V2Api.md#esmCreate) | **POST** /esm-create |
@@ -653,6 +655,8 @@ Class | Method | HTTP request | Description
- [akeyless.AzureTargetDetails](docs/AzureTargetDetails.md)
- [akeyless.BastionListEntry](docs/BastionListEntry.md)
- [akeyless.BastionsList](docs/BastionsList.md)
- [akeyless.BatchEncryptionRequestLine](docs/BatchEncryptionRequestLine.md)
- [akeyless.BatchEncryptionResponseLine](docs/BatchEncryptionResponseLine.md)
- [akeyless.CFConfigPart](docs/CFConfigPart.md)
- [akeyless.CacheConfigPart](docs/CacheConfigPart.md)
- [akeyless.CertAccessRules](docs/CertAccessRules.md)
12 changes: 12 additions & 0 deletions docs/BatchEncryptionRequestLine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# akeyless.BatchEncryptionRequestLine

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**context** | **{String: String}** | | [optional]
**data** | **String** | | [optional]
**itemId** | **Number** | | [optional]
**itemVersion** | **Number** | | [optional]


10 changes: 10 additions & 0 deletions docs/BatchEncryptionResponseLine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# akeyless.BatchEncryptionResponseLine

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **String** | | [optional]
**error** | **String** | | [optional]


1 change: 1 addition & 0 deletions docs/Connect.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bastionGatewayUrl** | **String** | todo - enable when gw-sra unification is done The Gateway URL (configuration management) address, e.g. http://localhost:8000 | [optional]
**helper** | [**Object**](.md) | | [optional]
**rcFileOverride** | **String** | used to override .akeyless-connect.rc in tests | [optional]
**bastionCtrlPath** | **String** | The Bastion API path | [optional]
1 change: 1 addition & 0 deletions docs/CreateClassicKey.md
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**certificateCommonName** | **String** | Common name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
**certificateCountry** | **String** | Country name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
**certificateDigestAlgo** | **String** | Digest algorithm to be used for the certificate key signing. Currently, we support only \"sha256\" so we hide this option for CLI. | [optional]
**certificateFormat** | **String** | | [optional]
**certificateLocality** | **String** | Locality for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
**certificateOrganization** | **String** | Organization name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
**certificateProvince** | **String** | Province name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
1 change: 1 addition & 0 deletions docs/CreateDFCKey.md
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**certificateCommonName** | **String** | Common name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
**certificateCountry** | **String** | Country name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
**certificateDigestAlgo** | **String** | Digest algorithm to be used for the certificate key signing. Currently, we support only \"sha256\" so we hide this option for CLI. | [optional]
**certificateFormat** | **String** | | [optional]
**certificateLocality** | **String** | Locality for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
**certificateOrganization** | **String** | Organization name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
**certificateProvince** | **String** | Province name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional]
1 change: 1 addition & 0 deletions docs/DescribeItem.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accessibility** | **String** | for personal password manager | [optional] [default to 'regular']
**bastionDetails** | **Boolean** | Indicate if the item should return with ztb cluster details (url, etc) | [optional] [default to false]
**derCertificateFormat** | **Boolean** | The certificate will be displayed in DER format | [optional] [default to false]
**displayId** | **String** | The display id of the item | [optional]
**gatewayDetails** | **Boolean** | Indicate if the item should return with clusters details (url, etc) | [optional] [default to false]
**itemId** | **Number** | Item id of the item | [optional]
1 change: 1 addition & 0 deletions docs/ItemGeneralInfo.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**certIssueDetails** | [**CertificateIssueInfo**](CertificateIssueInfo.md) | | [optional]
**certificateChainInfo** | [**CertificateChainInfo**](CertificateChainInfo.md) | | [optional]
**certificateFormat** | **String** | | [optional]
**certificatesTemplateInfo** | [**CertificateTemplateInfo**](CertificateTemplateInfo.md) | | [optional]
**classicKeyDetails** | [**ClassicKeyDetailsInfo**](ClassicKeyDetailsInfo.md) | | [optional]
**clusterGwUrl** | **String** | | [optional]
1 change: 1 addition & 0 deletions docs/UploadRSA.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**alg** | **String** | Key type. options: [RSA1024, RSA2048, RSA3072, RSA4096] |
**certFileData** | **String** | Certificate in a PEM format. | [optional]
**certificateFormat** | **String** | | [optional]
**customerFrgId** | **String** | The customer fragment ID that will be used to split the key (if empty, the key will be created independently of a customer fragment) | [optional]
**deleteProtection** | **String** | Protection from accidental deletion of this object [true/false] | [optional]
**description** | **String** | Description of the object | [optional]
86 changes: 86 additions & 0 deletions docs/V2Api.md
Original file line number Diff line number Diff line change
@@ -94,6 +94,7 @@ Method | HTTP request | Description
[**createZeroSSLTarget**](V2Api.md#createZeroSSLTarget) | **POST** /create-zerossl-target |
[**createldapTarget**](V2Api.md#createldapTarget) | **POST** /create-ldap-target |
[**decrypt**](V2Api.md#decrypt) | **POST** /decrypt |
[**decryptBatch**](V2Api.md#decryptBatch) | **POST** /decrypt-batch |
[**decryptGPG**](V2Api.md#decryptGPG) | **POST** /decrypt-gpg |
[**decryptPKCS1**](V2Api.md#decryptPKCS1) | **POST** /decrypt-pkcs1 |
[**decryptWithClassicKey**](V2Api.md#decryptWithClassicKey) | **POST** /decrypt-with-classic-key |
@@ -180,6 +181,7 @@ Method | HTTP request | Description
[**dynamicSecretUpdateSnowflake**](V2Api.md#dynamicSecretUpdateSnowflake) | **POST** /dynamic-secret-update-snowflake |
[**dynamicSecretUpdateVenafi**](V2Api.md#dynamicSecretUpdateVenafi) | **POST** /dynamic-secret-update-venafi |
[**encrypt**](V2Api.md#encrypt) | **POST** /encrypt |
[**encryptBatch**](V2Api.md#encryptBatch) | **POST** /encrypt-batch |
[**encryptGPG**](V2Api.md#encryptGPG) | **POST** /encrypt-gpg |
[**encryptWithClassicKey**](V2Api.md#encryptWithClassicKey) | **POST** /encrypt-with-classic-key |
[**esmCreate**](V2Api.md#esmCreate) | **POST** /esm-create |
@@ -4318,6 +4320,48 @@ No authorization required
- **Accept**: application/json


## decryptBatch

> DecryptOutput decryptBatch(body)



### Example

```javascript
import akeyless from 'akeyless';

let apiInstance = new akeyless.V2Api();
let body = [new akeyless.BatchEncryptionRequestLine()]; // [BatchEncryptionRequestLine] |
apiInstance.decryptBatch(body).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});

```

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**[BatchEncryptionRequestLine]**](BatchEncryptionRequestLine.md)| |

### Return type

[**DecryptOutput**](DecryptOutput.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json


## decryptGPG

> DecryptGPGOutput decryptGPG(body)
@@ -7934,6 +7978,48 @@ No authorization required
- **Accept**: application/json


## encryptBatch

> EncryptOutput encryptBatch(body)



### Example

```javascript
import akeyless from 'akeyless';

let apiInstance = new akeyless.V2Api();
let body = [new akeyless.BatchEncryptionRequestLine()]; // [BatchEncryptionRequestLine] |
apiInstance.encryptBatch(body).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});

```

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**[BatchEncryptionRequestLine]**](BatchEncryptionRequestLine.md)| |

### Return type

[**EncryptOutput**](EncryptOutput.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json


## encryptGPG

> EncryptGPGOutput encryptGPG(body)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "akeyless",
"version": "4.2.1",
"version": "4.2.2",
"description": "The_purpose_of_this_application_is_to_provide_access_to_Akeyless_API_",
"license": "Unlicense",
"main": "dist/index.js",
2 changes: 1 addition & 1 deletion src/ApiClient.js
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ import querystring from "querystring";

/**
* @module ApiClient
* @version 4.2.1
* @version 4.2.2
*/

/**
89 changes: 88 additions & 1 deletion src/api/V2Api.js
Original file line number Diff line number Diff line change
@@ -54,6 +54,7 @@ import AuthMethodUpdateSAML from '../model/AuthMethodUpdateSAML';
import AuthMethodUpdateUniversalIdentity from '../model/AuthMethodUpdateUniversalIdentity';
import AuthOutput from '../model/AuthOutput';
import BastionsList from '../model/BastionsList';
import BatchEncryptionRequestLine from '../model/BatchEncryptionRequestLine';
import CacheConfigPart from '../model/CacheConfigPart';
import Configure from '../model/Configure';
import ConfigureOutput from '../model/ConfigureOutput';
@@ -824,7 +825,7 @@ import VerifyRsaSsaPss from '../model/VerifyRsaSsaPss';
/**
* V2 service.
* @module api/V2Api
* @version 4.2.1
* @version 4.2.2
*/
export default class V2Api {

@@ -4711,6 +4712,49 @@ export default class V2Api {
}


/**
* @param {Array.<module:model/BatchEncryptionRequestLine>} body
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DecryptOutput} and HTTP response
*/
decryptBatchWithHttpInfo(body) {
let postBody = body;
// verify the required parameter 'body' is set
if (body === undefined || body === null) {
throw new Error("Missing the required parameter 'body' when calling decryptBatch");
}

let pathParams = {
};
let queryParams = {
};
let headerParams = {
};
let formParams = {
};

let authNames = [];
let contentTypes = ['application/json'];
let accepts = ['application/json'];
let returnType = DecryptOutput;
return this.apiClient.callApi(
'/decrypt-batch', 'POST',
pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, null
);
}

/**
* @param {Array.<module:model/BatchEncryptionRequestLine>} body
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DecryptOutput}
*/
decryptBatch(body) {
return this.decryptBatchWithHttpInfo(body)
.then(function(response_and_data) {
return response_and_data.data;
});
}


/**
* @param {module:model/DecryptGPG} body
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DecryptGPGOutput} and HTTP response
@@ -8407,6 +8451,49 @@ export default class V2Api {
}


/**
* @param {Array.<module:model/BatchEncryptionRequestLine>} body
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EncryptOutput} and HTTP response
*/
encryptBatchWithHttpInfo(body) {
let postBody = body;
// verify the required parameter 'body' is set
if (body === undefined || body === null) {
throw new Error("Missing the required parameter 'body' when calling encryptBatch");
}

let pathParams = {
};
let queryParams = {
};
let headerParams = {
};
let formParams = {
};

let authNames = [];
let contentTypes = ['application/json'];
let accepts = ['application/json'];
let returnType = EncryptOutput;
return this.apiClient.callApi(
'/encrypt-batch', 'POST',
pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, null
);
}

/**
* @param {Array.<module:model/BatchEncryptionRequestLine>} body
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EncryptOutput}
*/
encryptBatch(body) {
return this.encryptBatchWithHttpInfo(body)
.then(function(response_and_data) {
return response_and_data.data;
});
}


/**
* @param {module:model/EncryptGPG} body
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EncryptGPGOutput} and HTTP response
16 changes: 15 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -80,6 +80,8 @@ import AzurePayload from './model/AzurePayload';
import AzureTargetDetails from './model/AzureTargetDetails';
import BastionListEntry from './model/BastionListEntry';
import BastionsList from './model/BastionsList';
import BatchEncryptionRequestLine from './model/BatchEncryptionRequestLine';
import BatchEncryptionResponseLine from './model/BatchEncryptionResponseLine';
import CFConfigPart from './model/CFConfigPart';
import CacheConfigPart from './model/CacheConfigPart';
import CertAccessRules from './model/CertAccessRules';
@@ -1048,7 +1050,7 @@ import V2Api from './api/V2Api';
* </pre>
* </p>
* @module index
* @version 4.2.1
* @version 4.2.2
*/
export {
/**
@@ -1459,6 +1461,18 @@ export {
*/
BastionsList,

/**
* The BatchEncryptionRequestLine model constructor.
* @property {module:model/BatchEncryptionRequestLine}
*/
BatchEncryptionRequestLine,

/**
* The BatchEncryptionResponseLine model constructor.
* @property {module:model/BatchEncryptionResponseLine}
*/
BatchEncryptionResponseLine,

/**
* The CFConfigPart model constructor.
* @property {module:model/CFConfigPart}
2 changes: 1 addition & 1 deletion src/model/APIKeyAccessRules.js
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The APIKeyAccessRules model module.
* @module model/APIKeyAccessRules
* @version 4.2.1
* @version 4.2.2
*/
class APIKeyAccessRules {
/**
Loading

0 comments on commit 3e8d3d3

Please sign in to comment.