akeyless 3.1.1 → 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.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -1
  3. data/docs/AssocTargetItem.md +2 -0
  4. data/docs/CreateCertificate.md +3 -1
  5. data/docs/CreateClassicKey.md +6 -2
  6. data/docs/CreateDBTarget.md +4 -0
  7. data/docs/CreateDFCKey.md +3 -1
  8. data/docs/CreateDynamicSecret.md +3 -1
  9. data/docs/CreateKey.md +3 -1
  10. data/docs/CreatePKICertIssuer.md +3 -1
  11. data/docs/CreateRotatedSecret.md +3 -1
  12. data/docs/CreateSSHCertIssuer.md +3 -1
  13. data/docs/CreateSecret.md +3 -1
  14. data/docs/CreateTokenizer.md +3 -1
  15. data/docs/DSProducerDetails.md +8 -0
  16. data/docs/DecryptGPG.md +34 -0
  17. data/docs/DecryptGPGOutput.md +18 -0
  18. data/docs/EncryptGPG.md +32 -0
  19. data/docs/EncryptGPGOutput.md +18 -0
  20. data/docs/GatewayCreateProducerSnowflake.md +4 -0
  21. data/docs/GatewayUpdateItem.md +3 -1
  22. data/docs/GatewayUpdateProducerSnowflake.md +4 -0
  23. data/docs/GenCustomerFragment.md +4 -2
  24. data/docs/SignGPG.md +32 -0
  25. data/docs/SignGPGOutput.md +18 -0
  26. data/docs/TargetTypeDetailsInput.md +4 -0
  27. data/docs/UpdateDBTarget.md +4 -0
  28. data/docs/UpdateItem.md +3 -1
  29. data/docs/UpdatePKICertIssuer.md +3 -1
  30. data/docs/UpdateRotatedSecret.md +3 -1
  31. data/docs/UpdateSSHCertIssuer.md +3 -1
  32. data/docs/UploadPKCS12.md +3 -1
  33. data/docs/UploadRSA.md +3 -1
  34. data/docs/V2Api.md +252 -0
  35. data/docs/VerifyGPG.md +32 -0
  36. data/lib/akeyless/api/v2_api.rb +256 -0
  37. data/lib/akeyless/models/assoc_target_item.rb +11 -1
  38. data/lib/akeyless/models/create_certificate.rb +12 -2
  39. data/lib/akeyless/models/create_classic_key.rb +23 -3
  40. data/lib/akeyless/models/create_db_target.rb +21 -1
  41. data/lib/akeyless/models/create_dfc_key.rb +12 -2
  42. data/lib/akeyless/models/create_dynamic_secret.rb +12 -4
  43. data/lib/akeyless/models/create_key.rb +12 -2
  44. data/lib/akeyless/models/create_pki_cert_issuer.rb +12 -2
  45. data/lib/akeyless/models/create_rotated_secret.rb +12 -2
  46. data/lib/akeyless/models/create_secret.rb +12 -2
  47. data/lib/akeyless/models/create_ssh_cert_issuer.rb +12 -2
  48. data/lib/akeyless/models/create_tokenizer.rb +12 -2
  49. data/lib/akeyless/models/decrypt_gpg.rb +310 -0
  50. data/lib/akeyless/models/decrypt_gpg_output.rb +219 -0
  51. data/lib/akeyless/models/ds_producer_details.rb +40 -1
  52. data/lib/akeyless/models/encrypt_gpg.rb +300 -0
  53. data/lib/akeyless/models/encrypt_gpg_output.rb +219 -0
  54. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +22 -2
  55. data/lib/akeyless/models/gateway_update_item.rb +14 -2
  56. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +22 -2
  57. data/lib/akeyless/models/gen_customer_fragment.rb +15 -5
  58. data/lib/akeyless/models/sign_gpg.rb +300 -0
  59. data/lib/akeyless/models/sign_gpg_output.rb +219 -0
  60. data/lib/akeyless/models/target_type_details_input.rb +20 -1
  61. data/lib/akeyless/models/update_db_target.rb +21 -1
  62. data/lib/akeyless/models/update_item.rb +14 -2
  63. data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
  64. data/lib/akeyless/models/update_rotated_secret.rb +14 -2
  65. data/lib/akeyless/models/update_ssh_cert_issuer.rb +12 -2
  66. data/lib/akeyless/models/upload_pkcs12.rb +12 -2
  67. data/lib/akeyless/models/upload_rsa.rb +12 -2
  68. data/lib/akeyless/models/verify_gpg.rb +300 -0
  69. data/lib/akeyless/version.rb +1 -1
  70. data/lib/akeyless.rb +7 -0
  71. data/spec/models/decrypt_gpg_output_spec.rb +34 -0
  72. data/spec/models/decrypt_gpg_spec.rb +82 -0
  73. data/spec/models/encrypt_gpg_output_spec.rb +34 -0
  74. data/spec/models/encrypt_gpg_spec.rb +76 -0
  75. data/spec/models/sign_gpg_output_spec.rb +34 -0
  76. data/spec/models/sign_gpg_spec.rb +76 -0
  77. data/spec/models/verify_gpg_spec.rb +76 -0
  78. metadata +30 -2
