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 f9fed9f commit 30dba54
Show file tree
Hide file tree
Showing 25 changed files with 951 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ docs/AzurePayload.md
docs/AzureTargetDetails.md
docs/BastionListEntry.md
docs/BastionsList.md
docs/BatchEncryptionRequestLine.md
docs/BatchEncryptionResponseLine.md
docs/CFConfigPart.md
docs/CacheConfigPart.md
docs/CertAccessRules.md
Expand Down Expand Up @@ -1084,6 +1086,8 @@ lib/akeyless/models/azure_payload.rb
lib/akeyless/models/azure_target_details.rb
lib/akeyless/models/bastion_list_entry.rb
lib/akeyless/models/bastions_list.rb
lib/akeyless/models/batch_encryption_request_line.rb
lib/akeyless/models/batch_encryption_response_line.rb
lib/akeyless/models/cache_config_part.rb
lib/akeyless/models/cert_access_rules.rb
lib/akeyless/models/certificate_analytic_aggregation.rb
Expand Down Expand Up @@ -2021,4 +2025,6 @@ lib/akeyless/models/windows_service_attributes.rb
lib/akeyless/models/windows_target_details.rb
lib/akeyless/models/zero_ssl_target_details.rb
lib/akeyless/version.rb
spec/models/batch_encryption_request_line_spec.rb
spec/models/batch_encryption_response_line_spec.rb
spec/spec_helper.rb
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build akeyless.gemspec
- gem install ./akeyless-4.2.1.gem
- gem install ./akeyless-4.2.2.gem
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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
- Generator version: 7.8.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
For more information, please visit [http://akeyless.io](http://akeyless.io)
Expand Down Expand Up @@ -150,6 +150,7 @@ Class | Method | HTTP request | Description
*Akeyless::V2Api* | [**create_zero_ssl_target**](docs/V2Api.md#create_zero_ssl_target) | **POST** /create-zerossl-target |
*Akeyless::V2Api* | [**createldap_target**](docs/V2Api.md#createldap_target) | **POST** /create-ldap-target |
*Akeyless::V2Api* | [**decrypt**](docs/V2Api.md#decrypt) | **POST** /decrypt |
*Akeyless::V2Api* | [**decrypt_batch**](docs/V2Api.md#decrypt_batch) | **POST** /decrypt-batch |
*Akeyless::V2Api* | [**decrypt_gpg**](docs/V2Api.md#decrypt_gpg) | **POST** /decrypt-gpg |
*Akeyless::V2Api* | [**decrypt_pkcs1**](docs/V2Api.md#decrypt_pkcs1) | **POST** /decrypt-pkcs1 |
*Akeyless::V2Api* | [**decrypt_with_classic_key**](docs/V2Api.md#decrypt_with_classic_key) | **POST** /decrypt-with-classic-key |
Expand Down Expand Up @@ -236,6 +237,7 @@ Class | Method | HTTP request | Description
*Akeyless::V2Api* | [**dynamic_secret_update_snowflake**](docs/V2Api.md#dynamic_secret_update_snowflake) | **POST** /dynamic-secret-update-snowflake |
*Akeyless::V2Api* | [**dynamic_secret_update_venafi**](docs/V2Api.md#dynamic_secret_update_venafi) | **POST** /dynamic-secret-update-venafi |
*Akeyless::V2Api* | [**encrypt**](docs/V2Api.md#encrypt) | **POST** /encrypt |
*Akeyless::V2Api* | [**encrypt_batch**](docs/V2Api.md#encrypt_batch) | **POST** /encrypt-batch |
*Akeyless::V2Api* | [**encrypt_gpg**](docs/V2Api.md#encrypt_gpg) | **POST** /encrypt-gpg |
*Akeyless::V2Api* | [**encrypt_with_classic_key**](docs/V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key |
*Akeyless::V2Api* | [**esm_create**](docs/V2Api.md#esm_create) | **POST** /esm-create |
Expand Down Expand Up @@ -662,6 +664,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)
Expand Down
24 changes: 24 additions & 0 deletions docs/BatchEncryptionRequestLine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Akeyless::BatchEncryptionRequestLine

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **context** | **Hash<String, String>** | | [optional] |
| **data** | **String** | | [optional] |
| **item_id** | **Integer** | | [optional] |
| **item_version** | **Integer** | | [optional] |

## Example

```ruby
require 'akeyless'

instance = Akeyless::BatchEncryptionRequestLine.new(
context: null,
data: null,
item_id: null,
item_version: null
)
```

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

## Properties

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

## Example

```ruby
require 'akeyless'

instance = Akeyless::BatchEncryptionResponseLine.new(
data: null,
error: null
)
```

2 changes: 2 additions & 0 deletions docs/Connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **bastion_gateway_url** | **String** | todo - enable when gw-sra unification is done The Gateway URL (configuration management) address, e.g. http://localhost:8000 | [optional] |
| **helper** | **Object** | | [optional] |
| **rc_file_override** | **String** | used to override .akeyless-connect.rc in tests | [optional] |
| **bastion_ctrl_path** | **String** | The Bastion API path | [optional] |
Expand All @@ -30,6 +31,7 @@
require 'akeyless'

instance = Akeyless::Connect.new(
bastion_gateway_url: null,
helper: null,
rc_file_override: null,
bastion_ctrl_path: null,
Expand Down
2 changes: 2 additions & 0 deletions docs/CreateClassicKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
| **certificate_common_name** | **String** | Common name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
| **certificate_country** | **String** | Country name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
| **certificate_digest_algo** | **String** | Digest algorithm to be used for the certificate key signing. Currently, we support only \"sha256\" so we hide this option for CLI. | [optional] |
| **certificate_format** | **String** | | [optional] |
| **certificate_locality** | **String** | Locality for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
| **certificate_organization** | **String** | Organization name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
| **certificate_province** | **String** | Province name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
Expand Down Expand Up @@ -38,6 +39,7 @@ instance = Akeyless::CreateClassicKey.new(
certificate_common_name: null,
certificate_country: null,
certificate_digest_algo: null,
certificate_format: null,
certificate_locality: null,
certificate_organization: null,
certificate_province: null,
Expand Down
2 changes: 2 additions & 0 deletions docs/CreateDFCKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
| **certificate_common_name** | **String** | Common name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
| **certificate_country** | **String** | Country name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
| **certificate_digest_algo** | **String** | Digest algorithm to be used for the certificate key signing. Currently, we support only \"sha256\" so we hide this option for CLI. | [optional] |
| **certificate_format** | **String** | | [optional] |
| **certificate_locality** | **String** | Locality for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
| **certificate_organization** | **String** | Organization name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
| **certificate_province** | **String** | Province name for the generated certificate. Relevant only for generate-self-signed-certificate. | [optional] |
Expand Down Expand Up @@ -35,6 +36,7 @@ instance = Akeyless::CreateDFCKey.new(
certificate_common_name: null,
certificate_country: null,
certificate_digest_algo: null,
certificate_format: null,
certificate_locality: null,
certificate_organization: null,
certificate_province: null,
Expand Down
2 changes: 2 additions & 0 deletions docs/DescribeItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| ---- | ---- | ----------- | ----- |
| **accessibility** | **String** | for personal password manager | [optional][default to 'regular'] |
| **bastion_details** | **Boolean** | Indicate if the item should return with ztb cluster details (url, etc) | [optional][default to false] |
| **der_certificate_format** | **Boolean** | The certificate will be displayed in DER format | [optional][default to false] |
| **display_id** | **String** | The display id of the item | [optional] |
| **gateway_details** | **Boolean** | Indicate if the item should return with clusters details (url, etc) | [optional][default to false] |
| **item_id** | **Integer** | Item id of the item | [optional] |
Expand All @@ -24,6 +25,7 @@ require 'akeyless'
instance = Akeyless::DescribeItem.new(
accessibility: null,
bastion_details: null,
der_certificate_format: null,
display_id: null,
gateway_details: null,
item_id: null,
Expand Down
2 changes: 2 additions & 0 deletions docs/ItemGeneralInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| ---- | ---- | ----------- | ----- |
| **cert_issue_details** | [**CertificateIssueInfo**](CertificateIssueInfo.md) | | [optional] |
| **certificate_chain_info** | [**CertificateChainInfo**](CertificateChainInfo.md) | | [optional] |
| **certificate_format** | **String** | | [optional] |
| **certificates_template_info** | [**CertificateTemplateInfo**](CertificateTemplateInfo.md) | | [optional] |
| **classic_key_details** | [**ClassicKeyDetailsInfo**](ClassicKeyDetailsInfo.md) | | [optional] |
| **cluster_gw_url** | **String** | | [optional] |
Expand All @@ -27,6 +28,7 @@ require 'akeyless'
instance = Akeyless::ItemGeneralInfo.new(
cert_issue_details: null,
certificate_chain_info: null,
certificate_format: null,
certificates_template_info: null,
classic_key_details: null,
cluster_gw_url: null,
Expand Down
2 changes: 2 additions & 0 deletions docs/UploadRSA.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| ---- | ---- | ----------- | ----- |
| **alg** | **String** | Key type. options: [RSA1024, RSA2048, RSA3072, RSA4096] | |
| **cert_file_data** | **String** | Certificate in a PEM format. | [optional] |
| **certificate_format** | **String** | | [optional] |
| **customer_frg_id** | **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] |
| **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
| **description** | **String** | Description of the object | [optional] |
Expand All @@ -27,6 +28,7 @@ require 'akeyless'
instance = Akeyless::UploadRSA.new(
alg: null,
cert_file_data: null,
certificate_format: null,
customer_frg_id: null,
delete_protection: null,
description: null,
Expand Down
126 changes: 126 additions & 0 deletions docs/V2Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ All URIs are relative to *https://api.akeyless.io*
| [**create_zero_ssl_target**](V2Api.md#create_zero_ssl_target) | **POST** /create-zerossl-target | |
| [**createldap_target**](V2Api.md#createldap_target) | **POST** /create-ldap-target | |
| [**decrypt**](V2Api.md#decrypt) | **POST** /decrypt | |
| [**decrypt_batch**](V2Api.md#decrypt_batch) | **POST** /decrypt-batch | |
| [**decrypt_gpg**](V2Api.md#decrypt_gpg) | **POST** /decrypt-gpg | |
| [**decrypt_pkcs1**](V2Api.md#decrypt_pkcs1) | **POST** /decrypt-pkcs1 | |
| [**decrypt_with_classic_key**](V2Api.md#decrypt_with_classic_key) | **POST** /decrypt-with-classic-key | |
Expand Down Expand Up @@ -180,6 +181,7 @@ All URIs are relative to *https://api.akeyless.io*
| [**dynamic_secret_update_snowflake**](V2Api.md#dynamic_secret_update_snowflake) | **POST** /dynamic-secret-update-snowflake | |
| [**dynamic_secret_update_venafi**](V2Api.md#dynamic_secret_update_venafi) | **POST** /dynamic-secret-update-venafi | |
| [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
| [**encrypt_batch**](V2Api.md#encrypt_batch) | **POST** /encrypt-batch | |
| [**encrypt_gpg**](V2Api.md#encrypt_gpg) | **POST** /encrypt-gpg | |
| [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
| [**esm_create**](V2Api.md#esm_create) | **POST** /esm-create | |
Expand Down Expand Up @@ -6117,6 +6119,68 @@ No authorization required
- **Accept**: application/json


## decrypt_batch

> <DecryptOutput> decrypt_batch(body)



### Examples

```ruby
require 'time'
require 'akeyless'

api_instance = Akeyless::V2Api.new
body = [Akeyless::BatchEncryptionRequestLine.new] # Array<BatchEncryptionRequestLine> |

begin

result = api_instance.decrypt_batch(body)
p result
rescue Akeyless::ApiError => e
puts "Error when calling V2Api->decrypt_batch: #{e}"
end
```

#### Using the decrypt_batch_with_http_info variant

This returns an Array which contains the response data, status code and headers.

> <Array(<DecryptOutput>, Integer, Hash)> decrypt_batch_with_http_info(body)

```ruby
begin

data, status_code, headers = api_instance.decrypt_batch_with_http_info(body)
p status_code # => 2xx
p headers # => { ... }
p data # => <DecryptOutput>
rescue Akeyless::ApiError => e
puts "Error when calling V2Api->decrypt_batch_with_http_info: #{e}"
end
```

### Parameters

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **body** | [**Array&lt;BatchEncryptionRequestLine&gt;**](BatchEncryptionRequestLine.md) | | |

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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


## decrypt_gpg

> <DecryptGPGOutput> decrypt_gpg(body)
Expand Down Expand Up @@ -11451,6 +11515,68 @@ No authorization required
- **Accept**: application/json


## encrypt_batch

> <EncryptOutput> encrypt_batch(body)



### Examples

```ruby
require 'time'
require 'akeyless'

api_instance = Akeyless::V2Api.new
body = [Akeyless::BatchEncryptionRequestLine.new] # Array<BatchEncryptionRequestLine> |

begin

result = api_instance.encrypt_batch(body)
p result
rescue Akeyless::ApiError => e
puts "Error when calling V2Api->encrypt_batch: #{e}"
end
```

#### Using the encrypt_batch_with_http_info variant

This returns an Array which contains the response data, status code and headers.

> <Array(<EncryptOutput>, Integer, Hash)> encrypt_batch_with_http_info(body)

```ruby
begin

data, status_code, headers = api_instance.encrypt_batch_with_http_info(body)
p status_code # => 2xx
p headers # => { ... }
p data # => <EncryptOutput>
rescue Akeyless::ApiError => e
puts "Error when calling V2Api->encrypt_batch_with_http_info: #{e}"
end
```

### Parameters

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **body** | [**Array&lt;BatchEncryptionRequestLine&gt;**](BatchEncryptionRequestLine.md) | | |

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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


## encrypt_gpg

> <EncryptGPGOutput> encrypt_gpg(body)
Expand Down
2 changes: 2 additions & 0 deletions lib/akeyless.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
require 'akeyless/models/azure_target_details'
require 'akeyless/models/bastion_list_entry'
require 'akeyless/models/bastions_list'
require 'akeyless/models/batch_encryption_request_line'
require 'akeyless/models/batch_encryption_response_line'
require 'akeyless/models/cf_config_part'
require 'akeyless/models/cache_config_part'
require 'akeyless/models/cert_access_rules'
Expand Down
Loading

0 comments on commit 30dba54

Please sign in to comment.