Skip to content

Commit

Permalink
Release v3.3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
akeyless-ci committed Jul 10, 2023
1 parent 87b0c62 commit f0ceca4
Show file tree
Hide file tree
Showing 676 changed files with 1,381 additions and 697 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: 3.3.14
- Package version: 3.3.15
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
For more information, please visit [http://akeyless.io](http://akeyless.io)

Expand Down Expand Up @@ -164,12 +164,12 @@ Class | Method | HTTP request | Description
*akeyless.V2Api* | [**gatewayCreateProducerRedis**](docs/V2Api.md#gatewayCreateProducerRedis) | **POST** /gateway-create-producer-Redis |
*akeyless.V2Api* | [**gatewayCreateProducerRedshift**](docs/V2Api.md#gatewayCreateProducerRedshift) | **POST** /gateway-create-producer-redshift |
*akeyless.V2Api* | [**gatewayCreateProducerSnowflake**](docs/V2Api.md#gatewayCreateProducerSnowflake) | **POST** /gateway-create-producer-snowflake |
*akeyless.V2Api* | [**gatewayDeleteAllowedAccess**](docs/V2Api.md#gatewayDeleteAllowedAccess) | **DELETE** /gateway-delete-allowed-access |
*akeyless.V2Api* | [**gatewayDeleteAllowedAccess**](docs/V2Api.md#gatewayDeleteAllowedAccess) | **POST** /gateway-delete-allowed-access |
*akeyless.V2Api* | [**gatewayDeleteK8SAuthConfig**](docs/V2Api.md#gatewayDeleteK8SAuthConfig) | **POST** /gateway-delete-k8s-auth-config |
*akeyless.V2Api* | [**gatewayDeleteMigration**](docs/V2Api.md#gatewayDeleteMigration) | **POST** /gateway-delete-migration |
*akeyless.V2Api* | [**gatewayDeleteProducer**](docs/V2Api.md#gatewayDeleteProducer) | **POST** /gateway-delete-producer |
*akeyless.V2Api* | [**gatewayDownloadCustomerFragments**](docs/V2Api.md#gatewayDownloadCustomerFragments) | **POST** /gateway-download-customer-fragments |
*akeyless.V2Api* | [**gatewayGetAllowedAccess**](docs/V2Api.md#gatewayGetAllowedAccess) | **GET** /gateway-get-allowed-access |
*akeyless.V2Api* | [**gatewayGetAllowedAccess**](docs/V2Api.md#gatewayGetAllowedAccess) | **POST** /gateway-get-allowed-access |
*akeyless.V2Api* | [**gatewayGetConfig**](docs/V2Api.md#gatewayGetConfig) | **POST** /gateway-get-config |
*akeyless.V2Api* | [**gatewayGetK8SAuthConfig**](docs/V2Api.md#gatewayGetK8SAuthConfig) | **POST** /gateway-get-k8s-auth-config |
*akeyless.V2Api* | [**gatewayGetLdapAuthConfig**](docs/V2Api.md#gatewayGetLdapAuthConfig) | **POST** /gateway-get-ldap-auth-config |
Expand Down Expand Up @@ -217,6 +217,7 @@ Class | Method | HTTP request | Description
*akeyless.V2Api* | [**gatewayUpdateProducerSnowflake**](docs/V2Api.md#gatewayUpdateProducerSnowflake) | **POST** /gateway-update-producer-snowflake |
*akeyless.V2Api* | [**gatewayUpdateTlsCert**](docs/V2Api.md#gatewayUpdateTlsCert) | **POST** /gateway-update-tls-cert |
*akeyless.V2Api* | [**gatewayUpdateTmpUsers**](docs/V2Api.md#gatewayUpdateTmpUsers) | **POST** /gateway-update-producer-tmp-creds |
*akeyless.V2Api* | [**generateCsr**](docs/V2Api.md#generateCsr) | **POST** /generate-csr |
*akeyless.V2Api* | [**getAccountLogo**](docs/V2Api.md#getAccountLogo) | **POST** /get-account-logo |
*akeyless.V2Api* | [**getAccountSettings**](docs/V2Api.md#getAccountSettings) | **POST** /get-account-settings |
*akeyless.V2Api* | [**getAuthMethod**](docs/V2Api.md#getAuthMethod) | **POST** /get-auth-method |
Expand Down Expand Up @@ -716,6 +717,8 @@ Class | Method | HTTP request | Description
- [akeyless.GatewaysListResponse](docs/GatewaysListResponse.md)
- [akeyless.GenCustomerFragment](docs/GenCustomerFragment.md)
- [akeyless.GeneralConfigPart](docs/GeneralConfigPart.md)
- [akeyless.GenerateCsr](docs/GenerateCsr.md)
- [akeyless.GenerateCsrOutput](docs/GenerateCsrOutput.md)
- [akeyless.GetAccountSettings](docs/GetAccountSettings.md)
- [akeyless.GetAccountSettingsCommandOutput](docs/GetAccountSettingsCommandOutput.md)
- [akeyless.GetAuthMethod](docs/GetAuthMethod.md)
Expand Down
1 change: 0 additions & 1 deletion docs/CreateAuthMethodOAuth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Name | Type | Description | Notes
**issuer** | **String** | Issuer URL | [optional]
**json** | **Boolean** | Set output format to JSON | [optional] [default to false]
**jwksJsonData** | **String** | 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. base64 encoded string | [optional]
**jwksJsonFile** | **String** | JSON Web Key Set (JWKS) JSON file path that will be used to verify any JSON Web Token (JWT) issued by the authorization server. | [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. | [default to 'default_jwks_url']
**jwtTtl** | **Number** | Jwt TTL | [optional] [default to 0]
**name** | **String** | Auth Method name |
Expand Down
28 changes: 28 additions & 0 deletions docs/GenerateCsr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# akeyless.GenerateCsr

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**alg** | **String** | | [optional]
**altNames** | **String** | The DNS Alternative Names to be included in the CSR certificate (in a comma-separated list) | [optional]
**certificateType** | **String** | The certificateType to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing) | [optional]
**city** | **String** | The city to be included in the CSR certificate | [optional]
**commonName** | **String** | The commonName to be included in the CSR certificate |
**country** | **String** | The country to be included in the CSR certificate | [optional]
**critical** | **Boolean** | Add critical to the key usage extension (will be false if not added) | [optional]
**dep** | **String** | The department to be included in the CSR certificate | [optional]
**description** | **String** | Description of the object | [optional]
**emailAddresses** | **String** | The email addresses Alternative Names to be included in the CSR certificate (in a comma-separated list) | [optional]
**generateKey** | **Boolean** | Generate a new csr key | [optional]
**ipAddresses** | **String** | The ip addresses Alternative Names to be included in the CSR certificate (in a comma-separated list) | [optional]
**json** | **Boolean** | Set output format to JSON | [optional] [default to false]
**metadata** | **String** | Deprecated - use description | [optional]
**name** | **String** | Key name in akeyless |
**org** | **String** | The organization to be included in the CSR certificate | [optional]
**state** | **String** | The state to be included in the CSR certificate | [optional]
**token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional]
**uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional]
**uriSans** | **String** | The URI Subject Alternative Names to be included in the CSR certificate (in a comma-separated list) | [optional]


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

## Properties

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


1 change: 0 additions & 1 deletion docs/UpdateAuthMethodOAuth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Name | Type | Description | Notes
**issuer** | **String** | Issuer URL | [optional]
**json** | **Boolean** | Set output format to JSON | [optional] [default to false]
**jwksJsonData** | **String** | 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. base64 encoded string | [optional]
**jwksJsonFile** | **String** | JSON Web Key Set (JWKS) JSON file path that will be used to verify any JSON Web Token (JWT) issued by the authorization server. | [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. | [default to 'default_jwks_url']
**jwtTtl** | **Number** | Jwt TTL | [optional] [default to 0]
**name** | **String** | Auth Method name |
Expand Down
47 changes: 45 additions & 2 deletions docs/V2Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ Method | HTTP request | Description
[**gatewayCreateProducerRedis**](V2Api.md#gatewayCreateProducerRedis) | **POST** /gateway-create-producer-Redis |
[**gatewayCreateProducerRedshift**](V2Api.md#gatewayCreateProducerRedshift) | **POST** /gateway-create-producer-redshift |
[**gatewayCreateProducerSnowflake**](V2Api.md#gatewayCreateProducerSnowflake) | **POST** /gateway-create-producer-snowflake |
[**gatewayDeleteAllowedAccess**](V2Api.md#gatewayDeleteAllowedAccess) | **DELETE** /gateway-delete-allowed-access |
[**gatewayDeleteAllowedAccess**](V2Api.md#gatewayDeleteAllowedAccess) | **POST** /gateway-delete-allowed-access |
[**gatewayDeleteK8SAuthConfig**](V2Api.md#gatewayDeleteK8SAuthConfig) | **POST** /gateway-delete-k8s-auth-config |
[**gatewayDeleteMigration**](V2Api.md#gatewayDeleteMigration) | **POST** /gateway-delete-migration |
[**gatewayDeleteProducer**](V2Api.md#gatewayDeleteProducer) | **POST** /gateway-delete-producer |
[**gatewayDownloadCustomerFragments**](V2Api.md#gatewayDownloadCustomerFragments) | **POST** /gateway-download-customer-fragments |
[**gatewayGetAllowedAccess**](V2Api.md#gatewayGetAllowedAccess) | **GET** /gateway-get-allowed-access |
[**gatewayGetAllowedAccess**](V2Api.md#gatewayGetAllowedAccess) | **POST** /gateway-get-allowed-access |
[**gatewayGetConfig**](V2Api.md#gatewayGetConfig) | **POST** /gateway-get-config |
[**gatewayGetK8SAuthConfig**](V2Api.md#gatewayGetK8SAuthConfig) | **POST** /gateway-get-k8s-auth-config |
[**gatewayGetLdapAuthConfig**](V2Api.md#gatewayGetLdapAuthConfig) | **POST** /gateway-get-ldap-auth-config |
Expand Down Expand Up @@ -170,6 +170,7 @@ Method | HTTP request | Description
[**gatewayUpdateProducerSnowflake**](V2Api.md#gatewayUpdateProducerSnowflake) | **POST** /gateway-update-producer-snowflake |
[**gatewayUpdateTlsCert**](V2Api.md#gatewayUpdateTlsCert) | **POST** /gateway-update-tls-cert |
[**gatewayUpdateTmpUsers**](V2Api.md#gatewayUpdateTmpUsers) | **POST** /gateway-update-producer-tmp-creds |
[**generateCsr**](V2Api.md#generateCsr) | **POST** /generate-csr |
[**getAccountLogo**](V2Api.md#getAccountLogo) | **POST** /get-account-logo |
[**getAccountSettings**](V2Api.md#getAccountSettings) | **POST** /get-account-settings |
[**getAuthMethod**](V2Api.md#getAuthMethod) | **POST** /get-auth-method |
Expand Down Expand Up @@ -7267,6 +7268,48 @@ No authorization required
- **Accept**: application/json


## generateCsr

> GenerateCsrOutput generateCsr(body)



### Example

```javascript
import akeyless from 'akeyless';

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

```

### Parameters


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

### Return type

[**GenerateCsrOutput**](GenerateCsrOutput.md)

### Authorization

No authorization required

### HTTP request headers

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


## getAccountLogo

> {String: String} getAccountLogo()
Expand Down
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": "3.3.14",
"version": "3.3.15",
"description": "The_purpose_of_this_application_is_to_provide_access_to_Akeyless_API_",
"license": "Unlicense",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import querystring from "querystring";

/**
* @module ApiClient
* @version 3.3.14
* @version 3.3.15
*/

/**
Expand Down
51 changes: 48 additions & 3 deletions src/api/V2Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ import GatewayUpdateTlsCert from '../model/GatewayUpdateTlsCert';
import GatewayUpdateTlsCertOutput from '../model/GatewayUpdateTlsCertOutput';
import GatewayUpdateTmpUsers from '../model/GatewayUpdateTmpUsers';
import GatewaysListResponse from '../model/GatewaysListResponse';
import GenerateCsr from '../model/GenerateCsr';
import GenerateCsrOutput from '../model/GenerateCsrOutput';
import GetAccountSettings from '../model/GetAccountSettings';
import GetAccountSettingsCommandOutput from '../model/GetAccountSettingsCommandOutput';
import GetAuthMethod from '../model/GetAuthMethod';
Expand Down Expand Up @@ -527,7 +529,7 @@ import VerifyPKICertWithClassicKey from '../model/VerifyPKICertWithClassicKey';
/**
* V2 service.
* @module api/V2Api
* @version 3.3.14
* @version 3.3.15
*/
export default class V2Api {

Expand Down Expand Up @@ -5421,7 +5423,7 @@ export default class V2Api {
let accepts = ['application/json'];
let returnType = GatewayDeleteAllowedAccessOutput;
return this.apiClient.callApi(
'/gateway-delete-allowed-access', 'DELETE',
'/gateway-delete-allowed-access', 'POST',
pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, null
);
Expand Down Expand Up @@ -5636,7 +5638,7 @@ export default class V2Api {
let accepts = ['application/json'];
let returnType = AllowedAccess;
return this.apiClient.callApi(
'/gateway-get-allowed-access', 'GET',
'/gateway-get-allowed-access', 'POST',
pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, null
);
Expand Down Expand Up @@ -7673,6 +7675,49 @@ export default class V2Api {
}


/**
* @param {module:model/GenerateCsr} body
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GenerateCsrOutput} and HTTP response
*/
generateCsrWithHttpInfo(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 generateCsr");
}

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

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

/**
* @param {module:model/GenerateCsr} body
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GenerateCsrOutput}
*/
generateCsr(body) {
return this.generateCsrWithHttpInfo(body)
.then(function(response_and_data) {
return response_and_data.data;
});
}


/**
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
*/
Expand Down
16 changes: 15 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ import GatewayUpdateTmpUsers from './model/GatewayUpdateTmpUsers';
import GatewaysListResponse from './model/GatewaysListResponse';
import GenCustomerFragment from './model/GenCustomerFragment';
import GeneralConfigPart from './model/GeneralConfigPart';
import GenerateCsr from './model/GenerateCsr';
import GenerateCsrOutput from './model/GenerateCsrOutput';
import GetAccountSettings from './model/GetAccountSettings';
import GetAccountSettingsCommandOutput from './model/GetAccountSettingsCommandOutput';
import GetAuthMethod from './model/GetAuthMethod';
Expand Down Expand Up @@ -707,7 +709,7 @@ import V2Api from './api/V2Api';
* </pre>
* </p>
* @module index
* @version 3.3.14
* @version 3.3.15
*/
export {
/**
Expand Down Expand Up @@ -2966,6 +2968,18 @@ export {
*/
GeneralConfigPart,

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

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

/**
* The GetAccountSettings model constructor.
* @property {module:model/GetAccountSettings}
Expand Down
2 changes: 1 addition & 1 deletion src/model/APIKeyAccessRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The APIKeyAccessRules model module.
* @module model/APIKeyAccessRules
* @version 3.3.14
* @version 3.3.15
*/
class APIKeyAccessRules {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/AWSIAMAccessRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The AWSIAMAccessRules model module.
* @module model/AWSIAMAccessRules
* @version 3.3.14
* @version 3.3.15
*/
class AWSIAMAccessRules {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/AWSPayload.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The AWSPayload model module.
* @module model/AWSPayload
* @version 3.3.14
* @version 3.3.15
*/
class AWSPayload {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/AWSSecretsMigration.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import MigrationGeneral from './MigrationGeneral';
/**
* The AWSSecretsMigration model module.
* @module model/AWSSecretsMigration
* @version 3.3.14
* @version 3.3.15
*/
class AWSSecretsMigration {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/AccessPermissionAssignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The AccessPermissionAssignment model module.
* @module model/AccessPermissionAssignment
* @version 3.3.14
* @version 3.3.15
*/
class AccessPermissionAssignment {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/AccountGeneralSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import SharingPolicyInfo from './SharingPolicyInfo';
/**
* The AccountGeneralSettings model module.
* @module model/AccountGeneralSettings
* @version 3.3.14
* @version 3.3.15
*/
class AccountGeneralSettings {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/AccountObjectVersionSettingsOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ObjectVersionSettingsOutput from './ObjectVersionSettingsOutput';
/**
* The AccountObjectVersionSettingsOutput model module.
* @module model/AccountObjectVersionSettingsOutput
* @version 3.3.14
* @version 3.3.15
*/
class AccountObjectVersionSettingsOutput {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ActiveDirectoryMigration.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import MigrationGeneral from './MigrationGeneral';
/**
* The ActiveDirectoryMigration model module.
* @module model/ActiveDirectoryMigration
* @version 3.3.14
* @version 3.3.15
*/
class ActiveDirectoryMigration {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ActiveDirectoryPayload.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ActiveDirectoryPayload model module.
* @module model/ActiveDirectoryPayload
* @version 3.3.14
* @version 3.3.15
*/
class ActiveDirectoryPayload {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/AddGatewayAllowedAccessId.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The AddGatewayAllowedAccessId model module.
* @module model/AddGatewayAllowedAccessId
* @version 3.3.14
* @version 3.3.15
*/
class AddGatewayAllowedAccessId {
/**
Expand Down
Loading

0 comments on commit f0ceca4

Please sign in to comment.