@@ -25,6 +25,8 @@
25
25
  | **port** | **String** | | [optional] |
26
26
  | **pwd** | **String** | | [optional] |
27
27
  | **snowflake_account** | **String** | | [optional] |
28
+ | **snowflake_api_private_key** | **String** | RSA Private key (base64 encoded) | [optional] |
29
+ | **snowflake_api_private_key_password** | **String** | The Private key passphrase | [optional] |
28
30
  | **ssl** | **Boolean** | SSL connection mode | [optional] |
29
31
  | **ssl_certificate** | **String** | SSL connection certificate | [optional] |
30
32
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
@@ -59,6 +61,8 @@ instance = Akeyless::UpdateDBTarget.new(
59
61
  port: null,
60
62
  pwd: null,
61
63
  snowflake_account: null,
64
+ snowflake_api_private_key: null,
65
+ snowflake_api_private_key_password: null,
62
66
  ssl: null,
63
67
  ssl_certificate: null,
64
68
  token: null,
data/docs/UpdateItem.md CHANGED
@@ -8,9 +8,10 @@
8
8
  | **add_tag** | **Array<String>** | List of the new tags that will be attached to this item | [optional] |
9
9
  | **cert_file_data** | **String** | PEM Certificate in a Base64 format. Used for updating RSA keys' certificates. | [optional] |
10
10
  | **delete_protection** | **String** | | [optional] |
11
+ | **description** | **String** | Description of the object | [optional][default to 'default_metadata'] |
11
12
  | **json** | **Boolean** | Set output format to JSON | [optional] |
12
13
  | **name** | **String** | Current item name | |
13
- | **new_metadata** | **String** | New item metadata | [optional][default to 'default_metadata'] |
14
+ | **new_metadata** | **String** | Deprecated - use description | [optional][default to 'default_metadata'] |
14
15
  | **new_name** | **String** | New item name | [optional] |
15
16
  | **rm_tag** | **Array<String>** | List of the existent tags that will be removed from this item | [optional] |
16
17
  | **secure_access_add_host** | **Array<String>** | | [optional] |
@@ -50,6 +51,7 @@ instance = Akeyless::UpdateItem.new(
50
51
  add_tag: null,
51
52
  cert_file_data: null,
52
53
  delete_protection: null,
54
+ description: null,
53
55
  json: null,
54
56
  name: null,
55
57
  new_metadata: null,
@@ -12,10 +12,11 @@
12
12
  | **client_flag** | **Boolean** | If set, certificates will be flagged for client auth use | [optional] |
13
13
  | **code_signing_flag** | **Boolean** | If set, certificates will be flagged for code signing use | [optional] |
14
14
  | **country** | **String** | A comma-separated list of the country that will be set in the issued certificate | [optional] |
15
+ | **description** | **String** | Description of the object | [optional] |
15
16
  | **json** | **Boolean** | Set output format to JSON | [optional] |
16
17
  | **key_usage** | **String** | key-usage | [optional][default to 'DigitalSignature,KeyAgreement,KeyEncipherment'] |
17
18
  | **locality** | **String** | A comma-separated list of the locality that will be set in the issued certificate | [optional] |
18
- | **metadata** | **String** | A metadata about the issuer | [optional] |
19
+ | **metadata** | **String** | Deprecated - use description | [optional] |
19
20
  | **name** | **String** | PKI certificate issuer name | |
20
21
  | **new_name** | **String** | New item name | [optional] |
21
22
  | **not_enforce_hostnames** | **Boolean** | If set, any names are allowed for CN and SANs in the certificate and not only a valid host name | [optional] |
@@ -46,6 +47,7 @@ instance = Akeyless::UpdatePKICertIssuer.new(
46
47
  client_flag: null,
47
48
  code_signing_flag: null,
48
49
  country: null,
50
+ description: null,
49
51
  json: null,
50
52
  key_usage: null,
51
53
  locality: null,
@@ -10,12 +10,13 @@
10
10
  | **auto_rotate** | **String** | Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation | [optional] |
11
11
  | **aws_region** | **String** | Region (used in aws) | [optional][default to 'us-east-2'] |
12
12
  | **custom_payload** | **String** | | [optional] |
13
+ | **description** | **String** | Description of the object | [optional][default to 'default_metadata'] |
13
14
  | **gcp_key** | **String** | Base64-encoded service account private key text | [optional] |
14
15
  | **json** | **Boolean** | Set output format to JSON | [optional] |
15
16
  | **keep_prev_version** | **String** | | [optional] |
16
17
  | **key** | **String** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] |
17
18
  | **name** | **String** | Secret name | |
18
- | **new_metadata** | **String** | New item metadata | [optional][default to 'default_metadata'] |
19
+ | **new_metadata** | **String** | Deprecated - use description | [optional][default to 'default_metadata'] |
19
20
  | **new_name** | **String** | New item name | [optional] |
20
21
  | **new_version** | **Boolean** | Deprecated | [optional] |
21
22
  | **rm_tag** | **Array<String>** | List of the existent tags that will be removed from this item | [optional] |
@@ -56,6 +57,7 @@ instance = Akeyless::UpdateRotatedSecret.new(
56
57
  auto_rotate: null,
57
58
  aws_region: null,
58
59
  custom_payload: null,
60
+ description: null,
59
61
  gcp_key: null,
60
62
  json: null,
61
63
  keep_prev_version: null,
@@ -6,9 +6,10 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **add_tag** | **Array<String>** | List of the new tags that will be attached to this item | [optional] |
8
8
  | **allowed_users** | **String** | Users allowed to fetch the certificate, e.g root,ubuntu | |
9
+ | **description** | **String** | Description of the object | [optional] |
9
10
  | **extensions** | **Hash<String, String>** | Signed certificates with extensions, e.g permit-port-forwarding=\\\"\\\" | [optional] |
10
11
  | **json** | **Boolean** | Set output format to JSON | [optional] |
11
- | **metadata** | **String** | A metadata about the issuer | [optional] |
12
+ | **metadata** | **String** | Deprecated - use description | [optional] |
12
13
  | **name** | **String** | SSH certificate issuer name | |
13
14
  | **new_name** | **String** | New item name | [optional] |
14
15
  | **principals** | **String** | Signed certificates with principal, e.g example_role1,example_role2 | [optional] |
@@ -32,6 +33,7 @@ require 'akeyless'
32
33
  instance = Akeyless::UpdateSSHCertIssuer.new(
33
34
  add_tag: null,
34
35
  allowed_users: null,
36
+ description: null,
35
37
  extensions: null,
36
38
  json: null,
37
39
  metadata: null,
data/docs/UploadPKCS12.md CHANGED
@@ -6,9 +6,10 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **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] |
8
8
  | **delete_protection** | **String** | Protection from accidental deletion of this item | [optional] |
9
+ | **description** | **String** | Description of the object | [optional] |
9
10
  | **_in** | **String** | PKCS#12 input file (private key and certificate only) | |
10
11
  | **json** | **Boolean** | Set output format to JSON | [optional] |
11
- | **metadata** | **String** | A metadata about the key | [optional] |
12
+ | **metadata** | **String** | Deprecated - use description | [optional] |
12
13
  | **name** | **String** | Name of key to be created | |
13
14
  | **passphrase** | **String** | Passphrase to unlock the pkcs#12 bundle | |
14
15
  | **split_level** | **Integer** | The number of fragments that the item will be split into | [optional][default to 2] |
@@ -24,6 +25,7 @@ require 'akeyless'
24
25
  instance = Akeyless::UploadPKCS12.new(
25
26
  customer_frg_id: null,
26
27
  delete_protection: null,
28
+ description: null,
27
29
  _in: null,
28
30
  json: null,
29
31
  metadata: null,
data/docs/UploadRSA.md CHANGED
@@ -8,8 +8,9 @@
8
8
  | **cert_file_data** | **String** | Certificate in a PEM format. | [optional] |
9
9
  | **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] |
10
10
  | **delete_protection** | **String** | Protection from accidental deletion of this item | [optional] |
11
+ | **description** | **String** | Description of the object | [optional] |
11
12
  | **json** | **Boolean** | Set output format to JSON | [optional] |
12
- | **metadata** | **String** | A metadata about the key | [optional] |
13
+ | **metadata** | **String** | Deprecated - use description | [optional] |
13
14
  | **name** | **String** | Name of key to be created | |
14
15
  | **overwrite** | **String** | When the overwrite flag is set, this command will only update an existing key. [true, false] | [optional] |
15
16
  | **rsa_file_data** | **String** | RSA private key data, base64 encoded | [optional] |
@@ -28,6 +29,7 @@ instance = Akeyless::UploadRSA.new(
28
29
  cert_file_data: null,
29
30
  customer_frg_id: null,
30
31
  delete_protection: null,
32
+ description: null,
31
33
  json: null,
32
34
  metadata: null,
33
35
  name: null,
data/docs/V2Api.md CHANGED
@@ -49,6 +49,7 @@ All URIs are relative to *https://api.akeyless.io*
49
49
  | [**create_web_target**](V2Api.md#create_web_target) | **POST** /create-web-target | |
50
50
  | [**createldap_target**](V2Api.md#createldap_target) | **POST** /create-ldap-target | |
51
51
  | [**decrypt**](V2Api.md#decrypt) | **POST** /decrypt | |
52
+ | [**decrypt_gpg**](V2Api.md#decrypt_gpg) | **POST** /decrypt-gpg | |
52
53
  | [**decrypt_pkcs1**](V2Api.md#decrypt_pkcs1) | **POST** /decrypt-pkcs1 | |
53
54
  | [**decrypt_with_classic_key**](V2Api.md#decrypt_with_classic_key) | **POST** /decrypt-with-classic-key | |
54
55
  | [**delete_auth_method**](V2Api.md#delete_auth_method) | **POST** /delete-auth-method | |
@@ -68,6 +69,7 @@ All URIs are relative to *https://api.akeyless.io*
68
69
  | [**describe_sub_claims**](V2Api.md#describe_sub_claims) | **POST** /describe-sub-claims | |
69
70
  | [**detokenize**](V2Api.md#detokenize) | **POST** /detokenize | |
70
71
  | [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
72
+ | [**encrypt_gpg**](V2Api.md#encrypt_gpg) | **POST** /encrypt-gpg | |
71
73
  | [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
72
74
  | [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
73
75
  | [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
@@ -191,6 +193,7 @@ All URIs are relative to *https://api.akeyless.io*
191
193
  | [**set_item_state**](V2Api.md#set_item_state) | **POST** /set-item-state | |
192
194
  | [**set_role_rule**](V2Api.md#set_role_rule) | **POST** /set-role-rule | |
193
195
  | [**share_item**](V2Api.md#share_item) | **POST** /share-item | |
196
+ | [**sign_gpg**](V2Api.md#sign_gpg) | **POST** /sign-gpg | |
194
197
  | [**sign_jwt_with_classic_key**](V2Api.md#sign_jwt_with_classic_key) | **POST** /sign-jwt-with-classic-key | |
195
198
  | [**sign_pkcs1**](V2Api.md#sign_pkcs1) | **POST** /sign-pkcs1 | |
196
199
  | [**sign_pki_cert_with_classic_key**](V2Api.md#sign_pki_cert_with_classic_key) | **POST** /sign-pki-cert-with-classic-key | |
@@ -249,6 +252,7 @@ All URIs are relative to *https://api.akeyless.io*
249
252
  | [**update_web_target_details**](V2Api.md#update_web_target_details) | **POST** /update-web-target-details | |
250
253
  | [**upload_rsa**](V2Api.md#upload_rsa) | **POST** /upload-rsa | |
251
254
  | [**validate_token**](V2Api.md#validate_token) | **POST** /validate-token | |
255
+ | [**verify_gpg**](V2Api.md#verify_gpg) | **POST** /verify-gpg | |
252
256
  | [**verify_jwt_with_classic_key**](V2Api.md#verify_jwt_with_classic_key) | **POST** /verify-jwt-with-classic-key | |
253
257
  | [**verify_pkcs1**](V2Api.md#verify_pkcs1) | **POST** /verify-pkcs1 | |
254
258
  | [**verify_pki_cert_with_classic_key**](V2Api.md#verify_pki_cert_with_classic_key) | **POST** /verify-pki-cert-with-classic-key | |
@@ -3044,6 +3048,68 @@ No authorization required
3044
3048
  - **Accept**: application/json
3045
3049
 
3046
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
+
3047
3113
  ## decrypt_pkcs1
3048
3114
 
3049
3115
  > <DecryptPKCS1Output> decrypt_pkcs1(body)
@@ -4222,6 +4288,68 @@ No authorization required
4222
4288
  - **Accept**: application/json
4223
4289
 
4224
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
+
4225
4353
  ## encrypt_with_classic_key
4226
4354
 
4227
4355
  > <EncryptOutput> encrypt_with_classic_key(body)
@@ -11872,6 +12000,68 @@ No authorization required
11872
12000
  - **Accept**: application/json
11873
12001
 
11874
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
+
11875
12065
  ## sign_jwt_with_classic_key
11876
12066
 
11877
12067
  > <SignJWTOutput> sign_jwt_with_classic_key(body)
@@ -15465,6 +15655,68 @@ No authorization required
15465
15655
  - **Accept**: application/json
15466
15656
 
15467
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
+
15468
15720
  ## verify_jwt_with_classic_key
15469
15721
 
15470
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 &#x60;/auth&#x60; and &#x60;/configure&#x60;) | [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
+