akeyless 3.1.0 → 3.1.2
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 +24 -1
- data/docs/AssocTargetItem.md +2 -0
- data/docs/CreateCertificate.md +40 -0
- data/docs/CreateCertificateOutput.md +18 -0
- data/docs/CreateClassicKey.md +6 -2
- data/docs/CreateDBTarget.md +4 -0
- data/docs/CreateDFCKey.md +3 -1
- data/docs/CreateDynamicSecret.md +3 -1
- data/docs/CreateKey.md +3 -1
- data/docs/CreatePKICertIssuer.md +3 -1
- data/docs/CreateRotatedSecret.md +3 -1
- data/docs/CreateSSHCertIssuer.md +3 -1
- data/docs/CreateSecret.md +3 -1
- data/docs/CreateTokenizer.md +3 -1
- data/docs/DSProducerDetails.md +8 -0
- data/docs/DecryptGPG.md +34 -0
- data/docs/DecryptGPGOutput.md +18 -0
- data/docs/EncryptGPG.md +32 -0
- data/docs/EncryptGPGOutput.md +18 -0
- data/docs/GatewayCreateProducerSnowflake.md +4 -0
- data/docs/GatewayUpdateItem.md +3 -1
- data/docs/GatewayUpdateProducerSnowflake.md +4 -0
- data/docs/GatewayUpdateTlsCert.md +26 -0
- data/docs/GatewayUpdateTlsCertOutput.md +18 -0
- data/docs/GenCustomerFragment.md +4 -2
- 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/SignGPG.md +32 -0
- data/docs/SignGPGOutput.md +18 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/UpdateCertificateOutput.md +18 -0
- data/docs/UpdateCertificateValue.md +32 -0
- data/docs/UpdateDBTarget.md +4 -0
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdatePKICertIssuer.md +3 -1
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UpdateSSHCertIssuer.md +3 -1
- data/docs/UploadPKCS12.md +3 -1
- data/docs/UploadRSA.md +3 -1
- data/docs/V2Api.md +504 -0
- data/docs/VerifyGPG.md +32 -0
- data/lib/akeyless/api/v2_api.rb +512 -0
- data/lib/akeyless/models/assoc_target_item.rb +11 -1
- data/lib/akeyless/models/create_certificate.rb +339 -0
- data/lib/akeyless/models/create_certificate_output.rb +219 -0
- data/lib/akeyless/models/create_classic_key.rb +23 -3
- data/lib/akeyless/models/create_db_target.rb +21 -1
- data/lib/akeyless/models/create_dfc_key.rb +12 -2
- data/lib/akeyless/models/create_dynamic_secret.rb +12 -4
- data/lib/akeyless/models/create_key.rb +12 -2
- data/lib/akeyless/models/create_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/create_rotated_secret.rb +12 -2
- data/lib/akeyless/models/create_secret.rb +12 -2
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +12 -2
- data/lib/akeyless/models/create_tokenizer.rb +12 -2
- data/lib/akeyless/models/decrypt_gpg.rb +310 -0
- data/lib/akeyless/models/decrypt_gpg_output.rb +219 -0
- data/lib/akeyless/models/ds_producer_details.rb +40 -1
- data/lib/akeyless/models/encrypt_gpg.rb +300 -0
- data/lib/akeyless/models/encrypt_gpg_output.rb +219 -0
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +22 -2
- data/lib/akeyless/models/gateway_update_item.rb +14 -2
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +22 -2
- 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/gen_customer_fragment.rb +15 -5
- 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/sign_gpg.rb +300 -0
- data/lib/akeyless/models/sign_gpg_output.rb +219 -0
- data/lib/akeyless/models/target_type_details_input.rb +20 -1
- data/lib/akeyless/models/update_certificate_output.rb +219 -0
- data/lib/akeyless/models/update_certificate_value.rb +297 -0
- data/lib/akeyless/models/update_db_target.rb +21 -1
- data/lib/akeyless/models/update_item.rb +14 -2
- data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/update_rotated_secret.rb +14 -2
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +12 -2
- data/lib/akeyless/models/upload_pkcs12.rb +12 -2
- data/lib/akeyless/models/upload_rsa.rb +12 -2
- data/lib/akeyless/models/verify_gpg.rb +300 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +15 -0
- data/spec/models/create_certificate_output_spec.rb +34 -0
- data/spec/models/create_certificate_spec.rb +94 -0
- data/spec/models/decrypt_gpg_output_spec.rb +34 -0
- data/spec/models/decrypt_gpg_spec.rb +82 -0
- data/spec/models/encrypt_gpg_output_spec.rb +34 -0
- data/spec/models/encrypt_gpg_spec.rb +76 -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/sign_gpg_output_spec.rb +34 -0
- data/spec/models/sign_gpg_spec.rb +76 -0
- data/spec/models/update_certificate_output_spec.rb +34 -0
- data/spec/models/update_certificate_value_spec.rb +76 -0
- data/spec/models/verify_gpg_spec.rb +76 -0
- metadata +600 -540
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 | |
|
|
@@ -48,6 +49,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
48
49
|
| [**create_web_target**](V2Api.md#create_web_target) | **POST** /create-web-target | |
|
|
49
50
|
| [**createldap_target**](V2Api.md#createldap_target) | **POST** /create-ldap-target | |
|
|
50
51
|
| [**decrypt**](V2Api.md#decrypt) | **POST** /decrypt | |
|
|
52
|
+
| [**decrypt_gpg**](V2Api.md#decrypt_gpg) | **POST** /decrypt-gpg | |
|
|
51
53
|
| [**decrypt_pkcs1**](V2Api.md#decrypt_pkcs1) | **POST** /decrypt-pkcs1 | |
|
|
52
54
|
| [**decrypt_with_classic_key**](V2Api.md#decrypt_with_classic_key) | **POST** /decrypt-with-classic-key | |
|
|
53
55
|
| [**delete_auth_method**](V2Api.md#delete_auth_method) | **POST** /delete-auth-method | |
|
|
@@ -67,6 +69,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
67
69
|
| [**describe_sub_claims**](V2Api.md#describe_sub_claims) | **POST** /describe-sub-claims | |
|
|
68
70
|
| [**detokenize**](V2Api.md#detokenize) | **POST** /detokenize | |
|
|
69
71
|
| [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
|
|
72
|
+
| [**encrypt_gpg**](V2Api.md#encrypt_gpg) | **POST** /encrypt-gpg | |
|
|
70
73
|
| [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
|
|
71
74
|
| [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
|
|
72
75
|
| [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
|
|
@@ -140,10 +143,12 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
140
143
|
| [**gateway_update_producer_rdp**](V2Api.md#gateway_update_producer_rdp) | **POST** /gateway-update-producer-rdp | |
|
|
141
144
|
| [**gateway_update_producer_redshift**](V2Api.md#gateway_update_producer_redshift) | **POST** /gateway-update-producer-redshift | |
|
|
142
145
|
| [**gateway_update_producer_snowflake**](V2Api.md#gateway_update_producer_snowflake) | **POST** /gateway-update-producer-snowflake | |
|
|
146
|
+
| [**gateway_update_tls_cert**](V2Api.md#gateway_update_tls_cert) | **POST** /gateway-update-tls-cert | |
|
|
143
147
|
| [**gateway_update_tmp_users**](V2Api.md#gateway_update_tmp_users) | **POST** /gateway-update-producer-tmp-creds | |
|
|
144
148
|
| [**get_account_logo**](V2Api.md#get_account_logo) | **POST** /get-account-logo | |
|
|
145
149
|
| [**get_account_settings**](V2Api.md#get_account_settings) | **POST** /get-account-settings | |
|
|
146
150
|
| [**get_auth_method**](V2Api.md#get_auth_method) | **POST** /get-auth-method | |
|
|
151
|
+
| [**get_certificate_value**](V2Api.md#get_certificate_value) | **POST** /get-certificate-value | |
|
|
147
152
|
| [**get_dynamic_secret_value**](V2Api.md#get_dynamic_secret_value) | **POST** /get-dynamic-secret-value | |
|
|
148
153
|
| [**get_event_forwarder**](V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder | |
|
|
149
154
|
| [**get_kube_exec_creds**](V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds | |
|
|
@@ -188,6 +193,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
188
193
|
| [**set_item_state**](V2Api.md#set_item_state) | **POST** /set-item-state | |
|
|
189
194
|
| [**set_role_rule**](V2Api.md#set_role_rule) | **POST** /set-role-rule | |
|
|
190
195
|
| [**share_item**](V2Api.md#share_item) | **POST** /share-item | |
|
|
196
|
+
| [**sign_gpg**](V2Api.md#sign_gpg) | **POST** /sign-gpg | |
|
|
191
197
|
| [**sign_jwt_with_classic_key**](V2Api.md#sign_jwt_with_classic_key) | **POST** /sign-jwt-with-classic-key | |
|
|
192
198
|
| [**sign_pkcs1**](V2Api.md#sign_pkcs1) | **POST** /sign-pkcs1 | |
|
|
193
199
|
| [**sign_pki_cert_with_classic_key**](V2Api.md#sign_pki_cert_with_classic_key) | **POST** /sign-pki-cert-with-classic-key | |
|
|
@@ -215,6 +221,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
215
221
|
| [**update_aws_target**](V2Api.md#update_aws_target) | **POST** /update-aws-target | |
|
|
216
222
|
| [**update_aws_target_details**](V2Api.md#update_aws_target_details) | **POST** /update-aws-target-details | |
|
|
217
223
|
| [**update_azure_target**](V2Api.md#update_azure_target) | **POST** /update-azure-target | |
|
|
224
|
+
| [**update_certificate_value**](V2Api.md#update_certificate_value) | **POST** /update-certificate-value | |
|
|
218
225
|
| [**update_db_target**](V2Api.md#update_db_target) | **POST** /update-db-target | |
|
|
219
226
|
| [**update_db_target_details**](V2Api.md#update_db_target_details) | **POST** /update-db-target-details | |
|
|
220
227
|
| [**update_dockerhub_target**](V2Api.md#update_dockerhub_target) | **POST** /update-dockerhub-target | |
|
|
@@ -245,6 +252,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
245
252
|
| [**update_web_target_details**](V2Api.md#update_web_target_details) | **POST** /update-web-target-details | |
|
|
246
253
|
| [**upload_rsa**](V2Api.md#upload_rsa) | **POST** /upload-rsa | |
|
|
247
254
|
| [**validate_token**](V2Api.md#validate_token) | **POST** /validate-token | |
|
|
255
|
+
| [**verify_gpg**](V2Api.md#verify_gpg) | **POST** /verify-gpg | |
|
|
248
256
|
| [**verify_jwt_with_classic_key**](V2Api.md#verify_jwt_with_classic_key) | **POST** /verify-jwt-with-classic-key | |
|
|
249
257
|
| [**verify_pkcs1**](V2Api.md#verify_pkcs1) | **POST** /verify-pkcs1 | |
|
|
250
258
|
| [**verify_pki_cert_with_classic_key**](V2Api.md#verify_pki_cert_with_classic_key) | **POST** /verify-pki-cert-with-classic-key | |
|
|
@@ -1490,6 +1498,68 @@ No authorization required
|
|
|
1490
1498
|
- **Accept**: application/json
|
|
1491
1499
|
|
|
1492
1500
|
|
|
1501
|
+
## create_certificate
|
|
1502
|
+
|
|
1503
|
+
> <CreateCertificateOutput> create_certificate(body)
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
### Examples
|
|
1508
|
+
|
|
1509
|
+
```ruby
|
|
1510
|
+
require 'time'
|
|
1511
|
+
require 'akeyless'
|
|
1512
|
+
|
|
1513
|
+
api_instance = Akeyless::V2Api.new
|
|
1514
|
+
body = Akeyless::CreateCertificate.new({name: 'name_example'}) # CreateCertificate |
|
|
1515
|
+
|
|
1516
|
+
begin
|
|
1517
|
+
|
|
1518
|
+
result = api_instance.create_certificate(body)
|
|
1519
|
+
p result
|
|
1520
|
+
rescue Akeyless::ApiError => e
|
|
1521
|
+
puts "Error when calling V2Api->create_certificate: #{e}"
|
|
1522
|
+
end
|
|
1523
|
+
```
|
|
1524
|
+
|
|
1525
|
+
#### Using the create_certificate_with_http_info variant
|
|
1526
|
+
|
|
1527
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1528
|
+
|
|
1529
|
+
> <Array(<CreateCertificateOutput>, Integer, Hash)> create_certificate_with_http_info(body)
|
|
1530
|
+
|
|
1531
|
+
```ruby
|
|
1532
|
+
begin
|
|
1533
|
+
|
|
1534
|
+
data, status_code, headers = api_instance.create_certificate_with_http_info(body)
|
|
1535
|
+
p status_code # => 2xx
|
|
1536
|
+
p headers # => { ... }
|
|
1537
|
+
p data # => <CreateCertificateOutput>
|
|
1538
|
+
rescue Akeyless::ApiError => e
|
|
1539
|
+
puts "Error when calling V2Api->create_certificate_with_http_info: #{e}"
|
|
1540
|
+
end
|
|
1541
|
+
```
|
|
1542
|
+
|
|
1543
|
+
### Parameters
|
|
1544
|
+
|
|
1545
|
+
| Name | Type | Description | Notes |
|
|
1546
|
+
| ---- | ---- | ----------- | ----- |
|
|
1547
|
+
| **body** | [**CreateCertificate**](CreateCertificate.md) | | |
|
|
1548
|
+
|
|
1549
|
+
### Return type
|
|
1550
|
+
|
|
1551
|
+
[**CreateCertificateOutput**](CreateCertificateOutput.md)
|
|
1552
|
+
|
|
1553
|
+
### Authorization
|
|
1554
|
+
|
|
1555
|
+
No authorization required
|
|
1556
|
+
|
|
1557
|
+
### HTTP request headers
|
|
1558
|
+
|
|
1559
|
+
- **Content-Type**: application/json
|
|
1560
|
+
- **Accept**: application/json
|
|
1561
|
+
|
|
1562
|
+
|
|
1493
1563
|
## create_classic_key
|
|
1494
1564
|
|
|
1495
1565
|
> <CreateClassicKeyOutput> create_classic_key(body)
|
|
@@ -2978,6 +3048,68 @@ No authorization required
|
|
|
2978
3048
|
- **Accept**: application/json
|
|
2979
3049
|
|
|
2980
3050
|
|
|
3051
|
+
## decrypt_gpg
|
|
3052
|
+
|
|
3053
|
+
> <DecryptGPGOutput> decrypt_gpg(body)
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
### Examples
|
|
3058
|
+
|
|
3059
|
+
```ruby
|
|
3060
|
+
require 'time'
|
|
3061
|
+
require 'akeyless'
|
|
3062
|
+
|
|
3063
|
+
api_instance = Akeyless::V2Api.new
|
|
3064
|
+
body = Akeyless::DecryptGPG.new({ciphertext: 'ciphertext_example', key_name: 'key_name_example'}) # DecryptGPG |
|
|
3065
|
+
|
|
3066
|
+
begin
|
|
3067
|
+
|
|
3068
|
+
result = api_instance.decrypt_gpg(body)
|
|
3069
|
+
p result
|
|
3070
|
+
rescue Akeyless::ApiError => e
|
|
3071
|
+
puts "Error when calling V2Api->decrypt_gpg: #{e}"
|
|
3072
|
+
end
|
|
3073
|
+
```
|
|
3074
|
+
|
|
3075
|
+
#### Using the decrypt_gpg_with_http_info variant
|
|
3076
|
+
|
|
3077
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3078
|
+
|
|
3079
|
+
> <Array(<DecryptGPGOutput>, Integer, Hash)> decrypt_gpg_with_http_info(body)
|
|
3080
|
+
|
|
3081
|
+
```ruby
|
|
3082
|
+
begin
|
|
3083
|
+
|
|
3084
|
+
data, status_code, headers = api_instance.decrypt_gpg_with_http_info(body)
|
|
3085
|
+
p status_code # => 2xx
|
|
3086
|
+
p headers # => { ... }
|
|
3087
|
+
p data # => <DecryptGPGOutput>
|
|
3088
|
+
rescue Akeyless::ApiError => e
|
|
3089
|
+
puts "Error when calling V2Api->decrypt_gpg_with_http_info: #{e}"
|
|
3090
|
+
end
|
|
3091
|
+
```
|
|
3092
|
+
|
|
3093
|
+
### Parameters
|
|
3094
|
+
|
|
3095
|
+
| Name | Type | Description | Notes |
|
|
3096
|
+
| ---- | ---- | ----------- | ----- |
|
|
3097
|
+
| **body** | [**DecryptGPG**](DecryptGPG.md) | | |
|
|
3098
|
+
|
|
3099
|
+
### Return type
|
|
3100
|
+
|
|
3101
|
+
[**DecryptGPGOutput**](DecryptGPGOutput.md)
|
|
3102
|
+
|
|
3103
|
+
### Authorization
|
|
3104
|
+
|
|
3105
|
+
No authorization required
|
|
3106
|
+
|
|
3107
|
+
### HTTP request headers
|
|
3108
|
+
|
|
3109
|
+
- **Content-Type**: application/json
|
|
3110
|
+
- **Accept**: application/json
|
|
3111
|
+
|
|
3112
|
+
|
|
2981
3113
|
## decrypt_pkcs1
|
|
2982
3114
|
|
|
2983
3115
|
> <DecryptPKCS1Output> decrypt_pkcs1(body)
|
|
@@ -4156,6 +4288,68 @@ No authorization required
|
|
|
4156
4288
|
- **Accept**: application/json
|
|
4157
4289
|
|
|
4158
4290
|
|
|
4291
|
+
## encrypt_gpg
|
|
4292
|
+
|
|
4293
|
+
> <EncryptGPGOutput> encrypt_gpg(body)
|
|
4294
|
+
|
|
4295
|
+
|
|
4296
|
+
|
|
4297
|
+
### Examples
|
|
4298
|
+
|
|
4299
|
+
```ruby
|
|
4300
|
+
require 'time'
|
|
4301
|
+
require 'akeyless'
|
|
4302
|
+
|
|
4303
|
+
api_instance = Akeyless::V2Api.new
|
|
4304
|
+
body = Akeyless::EncryptGPG.new({key_name: 'key_name_example', plaintext: 'plaintext_example'}) # EncryptGPG |
|
|
4305
|
+
|
|
4306
|
+
begin
|
|
4307
|
+
|
|
4308
|
+
result = api_instance.encrypt_gpg(body)
|
|
4309
|
+
p result
|
|
4310
|
+
rescue Akeyless::ApiError => e
|
|
4311
|
+
puts "Error when calling V2Api->encrypt_gpg: #{e}"
|
|
4312
|
+
end
|
|
4313
|
+
```
|
|
4314
|
+
|
|
4315
|
+
#### Using the encrypt_gpg_with_http_info variant
|
|
4316
|
+
|
|
4317
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4318
|
+
|
|
4319
|
+
> <Array(<EncryptGPGOutput>, Integer, Hash)> encrypt_gpg_with_http_info(body)
|
|
4320
|
+
|
|
4321
|
+
```ruby
|
|
4322
|
+
begin
|
|
4323
|
+
|
|
4324
|
+
data, status_code, headers = api_instance.encrypt_gpg_with_http_info(body)
|
|
4325
|
+
p status_code # => 2xx
|
|
4326
|
+
p headers # => { ... }
|
|
4327
|
+
p data # => <EncryptGPGOutput>
|
|
4328
|
+
rescue Akeyless::ApiError => e
|
|
4329
|
+
puts "Error when calling V2Api->encrypt_gpg_with_http_info: #{e}"
|
|
4330
|
+
end
|
|
4331
|
+
```
|
|
4332
|
+
|
|
4333
|
+
### Parameters
|
|
4334
|
+
|
|
4335
|
+
| Name | Type | Description | Notes |
|
|
4336
|
+
| ---- | ---- | ----------- | ----- |
|
|
4337
|
+
| **body** | [**EncryptGPG**](EncryptGPG.md) | | |
|
|
4338
|
+
|
|
4339
|
+
### Return type
|
|
4340
|
+
|
|
4341
|
+
[**EncryptGPGOutput**](EncryptGPGOutput.md)
|
|
4342
|
+
|
|
4343
|
+
### Authorization
|
|
4344
|
+
|
|
4345
|
+
No authorization required
|
|
4346
|
+
|
|
4347
|
+
### HTTP request headers
|
|
4348
|
+
|
|
4349
|
+
- **Content-Type**: application/json
|
|
4350
|
+
- **Accept**: application/json
|
|
4351
|
+
|
|
4352
|
+
|
|
4159
4353
|
## encrypt_with_classic_key
|
|
4160
4354
|
|
|
4161
4355
|
> <EncryptOutput> encrypt_with_classic_key(body)
|
|
@@ -8687,6 +8881,68 @@ No authorization required
|
|
|
8687
8881
|
- **Accept**: application/json
|
|
8688
8882
|
|
|
8689
8883
|
|
|
8884
|
+
## gateway_update_tls_cert
|
|
8885
|
+
|
|
8886
|
+
> <GatewayUpdateTlsCertOutput> gateway_update_tls_cert(body)
|
|
8887
|
+
|
|
8888
|
+
|
|
8889
|
+
|
|
8890
|
+
### Examples
|
|
8891
|
+
|
|
8892
|
+
```ruby
|
|
8893
|
+
require 'time'
|
|
8894
|
+
require 'akeyless'
|
|
8895
|
+
|
|
8896
|
+
api_instance = Akeyless::V2Api.new
|
|
8897
|
+
body = Akeyless::GatewayUpdateTlsCert.new # GatewayUpdateTlsCert |
|
|
8898
|
+
|
|
8899
|
+
begin
|
|
8900
|
+
|
|
8901
|
+
result = api_instance.gateway_update_tls_cert(body)
|
|
8902
|
+
p result
|
|
8903
|
+
rescue Akeyless::ApiError => e
|
|
8904
|
+
puts "Error when calling V2Api->gateway_update_tls_cert: #{e}"
|
|
8905
|
+
end
|
|
8906
|
+
```
|
|
8907
|
+
|
|
8908
|
+
#### Using the gateway_update_tls_cert_with_http_info variant
|
|
8909
|
+
|
|
8910
|
+
This returns an Array which contains the response data, status code and headers.
|
|
8911
|
+
|
|
8912
|
+
> <Array(<GatewayUpdateTlsCertOutput>, Integer, Hash)> gateway_update_tls_cert_with_http_info(body)
|
|
8913
|
+
|
|
8914
|
+
```ruby
|
|
8915
|
+
begin
|
|
8916
|
+
|
|
8917
|
+
data, status_code, headers = api_instance.gateway_update_tls_cert_with_http_info(body)
|
|
8918
|
+
p status_code # => 2xx
|
|
8919
|
+
p headers # => { ... }
|
|
8920
|
+
p data # => <GatewayUpdateTlsCertOutput>
|
|
8921
|
+
rescue Akeyless::ApiError => e
|
|
8922
|
+
puts "Error when calling V2Api->gateway_update_tls_cert_with_http_info: #{e}"
|
|
8923
|
+
end
|
|
8924
|
+
```
|
|
8925
|
+
|
|
8926
|
+
### Parameters
|
|
8927
|
+
|
|
8928
|
+
| Name | Type | Description | Notes |
|
|
8929
|
+
| ---- | ---- | ----------- | ----- |
|
|
8930
|
+
| **body** | [**GatewayUpdateTlsCert**](GatewayUpdateTlsCert.md) | | |
|
|
8931
|
+
|
|
8932
|
+
### Return type
|
|
8933
|
+
|
|
8934
|
+
[**GatewayUpdateTlsCertOutput**](GatewayUpdateTlsCertOutput.md)
|
|
8935
|
+
|
|
8936
|
+
### Authorization
|
|
8937
|
+
|
|
8938
|
+
No authorization required
|
|
8939
|
+
|
|
8940
|
+
### HTTP request headers
|
|
8941
|
+
|
|
8942
|
+
- **Content-Type**: application/json
|
|
8943
|
+
- **Accept**: application/json
|
|
8944
|
+
|
|
8945
|
+
|
|
8690
8946
|
## gateway_update_tmp_users
|
|
8691
8947
|
|
|
8692
8948
|
> gateway_update_tmp_users(body)
|
|
@@ -8931,6 +9187,68 @@ No authorization required
|
|
|
8931
9187
|
- **Accept**: application/json
|
|
8932
9188
|
|
|
8933
9189
|
|
|
9190
|
+
## get_certificate_value
|
|
9191
|
+
|
|
9192
|
+
> <GetCertificateValueOutput> get_certificate_value(body)
|
|
9193
|
+
|
|
9194
|
+
|
|
9195
|
+
|
|
9196
|
+
### Examples
|
|
9197
|
+
|
|
9198
|
+
```ruby
|
|
9199
|
+
require 'time'
|
|
9200
|
+
require 'akeyless'
|
|
9201
|
+
|
|
9202
|
+
api_instance = Akeyless::V2Api.new
|
|
9203
|
+
body = Akeyless::GetCertificateValue.new({name: 'name_example'}) # GetCertificateValue |
|
|
9204
|
+
|
|
9205
|
+
begin
|
|
9206
|
+
|
|
9207
|
+
result = api_instance.get_certificate_value(body)
|
|
9208
|
+
p result
|
|
9209
|
+
rescue Akeyless::ApiError => e
|
|
9210
|
+
puts "Error when calling V2Api->get_certificate_value: #{e}"
|
|
9211
|
+
end
|
|
9212
|
+
```
|
|
9213
|
+
|
|
9214
|
+
#### Using the get_certificate_value_with_http_info variant
|
|
9215
|
+
|
|
9216
|
+
This returns an Array which contains the response data, status code and headers.
|
|
9217
|
+
|
|
9218
|
+
> <Array(<GetCertificateValueOutput>, Integer, Hash)> get_certificate_value_with_http_info(body)
|
|
9219
|
+
|
|
9220
|
+
```ruby
|
|
9221
|
+
begin
|
|
9222
|
+
|
|
9223
|
+
data, status_code, headers = api_instance.get_certificate_value_with_http_info(body)
|
|
9224
|
+
p status_code # => 2xx
|
|
9225
|
+
p headers # => { ... }
|
|
9226
|
+
p data # => <GetCertificateValueOutput>
|
|
9227
|
+
rescue Akeyless::ApiError => e
|
|
9228
|
+
puts "Error when calling V2Api->get_certificate_value_with_http_info: #{e}"
|
|
9229
|
+
end
|
|
9230
|
+
```
|
|
9231
|
+
|
|
9232
|
+
### Parameters
|
|
9233
|
+
|
|
9234
|
+
| Name | Type | Description | Notes |
|
|
9235
|
+
| ---- | ---- | ----------- | ----- |
|
|
9236
|
+
| **body** | [**GetCertificateValue**](GetCertificateValue.md) | | |
|
|
9237
|
+
|
|
9238
|
+
### Return type
|
|
9239
|
+
|
|
9240
|
+
[**GetCertificateValueOutput**](GetCertificateValueOutput.md)
|
|
9241
|
+
|
|
9242
|
+
### Authorization
|
|
9243
|
+
|
|
9244
|
+
No authorization required
|
|
9245
|
+
|
|
9246
|
+
### HTTP request headers
|
|
9247
|
+
|
|
9248
|
+
- **Content-Type**: application/json
|
|
9249
|
+
- **Accept**: application/json
|
|
9250
|
+
|
|
9251
|
+
|
|
8934
9252
|
## get_dynamic_secret_value
|
|
8935
9253
|
|
|
8936
9254
|
> Hash<String, String> get_dynamic_secret_value(body)
|
|
@@ -11682,6 +12000,68 @@ No authorization required
|
|
|
11682
12000
|
- **Accept**: application/json
|
|
11683
12001
|
|
|
11684
12002
|
|
|
12003
|
+
## sign_gpg
|
|
12004
|
+
|
|
12005
|
+
> <SignGPGOutput> sign_gpg(body)
|
|
12006
|
+
|
|
12007
|
+
|
|
12008
|
+
|
|
12009
|
+
### Examples
|
|
12010
|
+
|
|
12011
|
+
```ruby
|
|
12012
|
+
require 'time'
|
|
12013
|
+
require 'akeyless'
|
|
12014
|
+
|
|
12015
|
+
api_instance = Akeyless::V2Api.new
|
|
12016
|
+
body = Akeyless::SignGPG.new({key_name: 'key_name_example', message: 'message_example'}) # SignGPG |
|
|
12017
|
+
|
|
12018
|
+
begin
|
|
12019
|
+
|
|
12020
|
+
result = api_instance.sign_gpg(body)
|
|
12021
|
+
p result
|
|
12022
|
+
rescue Akeyless::ApiError => e
|
|
12023
|
+
puts "Error when calling V2Api->sign_gpg: #{e}"
|
|
12024
|
+
end
|
|
12025
|
+
```
|
|
12026
|
+
|
|
12027
|
+
#### Using the sign_gpg_with_http_info variant
|
|
12028
|
+
|
|
12029
|
+
This returns an Array which contains the response data, status code and headers.
|
|
12030
|
+
|
|
12031
|
+
> <Array(<SignGPGOutput>, Integer, Hash)> sign_gpg_with_http_info(body)
|
|
12032
|
+
|
|
12033
|
+
```ruby
|
|
12034
|
+
begin
|
|
12035
|
+
|
|
12036
|
+
data, status_code, headers = api_instance.sign_gpg_with_http_info(body)
|
|
12037
|
+
p status_code # => 2xx
|
|
12038
|
+
p headers # => { ... }
|
|
12039
|
+
p data # => <SignGPGOutput>
|
|
12040
|
+
rescue Akeyless::ApiError => e
|
|
12041
|
+
puts "Error when calling V2Api->sign_gpg_with_http_info: #{e}"
|
|
12042
|
+
end
|
|
12043
|
+
```
|
|
12044
|
+
|
|
12045
|
+
### Parameters
|
|
12046
|
+
|
|
12047
|
+
| Name | Type | Description | Notes |
|
|
12048
|
+
| ---- | ---- | ----------- | ----- |
|
|
12049
|
+
| **body** | [**SignGPG**](SignGPG.md) | | |
|
|
12050
|
+
|
|
12051
|
+
### Return type
|
|
12052
|
+
|
|
12053
|
+
[**SignGPGOutput**](SignGPGOutput.md)
|
|
12054
|
+
|
|
12055
|
+
### Authorization
|
|
12056
|
+
|
|
12057
|
+
No authorization required
|
|
12058
|
+
|
|
12059
|
+
### HTTP request headers
|
|
12060
|
+
|
|
12061
|
+
- **Content-Type**: application/json
|
|
12062
|
+
- **Accept**: application/json
|
|
12063
|
+
|
|
12064
|
+
|
|
11685
12065
|
## sign_jwt_with_classic_key
|
|
11686
12066
|
|
|
11687
12067
|
> <SignJWTOutput> sign_jwt_with_classic_key(body)
|
|
@@ -13356,6 +13736,68 @@ No authorization required
|
|
|
13356
13736
|
- **Accept**: application/json
|
|
13357
13737
|
|
|
13358
13738
|
|
|
13739
|
+
## update_certificate_value
|
|
13740
|
+
|
|
13741
|
+
> <UpdateCertificateOutput> update_certificate_value(body)
|
|
13742
|
+
|
|
13743
|
+
|
|
13744
|
+
|
|
13745
|
+
### Examples
|
|
13746
|
+
|
|
13747
|
+
```ruby
|
|
13748
|
+
require 'time'
|
|
13749
|
+
require 'akeyless'
|
|
13750
|
+
|
|
13751
|
+
api_instance = Akeyless::V2Api.new
|
|
13752
|
+
body = Akeyless::UpdateCertificateValue.new({name: 'name_example'}) # UpdateCertificateValue |
|
|
13753
|
+
|
|
13754
|
+
begin
|
|
13755
|
+
|
|
13756
|
+
result = api_instance.update_certificate_value(body)
|
|
13757
|
+
p result
|
|
13758
|
+
rescue Akeyless::ApiError => e
|
|
13759
|
+
puts "Error when calling V2Api->update_certificate_value: #{e}"
|
|
13760
|
+
end
|
|
13761
|
+
```
|
|
13762
|
+
|
|
13763
|
+
#### Using the update_certificate_value_with_http_info variant
|
|
13764
|
+
|
|
13765
|
+
This returns an Array which contains the response data, status code and headers.
|
|
13766
|
+
|
|
13767
|
+
> <Array(<UpdateCertificateOutput>, Integer, Hash)> update_certificate_value_with_http_info(body)
|
|
13768
|
+
|
|
13769
|
+
```ruby
|
|
13770
|
+
begin
|
|
13771
|
+
|
|
13772
|
+
data, status_code, headers = api_instance.update_certificate_value_with_http_info(body)
|
|
13773
|
+
p status_code # => 2xx
|
|
13774
|
+
p headers # => { ... }
|
|
13775
|
+
p data # => <UpdateCertificateOutput>
|
|
13776
|
+
rescue Akeyless::ApiError => e
|
|
13777
|
+
puts "Error when calling V2Api->update_certificate_value_with_http_info: #{e}"
|
|
13778
|
+
end
|
|
13779
|
+
```
|
|
13780
|
+
|
|
13781
|
+
### Parameters
|
|
13782
|
+
|
|
13783
|
+
| Name | Type | Description | Notes |
|
|
13784
|
+
| ---- | ---- | ----------- | ----- |
|
|
13785
|
+
| **body** | [**UpdateCertificateValue**](UpdateCertificateValue.md) | | |
|
|
13786
|
+
|
|
13787
|
+
### Return type
|
|
13788
|
+
|
|
13789
|
+
[**UpdateCertificateOutput**](UpdateCertificateOutput.md)
|
|
13790
|
+
|
|
13791
|
+
### Authorization
|
|
13792
|
+
|
|
13793
|
+
No authorization required
|
|
13794
|
+
|
|
13795
|
+
### HTTP request headers
|
|
13796
|
+
|
|
13797
|
+
- **Content-Type**: application/json
|
|
13798
|
+
- **Accept**: application/json
|
|
13799
|
+
|
|
13800
|
+
|
|
13359
13801
|
## update_db_target
|
|
13360
13802
|
|
|
13361
13803
|
> <UpdateDBTargetOutput> update_db_target(body)
|
|
@@ -15213,6 +15655,68 @@ No authorization required
|
|
|
15213
15655
|
- **Accept**: application/json
|
|
15214
15656
|
|
|
15215
15657
|
|
|
15658
|
+
## verify_gpg
|
|
15659
|
+
|
|
15660
|
+
> Object verify_gpg(body)
|
|
15661
|
+
|
|
15662
|
+
|
|
15663
|
+
|
|
15664
|
+
### Examples
|
|
15665
|
+
|
|
15666
|
+
```ruby
|
|
15667
|
+
require 'time'
|
|
15668
|
+
require 'akeyless'
|
|
15669
|
+
|
|
15670
|
+
api_instance = Akeyless::V2Api.new
|
|
15671
|
+
body = Akeyless::VerifyGPG.new({key_name: 'key_name_example', signature: 'signature_example'}) # VerifyGPG |
|
|
15672
|
+
|
|
15673
|
+
begin
|
|
15674
|
+
|
|
15675
|
+
result = api_instance.verify_gpg(body)
|
|
15676
|
+
p result
|
|
15677
|
+
rescue Akeyless::ApiError => e
|
|
15678
|
+
puts "Error when calling V2Api->verify_gpg: #{e}"
|
|
15679
|
+
end
|
|
15680
|
+
```
|
|
15681
|
+
|
|
15682
|
+
#### Using the verify_gpg_with_http_info variant
|
|
15683
|
+
|
|
15684
|
+
This returns an Array which contains the response data, status code and headers.
|
|
15685
|
+
|
|
15686
|
+
> <Array(Object, Integer, Hash)> verify_gpg_with_http_info(body)
|
|
15687
|
+
|
|
15688
|
+
```ruby
|
|
15689
|
+
begin
|
|
15690
|
+
|
|
15691
|
+
data, status_code, headers = api_instance.verify_gpg_with_http_info(body)
|
|
15692
|
+
p status_code # => 2xx
|
|
15693
|
+
p headers # => { ... }
|
|
15694
|
+
p data # => Object
|
|
15695
|
+
rescue Akeyless::ApiError => e
|
|
15696
|
+
puts "Error when calling V2Api->verify_gpg_with_http_info: #{e}"
|
|
15697
|
+
end
|
|
15698
|
+
```
|
|
15699
|
+
|
|
15700
|
+
### Parameters
|
|
15701
|
+
|
|
15702
|
+
| Name | Type | Description | Notes |
|
|
15703
|
+
| ---- | ---- | ----------- | ----- |
|
|
15704
|
+
| **body** | [**VerifyGPG**](VerifyGPG.md) | | |
|
|
15705
|
+
|
|
15706
|
+
### Return type
|
|
15707
|
+
|
|
15708
|
+
**Object**
|
|
15709
|
+
|
|
15710
|
+
### Authorization
|
|
15711
|
+
|
|
15712
|
+
No authorization required
|
|
15713
|
+
|
|
15714
|
+
### HTTP request headers
|
|
15715
|
+
|
|
15716
|
+
- **Content-Type**: application/json
|
|
15717
|
+
- **Accept**: application/json
|
|
15718
|
+
|
|
15719
|
+
|
|
15216
15720
|
## verify_jwt_with_classic_key
|
|
15217
15721
|
|
|
15218
15722
|
> <VerifyJWTOutput> verify_jwt_with_classic_key(body)
|
data/docs/VerifyGPG.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Akeyless::VerifyGPG
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **display_id** | **String** | The display id of the key to use in the encryption process | [optional] |
|
|
8
|
+
| **item_id** | **Integer** | The item id of the key to use in the encryption process | [optional] |
|
|
9
|
+
| **json** | **Boolean** | Set output format to JSON | [optional] |
|
|
10
|
+
| **key_name** | **String** | The name of the key to use in the encryption process | |
|
|
11
|
+
| **passphrase** | **String** | Passphrase that was used to generate the key | [optional] |
|
|
12
|
+
| **signature** | **String** | The signature to be verified in base64 format | |
|
|
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::VerifyGPG.new(
|
|
22
|
+
display_id: null,
|
|
23
|
+
item_id: null,
|
|
24
|
+
json: null,
|
|
25
|
+
key_name: null,
|
|
26
|
+
passphrase: null,
|
|
27
|
+
signature: null,
|
|
28
|
+
token: null,
|
|
29
|
+
uid_token: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|