akeyless 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/docs/CreateCertificate.md +38 -0
- data/docs/CreateCertificateOutput.md +18 -0
- data/docs/GatewayUpdateTlsCert.md +26 -0
- data/docs/GatewayUpdateTlsCertOutput.md +18 -0
- data/docs/GetCertificateValue.md +26 -0
- data/docs/GetCertificateValueOutput.md +20 -0
- data/docs/ListSRABastions.md +2 -0
- data/docs/RotateKey.md +2 -0
- data/docs/UpdateCertificateOutput.md +18 -0
- data/docs/UpdateCertificateValue.md +32 -0
- data/docs/V2Api.md +252 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/create_certificate.rb +329 -0
- data/lib/akeyless/models/create_certificate_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_tls_cert.rb +261 -0
- data/lib/akeyless/models/gateway_update_tls_cert_output.rb +219 -0
- data/lib/akeyless/models/get_certificate_value.rb +265 -0
- data/lib/akeyless/models/get_certificate_value_output.rb +228 -0
- data/lib/akeyless/models/list_sra_bastions.rb +10 -1
- data/lib/akeyless/models/rotate_key.rb +11 -1
- data/lib/akeyless/models/update_certificate_output.rb +219 -0
- data/lib/akeyless/models/update_certificate_value.rb +297 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +8 -0
- data/spec/models/create_certificate_output_spec.rb +34 -0
- data/spec/models/create_certificate_spec.rb +94 -0
- data/spec/models/gateway_update_tls_cert_output_spec.rb +34 -0
- data/spec/models/gateway_update_tls_cert_spec.rb +58 -0
- data/spec/models/get_certificate_value_output_spec.rb +40 -0
- data/spec/models/get_certificate_value_spec.rb +58 -0
- data/spec/models/update_certificate_output_spec.rb +34 -0
- data/spec/models/update_certificate_value_spec.rb +76 -0
- metadata +572 -540
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bb026c43b4fe7409349296ea14459b635bdd70cfaead128b42d65aa22a386a2
|
4
|
+
data.tar.gz: 6adc07dfdc42a690418ee5c6a8ac071f05d2423aa20df47202db5fdcc44a6d94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9335f1da449540c359ff1d2445ce47c63d17e8d685938a4ff93403053b19f35e4a9bdc393500486d558c03671e8d496c9dbc5dbfa8e4a09f8abd09f90482e683
|
7
|
+
data.tar.gz: 95d9ed80f075c63e42ada4e0de9c300eff23788c53f847e1de503356fd160a1f67c7b35f3c12efb242c408f206ad11ee79b4404b0b72f3a62f9e78be380b262f
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The purpose of this application is to provide access to Akeyless API.
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0
|
10
|
-
- Package version: 3.1.
|
10
|
+
- Package version: 3.1.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://akeyless.io](http://akeyless.io)
|
13
13
|
|
@@ -79,6 +79,7 @@ Class | Method | HTTP request | Description
|
|
79
79
|
*Akeyless::V2Api* | [**create_auth_method_universal_identity**](docs/V2Api.md#create_auth_method_universal_identity) | **POST** /create-auth-method-universal-identity |
|
80
80
|
*Akeyless::V2Api* | [**create_aws_target**](docs/V2Api.md#create_aws_target) | **POST** /create-aws-target |
|
81
81
|
*Akeyless::V2Api* | [**create_azure_target**](docs/V2Api.md#create_azure_target) | **POST** /create-azure-target |
|
82
|
+
*Akeyless::V2Api* | [**create_certificate**](docs/V2Api.md#create_certificate) | **POST** /create-certificate |
|
82
83
|
*Akeyless::V2Api* | [**create_classic_key**](docs/V2Api.md#create_classic_key) | **POST** /create-classic-key |
|
83
84
|
*Akeyless::V2Api* | [**create_db_target**](docs/V2Api.md#create_db_target) | **POST** /create-db-target |
|
84
85
|
*Akeyless::V2Api* | [**create_dfc_key**](docs/V2Api.md#create_dfc_key) | **POST** /create-dfc-key |
|
@@ -195,10 +196,12 @@ Class | Method | HTTP request | Description
|
|
195
196
|
*Akeyless::V2Api* | [**gateway_update_producer_rdp**](docs/V2Api.md#gateway_update_producer_rdp) | **POST** /gateway-update-producer-rdp |
|
196
197
|
*Akeyless::V2Api* | [**gateway_update_producer_redshift**](docs/V2Api.md#gateway_update_producer_redshift) | **POST** /gateway-update-producer-redshift |
|
197
198
|
*Akeyless::V2Api* | [**gateway_update_producer_snowflake**](docs/V2Api.md#gateway_update_producer_snowflake) | **POST** /gateway-update-producer-snowflake |
|
199
|
+
*Akeyless::V2Api* | [**gateway_update_tls_cert**](docs/V2Api.md#gateway_update_tls_cert) | **POST** /gateway-update-tls-cert |
|
198
200
|
*Akeyless::V2Api* | [**gateway_update_tmp_users**](docs/V2Api.md#gateway_update_tmp_users) | **POST** /gateway-update-producer-tmp-creds |
|
199
201
|
*Akeyless::V2Api* | [**get_account_logo**](docs/V2Api.md#get_account_logo) | **POST** /get-account-logo |
|
200
202
|
*Akeyless::V2Api* | [**get_account_settings**](docs/V2Api.md#get_account_settings) | **POST** /get-account-settings |
|
201
203
|
*Akeyless::V2Api* | [**get_auth_method**](docs/V2Api.md#get_auth_method) | **POST** /get-auth-method |
|
204
|
+
*Akeyless::V2Api* | [**get_certificate_value**](docs/V2Api.md#get_certificate_value) | **POST** /get-certificate-value |
|
202
205
|
*Akeyless::V2Api* | [**get_dynamic_secret_value**](docs/V2Api.md#get_dynamic_secret_value) | **POST** /get-dynamic-secret-value |
|
203
206
|
*Akeyless::V2Api* | [**get_event_forwarder**](docs/V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder |
|
204
207
|
*Akeyless::V2Api* | [**get_kube_exec_creds**](docs/V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds |
|
@@ -270,6 +273,7 @@ Class | Method | HTTP request | Description
|
|
270
273
|
*Akeyless::V2Api* | [**update_aws_target**](docs/V2Api.md#update_aws_target) | **POST** /update-aws-target |
|
271
274
|
*Akeyless::V2Api* | [**update_aws_target_details**](docs/V2Api.md#update_aws_target_details) | **POST** /update-aws-target-details |
|
272
275
|
*Akeyless::V2Api* | [**update_azure_target**](docs/V2Api.md#update_azure_target) | **POST** /update-azure-target |
|
276
|
+
*Akeyless::V2Api* | [**update_certificate_value**](docs/V2Api.md#update_certificate_value) | **POST** /update-certificate-value |
|
273
277
|
*Akeyless::V2Api* | [**update_db_target**](docs/V2Api.md#update_db_target) | **POST** /update-db-target |
|
274
278
|
*Akeyless::V2Api* | [**update_db_target_details**](docs/V2Api.md#update_db_target_details) | **POST** /update-db-target-details |
|
275
279
|
*Akeyless::V2Api* | [**update_dockerhub_target**](docs/V2Api.md#update_dockerhub_target) | **POST** /update-dockerhub-target |
|
@@ -379,6 +383,8 @@ Class | Method | HTTP request | Description
|
|
379
383
|
- [Akeyless::CreateAuthMethodUniversalIdentityOutput](docs/CreateAuthMethodUniversalIdentityOutput.md)
|
380
384
|
- [Akeyless::CreateAzureTarget](docs/CreateAzureTarget.md)
|
381
385
|
- [Akeyless::CreateAzureTargetOutput](docs/CreateAzureTargetOutput.md)
|
386
|
+
- [Akeyless::CreateCertificate](docs/CreateCertificate.md)
|
387
|
+
- [Akeyless::CreateCertificateOutput](docs/CreateCertificateOutput.md)
|
382
388
|
- [Akeyless::CreateClassicKey](docs/CreateClassicKey.md)
|
383
389
|
- [Akeyless::CreateClassicKeyOutput](docs/CreateClassicKeyOutput.md)
|
384
390
|
- [Akeyless::CreateDBTarget](docs/CreateDBTarget.md)
|
@@ -621,6 +627,8 @@ Class | Method | HTTP request | Description
|
|
621
627
|
- [Akeyless::GatewayUpdateProducerRedshiftOutput](docs/GatewayUpdateProducerRedshiftOutput.md)
|
622
628
|
- [Akeyless::GatewayUpdateProducerSnowflake](docs/GatewayUpdateProducerSnowflake.md)
|
623
629
|
- [Akeyless::GatewayUpdateProducerSnowflakeOutput](docs/GatewayUpdateProducerSnowflakeOutput.md)
|
630
|
+
- [Akeyless::GatewayUpdateTlsCert](docs/GatewayUpdateTlsCert.md)
|
631
|
+
- [Akeyless::GatewayUpdateTlsCertOutput](docs/GatewayUpdateTlsCertOutput.md)
|
624
632
|
- [Akeyless::GatewayUpdateTmpUsers](docs/GatewayUpdateTmpUsers.md)
|
625
633
|
- [Akeyless::GatewaysListResponse](docs/GatewaysListResponse.md)
|
626
634
|
- [Akeyless::GenCustomerFragment](docs/GenCustomerFragment.md)
|
@@ -628,6 +636,8 @@ Class | Method | HTTP request | Description
|
|
628
636
|
- [Akeyless::GetAccountSettings](docs/GetAccountSettings.md)
|
629
637
|
- [Akeyless::GetAccountSettingsCommandOutput](docs/GetAccountSettingsCommandOutput.md)
|
630
638
|
- [Akeyless::GetAuthMethod](docs/GetAuthMethod.md)
|
639
|
+
- [Akeyless::GetCertificateValue](docs/GetCertificateValue.md)
|
640
|
+
- [Akeyless::GetCertificateValueOutput](docs/GetCertificateValueOutput.md)
|
631
641
|
- [Akeyless::GetDynamicSecretValue](docs/GetDynamicSecretValue.md)
|
632
642
|
- [Akeyless::GetEventForwarder](docs/GetEventForwarder.md)
|
633
643
|
- [Akeyless::GetEventForwarderOutput](docs/GetEventForwarderOutput.md)
|
@@ -822,6 +832,8 @@ Class | Method | HTTP request | Description
|
|
822
832
|
- [Akeyless::UpdateAuthMethodUniversalIdentity](docs/UpdateAuthMethodUniversalIdentity.md)
|
823
833
|
- [Akeyless::UpdateAzureTarget](docs/UpdateAzureTarget.md)
|
824
834
|
- [Akeyless::UpdateAzureTargetOutput](docs/UpdateAzureTargetOutput.md)
|
835
|
+
- [Akeyless::UpdateCertificateOutput](docs/UpdateCertificateOutput.md)
|
836
|
+
- [Akeyless::UpdateCertificateValue](docs/UpdateCertificateValue.md)
|
825
837
|
- [Akeyless::UpdateDBTarget](docs/UpdateDBTarget.md)
|
826
838
|
- [Akeyless::UpdateDBTargetDetails](docs/UpdateDBTargetDetails.md)
|
827
839
|
- [Akeyless::UpdateDBTargetOutput](docs/UpdateDBTargetOutput.md)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Akeyless::CreateCertificate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **certificate_data** | **String** | Content of the certificate PEM in a Base64 format. | [optional] |
|
8
|
+
| **delete_protection** | **String** | Protection from accidental deletion of this item | [optional] |
|
9
|
+
| **expiration_event_in** | **Array<String>** | How many days before the expiration of the certificate would you like to be notified. | [optional] |
|
10
|
+
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
11
|
+
| **key** | **String** | The name of a key to use to encrypt the certificate's key (if empty, the account default protectionKey key will be used) | [optional] |
|
12
|
+
| **key_data** | **String** | Content of the certificate's private key PEM in a Base64 format. | [optional] |
|
13
|
+
| **metadata** | **String** | Metadata about the certificate | [optional] |
|
14
|
+
| **name** | **String** | Certificate name | |
|
15
|
+
| **tags** | **Array<String>** | List of the tags attached to this certificate | [optional] |
|
16
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
17
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'akeyless'
|
23
|
+
|
24
|
+
instance = Akeyless::CreateCertificate.new(
|
25
|
+
certificate_data: null,
|
26
|
+
delete_protection: null,
|
27
|
+
expiration_event_in: null,
|
28
|
+
json: null,
|
29
|
+
key: null,
|
30
|
+
key_data: null,
|
31
|
+
metadata: null,
|
32
|
+
name: null,
|
33
|
+
tags: null,
|
34
|
+
token: null,
|
35
|
+
uid_token: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Akeyless::CreateCertificateOutput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'akeyless'
|
13
|
+
|
14
|
+
instance = Akeyless::CreateCertificateOutput.new(
|
15
|
+
name: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Akeyless::GatewayUpdateTlsCert
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **cert_data** | **String** | TLS Certificate (base64 encoded) | [optional] |
|
8
|
+
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
9
|
+
| **key_data** | **String** | TLS Private Key (base64 encoded) | [optional] |
|
10
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
11
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'akeyless'
|
17
|
+
|
18
|
+
instance = Akeyless::GatewayUpdateTlsCert.new(
|
19
|
+
cert_data: null,
|
20
|
+
json: null,
|
21
|
+
key_data: null,
|
22
|
+
token: null,
|
23
|
+
uid_token: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Akeyless::GatewayUpdateTlsCertOutput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **updated** | **Boolean** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'akeyless'
|
13
|
+
|
14
|
+
instance = Akeyless::GatewayUpdateTlsCertOutput.new(
|
15
|
+
updated: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Akeyless::GetCertificateValue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
8
|
+
| **name** | **String** | Certificate name | |
|
9
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
10
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
11
|
+
| **version** | **Integer** | Certificate version | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'akeyless'
|
17
|
+
|
18
|
+
instance = Akeyless::GetCertificateValue.new(
|
19
|
+
json: null,
|
20
|
+
name: null,
|
21
|
+
token: null,
|
22
|
+
uid_token: null,
|
23
|
+
version: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Akeyless::GetCertificateValueOutput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **certificate_pem** | **String** | | [optional] |
|
8
|
+
| **private_key_pem** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'akeyless'
|
14
|
+
|
15
|
+
instance = Akeyless::GetCertificateValueOutput.new(
|
16
|
+
certificate_pem: null,
|
17
|
+
private_key_pem: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/ListSRABastions.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **allowed_urls_only** | **Boolean** | | [optional] |
|
7
8
|
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
8
9
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
9
10
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
@@ -14,6 +15,7 @@
|
|
14
15
|
require 'akeyless'
|
15
16
|
|
16
17
|
instance = Akeyless::ListSRABastions.new(
|
18
|
+
allowed_urls_only: null,
|
17
19
|
json: null,
|
18
20
|
token: null,
|
19
21
|
uid_token: null
|
data/docs/RotateKey.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
8
8
|
| **name** | **String** | Key name | |
|
9
|
+
| **new_cert_pem_data** | **String** | The new pem encoded certificate for the classic key. relevant only for keys provided by user ('bring-your-own-key') | [optional] |
|
9
10
|
| **new_key_data** | **String** | The new base64 encoded value for the classic key. relevant only for keys provided by user ('bring-your-own-key') | [optional] |
|
10
11
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
11
12
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
@@ -18,6 +19,7 @@ require 'akeyless'
|
|
18
19
|
instance = Akeyless::RotateKey.new(
|
19
20
|
json: null,
|
20
21
|
name: null,
|
22
|
+
new_cert_pem_data: null,
|
21
23
|
new_key_data: null,
|
22
24
|
token: null,
|
23
25
|
uid_token: null
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Akeyless::UpdateCertificateOutput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'akeyless'
|
13
|
+
|
14
|
+
instance = Akeyless::UpdateCertificateOutput.new(
|
15
|
+
name: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Akeyless::UpdateCertificateValue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **certificate_data** | **String** | Content of the certificate PEM in a Base64 format. | [optional] |
|
8
|
+
| **expiration_event_in** | **Array<String>** | How many days before the expiration of the certificate would you like to be notified. | [optional] |
|
9
|
+
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
10
|
+
| **key** | **String** | The name of a key to use to encrypt the certificate's key (if empty, the account default protectionKey key will be used) | [optional] |
|
11
|
+
| **key_data** | **String** | Content of the certificate's private key PEM in a Base64 format. | [optional] |
|
12
|
+
| **name** | **String** | Certificate name | |
|
13
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
14
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'akeyless'
|
20
|
+
|
21
|
+
instance = Akeyless::UpdateCertificateValue.new(
|
22
|
+
certificate_data: null,
|
23
|
+
expiration_event_in: null,
|
24
|
+
json: null,
|
25
|
+
key: null,
|
26
|
+
key_data: null,
|
27
|
+
name: null,
|
28
|
+
token: null,
|
29
|
+
uid_token: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
data/docs/V2Api.md
CHANGED
@@ -24,6 +24,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
24
24
|
| [**create_auth_method_universal_identity**](V2Api.md#create_auth_method_universal_identity) | **POST** /create-auth-method-universal-identity | |
|
25
25
|
| [**create_aws_target**](V2Api.md#create_aws_target) | **POST** /create-aws-target | |
|
26
26
|
| [**create_azure_target**](V2Api.md#create_azure_target) | **POST** /create-azure-target | |
|
27
|
+
| [**create_certificate**](V2Api.md#create_certificate) | **POST** /create-certificate | |
|
27
28
|
| [**create_classic_key**](V2Api.md#create_classic_key) | **POST** /create-classic-key | |
|
28
29
|
| [**create_db_target**](V2Api.md#create_db_target) | **POST** /create-db-target | |
|
29
30
|
| [**create_dfc_key**](V2Api.md#create_dfc_key) | **POST** /create-dfc-key | |
|
@@ -140,10 +141,12 @@ All URIs are relative to *https://api.akeyless.io*
|
|
140
141
|
| [**gateway_update_producer_rdp**](V2Api.md#gateway_update_producer_rdp) | **POST** /gateway-update-producer-rdp | |
|
141
142
|
| [**gateway_update_producer_redshift**](V2Api.md#gateway_update_producer_redshift) | **POST** /gateway-update-producer-redshift | |
|
142
143
|
| [**gateway_update_producer_snowflake**](V2Api.md#gateway_update_producer_snowflake) | **POST** /gateway-update-producer-snowflake | |
|
144
|
+
| [**gateway_update_tls_cert**](V2Api.md#gateway_update_tls_cert) | **POST** /gateway-update-tls-cert | |
|
143
145
|
| [**gateway_update_tmp_users**](V2Api.md#gateway_update_tmp_users) | **POST** /gateway-update-producer-tmp-creds | |
|
144
146
|
| [**get_account_logo**](V2Api.md#get_account_logo) | **POST** /get-account-logo | |
|
145
147
|
| [**get_account_settings**](V2Api.md#get_account_settings) | **POST** /get-account-settings | |
|
146
148
|
| [**get_auth_method**](V2Api.md#get_auth_method) | **POST** /get-auth-method | |
|
149
|
+
| [**get_certificate_value**](V2Api.md#get_certificate_value) | **POST** /get-certificate-value | |
|
147
150
|
| [**get_dynamic_secret_value**](V2Api.md#get_dynamic_secret_value) | **POST** /get-dynamic-secret-value | |
|
148
151
|
| [**get_event_forwarder**](V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder | |
|
149
152
|
| [**get_kube_exec_creds**](V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds | |
|
@@ -215,6 +218,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
215
218
|
| [**update_aws_target**](V2Api.md#update_aws_target) | **POST** /update-aws-target | |
|
216
219
|
| [**update_aws_target_details**](V2Api.md#update_aws_target_details) | **POST** /update-aws-target-details | |
|
217
220
|
| [**update_azure_target**](V2Api.md#update_azure_target) | **POST** /update-azure-target | |
|
221
|
+
| [**update_certificate_value**](V2Api.md#update_certificate_value) | **POST** /update-certificate-value | |
|
218
222
|
| [**update_db_target**](V2Api.md#update_db_target) | **POST** /update-db-target | |
|
219
223
|
| [**update_db_target_details**](V2Api.md#update_db_target_details) | **POST** /update-db-target-details | |
|
220
224
|
| [**update_dockerhub_target**](V2Api.md#update_dockerhub_target) | **POST** /update-dockerhub-target | |
|
@@ -1490,6 +1494,68 @@ No authorization required
|
|
1490
1494
|
- **Accept**: application/json
|
1491
1495
|
|
1492
1496
|
|
1497
|
+
## create_certificate
|
1498
|
+
|
1499
|
+
> <CreateCertificateOutput> create_certificate(body)
|
1500
|
+
|
1501
|
+
|
1502
|
+
|
1503
|
+
### Examples
|
1504
|
+
|
1505
|
+
```ruby
|
1506
|
+
require 'time'
|
1507
|
+
require 'akeyless'
|
1508
|
+
|
1509
|
+
api_instance = Akeyless::V2Api.new
|
1510
|
+
body = Akeyless::CreateCertificate.new({name: 'name_example'}) # CreateCertificate |
|
1511
|
+
|
1512
|
+
begin
|
1513
|
+
|
1514
|
+
result = api_instance.create_certificate(body)
|
1515
|
+
p result
|
1516
|
+
rescue Akeyless::ApiError => e
|
1517
|
+
puts "Error when calling V2Api->create_certificate: #{e}"
|
1518
|
+
end
|
1519
|
+
```
|
1520
|
+
|
1521
|
+
#### Using the create_certificate_with_http_info variant
|
1522
|
+
|
1523
|
+
This returns an Array which contains the response data, status code and headers.
|
1524
|
+
|
1525
|
+
> <Array(<CreateCertificateOutput>, Integer, Hash)> create_certificate_with_http_info(body)
|
1526
|
+
|
1527
|
+
```ruby
|
1528
|
+
begin
|
1529
|
+
|
1530
|
+
data, status_code, headers = api_instance.create_certificate_with_http_info(body)
|
1531
|
+
p status_code # => 2xx
|
1532
|
+
p headers # => { ... }
|
1533
|
+
p data # => <CreateCertificateOutput>
|
1534
|
+
rescue Akeyless::ApiError => e
|
1535
|
+
puts "Error when calling V2Api->create_certificate_with_http_info: #{e}"
|
1536
|
+
end
|
1537
|
+
```
|
1538
|
+
|
1539
|
+
### Parameters
|
1540
|
+
|
1541
|
+
| Name | Type | Description | Notes |
|
1542
|
+
| ---- | ---- | ----------- | ----- |
|
1543
|
+
| **body** | [**CreateCertificate**](CreateCertificate.md) | | |
|
1544
|
+
|
1545
|
+
### Return type
|
1546
|
+
|
1547
|
+
[**CreateCertificateOutput**](CreateCertificateOutput.md)
|
1548
|
+
|
1549
|
+
### Authorization
|
1550
|
+
|
1551
|
+
No authorization required
|
1552
|
+
|
1553
|
+
### HTTP request headers
|
1554
|
+
|
1555
|
+
- **Content-Type**: application/json
|
1556
|
+
- **Accept**: application/json
|
1557
|
+
|
1558
|
+
|
1493
1559
|
## create_classic_key
|
1494
1560
|
|
1495
1561
|
> <CreateClassicKeyOutput> create_classic_key(body)
|
@@ -8687,6 +8753,68 @@ No authorization required
|
|
8687
8753
|
- **Accept**: application/json
|
8688
8754
|
|
8689
8755
|
|
8756
|
+
## gateway_update_tls_cert
|
8757
|
+
|
8758
|
+
> <GatewayUpdateTlsCertOutput> gateway_update_tls_cert(body)
|
8759
|
+
|
8760
|
+
|
8761
|
+
|
8762
|
+
### Examples
|
8763
|
+
|
8764
|
+
```ruby
|
8765
|
+
require 'time'
|
8766
|
+
require 'akeyless'
|
8767
|
+
|
8768
|
+
api_instance = Akeyless::V2Api.new
|
8769
|
+
body = Akeyless::GatewayUpdateTlsCert.new # GatewayUpdateTlsCert |
|
8770
|
+
|
8771
|
+
begin
|
8772
|
+
|
8773
|
+
result = api_instance.gateway_update_tls_cert(body)
|
8774
|
+
p result
|
8775
|
+
rescue Akeyless::ApiError => e
|
8776
|
+
puts "Error when calling V2Api->gateway_update_tls_cert: #{e}"
|
8777
|
+
end
|
8778
|
+
```
|
8779
|
+
|
8780
|
+
#### Using the gateway_update_tls_cert_with_http_info variant
|
8781
|
+
|
8782
|
+
This returns an Array which contains the response data, status code and headers.
|
8783
|
+
|
8784
|
+
> <Array(<GatewayUpdateTlsCertOutput>, Integer, Hash)> gateway_update_tls_cert_with_http_info(body)
|
8785
|
+
|
8786
|
+
```ruby
|
8787
|
+
begin
|
8788
|
+
|
8789
|
+
data, status_code, headers = api_instance.gateway_update_tls_cert_with_http_info(body)
|
8790
|
+
p status_code # => 2xx
|
8791
|
+
p headers # => { ... }
|
8792
|
+
p data # => <GatewayUpdateTlsCertOutput>
|
8793
|
+
rescue Akeyless::ApiError => e
|
8794
|
+
puts "Error when calling V2Api->gateway_update_tls_cert_with_http_info: #{e}"
|
8795
|
+
end
|
8796
|
+
```
|
8797
|
+
|
8798
|
+
### Parameters
|
8799
|
+
|
8800
|
+
| Name | Type | Description | Notes |
|
8801
|
+
| ---- | ---- | ----------- | ----- |
|
8802
|
+
| **body** | [**GatewayUpdateTlsCert**](GatewayUpdateTlsCert.md) | | |
|
8803
|
+
|
8804
|
+
### Return type
|
8805
|
+
|
8806
|
+
[**GatewayUpdateTlsCertOutput**](GatewayUpdateTlsCertOutput.md)
|
8807
|
+
|
8808
|
+
### Authorization
|
8809
|
+
|
8810
|
+
No authorization required
|
8811
|
+
|
8812
|
+
### HTTP request headers
|
8813
|
+
|
8814
|
+
- **Content-Type**: application/json
|
8815
|
+
- **Accept**: application/json
|
8816
|
+
|
8817
|
+
|
8690
8818
|
## gateway_update_tmp_users
|
8691
8819
|
|
8692
8820
|
> gateway_update_tmp_users(body)
|
@@ -8931,6 +9059,68 @@ No authorization required
|
|
8931
9059
|
- **Accept**: application/json
|
8932
9060
|
|
8933
9061
|
|
9062
|
+
## get_certificate_value
|
9063
|
+
|
9064
|
+
> <GetCertificateValueOutput> get_certificate_value(body)
|
9065
|
+
|
9066
|
+
|
9067
|
+
|
9068
|
+
### Examples
|
9069
|
+
|
9070
|
+
```ruby
|
9071
|
+
require 'time'
|
9072
|
+
require 'akeyless'
|
9073
|
+
|
9074
|
+
api_instance = Akeyless::V2Api.new
|
9075
|
+
body = Akeyless::GetCertificateValue.new({name: 'name_example'}) # GetCertificateValue |
|
9076
|
+
|
9077
|
+
begin
|
9078
|
+
|
9079
|
+
result = api_instance.get_certificate_value(body)
|
9080
|
+
p result
|
9081
|
+
rescue Akeyless::ApiError => e
|
9082
|
+
puts "Error when calling V2Api->get_certificate_value: #{e}"
|
9083
|
+
end
|
9084
|
+
```
|
9085
|
+
|
9086
|
+
#### Using the get_certificate_value_with_http_info variant
|
9087
|
+
|
9088
|
+
This returns an Array which contains the response data, status code and headers.
|
9089
|
+
|
9090
|
+
> <Array(<GetCertificateValueOutput>, Integer, Hash)> get_certificate_value_with_http_info(body)
|
9091
|
+
|
9092
|
+
```ruby
|
9093
|
+
begin
|
9094
|
+
|
9095
|
+
data, status_code, headers = api_instance.get_certificate_value_with_http_info(body)
|
9096
|
+
p status_code # => 2xx
|
9097
|
+
p headers # => { ... }
|
9098
|
+
p data # => <GetCertificateValueOutput>
|
9099
|
+
rescue Akeyless::ApiError => e
|
9100
|
+
puts "Error when calling V2Api->get_certificate_value_with_http_info: #{e}"
|
9101
|
+
end
|
9102
|
+
```
|
9103
|
+
|
9104
|
+
### Parameters
|
9105
|
+
|
9106
|
+
| Name | Type | Description | Notes |
|
9107
|
+
| ---- | ---- | ----------- | ----- |
|
9108
|
+
| **body** | [**GetCertificateValue**](GetCertificateValue.md) | | |
|
9109
|
+
|
9110
|
+
### Return type
|
9111
|
+
|
9112
|
+
[**GetCertificateValueOutput**](GetCertificateValueOutput.md)
|
9113
|
+
|
9114
|
+
### Authorization
|
9115
|
+
|
9116
|
+
No authorization required
|
9117
|
+
|
9118
|
+
### HTTP request headers
|
9119
|
+
|
9120
|
+
- **Content-Type**: application/json
|
9121
|
+
- **Accept**: application/json
|
9122
|
+
|
9123
|
+
|
8934
9124
|
## get_dynamic_secret_value
|
8935
9125
|
|
8936
9126
|
> Hash<String, String> get_dynamic_secret_value(body)
|
@@ -13356,6 +13546,68 @@ No authorization required
|
|
13356
13546
|
- **Accept**: application/json
|
13357
13547
|
|
13358
13548
|
|
13549
|
+
## update_certificate_value
|
13550
|
+
|
13551
|
+
> <UpdateCertificateOutput> update_certificate_value(body)
|
13552
|
+
|
13553
|
+
|
13554
|
+
|
13555
|
+
### Examples
|
13556
|
+
|
13557
|
+
```ruby
|
13558
|
+
require 'time'
|
13559
|
+
require 'akeyless'
|
13560
|
+
|
13561
|
+
api_instance = Akeyless::V2Api.new
|
13562
|
+
body = Akeyless::UpdateCertificateValue.new({name: 'name_example'}) # UpdateCertificateValue |
|
13563
|
+
|
13564
|
+
begin
|
13565
|
+
|
13566
|
+
result = api_instance.update_certificate_value(body)
|
13567
|
+
p result
|
13568
|
+
rescue Akeyless::ApiError => e
|
13569
|
+
puts "Error when calling V2Api->update_certificate_value: #{e}"
|
13570
|
+
end
|
13571
|
+
```
|
13572
|
+
|
13573
|
+
#### Using the update_certificate_value_with_http_info variant
|
13574
|
+
|
13575
|
+
This returns an Array which contains the response data, status code and headers.
|
13576
|
+
|
13577
|
+
> <Array(<UpdateCertificateOutput>, Integer, Hash)> update_certificate_value_with_http_info(body)
|
13578
|
+
|
13579
|
+
```ruby
|
13580
|
+
begin
|
13581
|
+
|
13582
|
+
data, status_code, headers = api_instance.update_certificate_value_with_http_info(body)
|
13583
|
+
p status_code # => 2xx
|
13584
|
+
p headers # => { ... }
|
13585
|
+
p data # => <UpdateCertificateOutput>
|
13586
|
+
rescue Akeyless::ApiError => e
|
13587
|
+
puts "Error when calling V2Api->update_certificate_value_with_http_info: #{e}"
|
13588
|
+
end
|
13589
|
+
```
|
13590
|
+
|
13591
|
+
### Parameters
|
13592
|
+
|
13593
|
+
| Name | Type | Description | Notes |
|
13594
|
+
| ---- | ---- | ----------- | ----- |
|
13595
|
+
| **body** | [**UpdateCertificateValue**](UpdateCertificateValue.md) | | |
|
13596
|
+
|
13597
|
+
### Return type
|
13598
|
+
|
13599
|
+
[**UpdateCertificateOutput**](UpdateCertificateOutput.md)
|
13600
|
+
|
13601
|
+
### Authorization
|
13602
|
+
|
13603
|
+
No authorization required
|
13604
|
+
|
13605
|
+
### HTTP request headers
|
13606
|
+
|
13607
|
+
- **Content-Type**: application/json
|
13608
|
+
- **Accept**: application/json
|
13609
|
+
|
13610
|
+
|
13359
13611
|
## update_db_target
|
13360
13612
|
|
13361
13613
|
> <UpdateDBTargetOutput> update_db_target(body)
|