akeyless 3.1.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -1
- data/docs/AssocTargetItem.md +2 -0
- data/docs/CreateCertificate.md +3 -1
- 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/CreatePingTarget.md +38 -0
- data/docs/CreatePingTargetOutput.md +18 -0
- data/docs/CreateRotatedSecret.md +5 -1
- data/docs/CreateSSHCertIssuer.md +3 -1
- data/docs/CreateSecret.md +3 -1
- data/docs/CreateTokenizer.md +3 -1
- data/docs/DSProducerDetails.md +48 -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/GatewayCreateProducerPing.md +66 -0
- data/docs/GatewayCreateProducerPingOutput.md +18 -0
- data/docs/GatewayCreateProducerSnowflake.md +4 -0
- data/docs/GatewayUpdateItem.md +3 -1
- data/docs/GatewayUpdateProducerPing.md +68 -0
- data/docs/GatewayUpdateProducerPingOutput.md +18 -0
- data/docs/GatewayUpdateProducerSnowflake.md +4 -0
- data/docs/GenCustomerFragment.md +4 -2
- data/docs/GetKubeExecCreds.md +5 -3
- data/docs/GetPKICertificate.md +5 -3
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/SignGPG.md +32 -0
- data/docs/SignGPGOutput.md +18 -0
- data/docs/TargetTypeDetailsInput.md +14 -0
- data/docs/UpdateDBTarget.md +4 -0
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdatePKICertIssuer.md +3 -1
- data/docs/UpdatePingTarget.md +44 -0
- data/docs/UpdateRotatedSecret.md +5 -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 +12 -2
- 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_ping_target.rb +329 -0
- data/lib/akeyless/models/create_ping_target_output.rb +219 -0
- data/lib/akeyless/models/create_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/create_rotated_secret.rb +24 -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 +235 -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_ping.rb +482 -0
- data/lib/akeyless/models/gateway_create_producer_ping_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_ping.rb +492 -0
- data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +22 -2
- data/lib/akeyless/models/gen_customer_fragment.rb +15 -5
- data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
- data/lib/akeyless/models/get_pki_certificate.rb +14 -4
- data/lib/akeyless/models/secure_remote_access.rb +10 -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 +65 -1
- data/lib/akeyless/models/update_db_target.rb +21 -1
- data/lib/akeyless/models/update_item.rb +14 -2
- data/lib/akeyless/models/update_ping_target.rb +358 -0
- data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/update_rotated_secret.rb +26 -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 +14 -0
- data/spec/models/create_ping_target_output_spec.rb +34 -0
- data/spec/models/create_ping_target_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_create_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
- data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
- data/spec/models/sign_gpg_output_spec.rb +34 -0
- data/spec/models/sign_gpg_spec.rb +76 -0
- data/spec/models/update_ping_target_spec.rb +112 -0
- data/spec/models/verify_gpg_spec.rb +76 -0
- metadata +609 -553
data/docs/V2Api.md
CHANGED
@@ -37,6 +37,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
37
37
|
| [**create_gke_target**](V2Api.md#create_gke_target) | **POST** /create-gke-target | |
|
38
38
|
| [**create_key**](V2Api.md#create_key) | **POST** /create-key | |
|
39
39
|
| [**create_native_k8_s_target**](V2Api.md#create_native_k8_s_target) | **POST** /create-k8s-target | |
|
40
|
+
| [**create_ping_target**](V2Api.md#create_ping_target) | **POST** /create-ping-target | |
|
40
41
|
| [**create_pki_cert_issuer**](V2Api.md#create_pki_cert_issuer) | **POST** /create-pki-cert-issuer | |
|
41
42
|
| [**create_rabbit_mq_target**](V2Api.md#create_rabbit_mq_target) | **POST** /create-rabbitmq-target | |
|
42
43
|
| [**create_role**](V2Api.md#create_role) | **POST** /create-role | |
|
@@ -49,6 +50,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
49
50
|
| [**create_web_target**](V2Api.md#create_web_target) | **POST** /create-web-target | |
|
50
51
|
| [**createldap_target**](V2Api.md#createldap_target) | **POST** /create-ldap-target | |
|
51
52
|
| [**decrypt**](V2Api.md#decrypt) | **POST** /decrypt | |
|
53
|
+
| [**decrypt_gpg**](V2Api.md#decrypt_gpg) | **POST** /decrypt-gpg | |
|
52
54
|
| [**decrypt_pkcs1**](V2Api.md#decrypt_pkcs1) | **POST** /decrypt-pkcs1 | |
|
53
55
|
| [**decrypt_with_classic_key**](V2Api.md#decrypt_with_classic_key) | **POST** /decrypt-with-classic-key | |
|
54
56
|
| [**delete_auth_method**](V2Api.md#delete_auth_method) | **POST** /delete-auth-method | |
|
@@ -68,6 +70,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
68
70
|
| [**describe_sub_claims**](V2Api.md#describe_sub_claims) | **POST** /describe-sub-claims | |
|
69
71
|
| [**detokenize**](V2Api.md#detokenize) | **POST** /detokenize | |
|
70
72
|
| [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
|
73
|
+
| [**encrypt_gpg**](V2Api.md#encrypt_gpg) | **POST** /encrypt-gpg | |
|
71
74
|
| [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
|
72
75
|
| [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
|
73
76
|
| [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
|
@@ -90,6 +93,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
90
93
|
| [**gateway_create_producer_my_sql**](V2Api.md#gateway_create_producer_my_sql) | **POST** /gateway-create-producer-mysql | |
|
91
94
|
| [**gateway_create_producer_native_k8_s**](V2Api.md#gateway_create_producer_native_k8_s) | **POST** /gateway-create-producer-k8s | |
|
92
95
|
| [**gateway_create_producer_oracle_db**](V2Api.md#gateway_create_producer_oracle_db) | **POST** /gateway-create-producer-oracle | |
|
96
|
+
| [**gateway_create_producer_ping**](V2Api.md#gateway_create_producer_ping) | **POST** /gateway-create-producer-ping | |
|
93
97
|
| [**gateway_create_producer_postgre_sql**](V2Api.md#gateway_create_producer_postgre_sql) | **POST** /gateway-create-producer-postgresql | |
|
94
98
|
| [**gateway_create_producer_rabbit_mq**](V2Api.md#gateway_create_producer_rabbit_mq) | **POST** /gateway-create-producer-rabbitmq | |
|
95
99
|
| [**gateway_create_producer_rdp**](V2Api.md#gateway_create_producer_rdp) | **POST** /gateway-create-producer-rdp | |
|
@@ -136,6 +140,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
136
140
|
| [**gateway_update_producer_my_sql**](V2Api.md#gateway_update_producer_my_sql) | **POST** /gateway-update-producer-mysql | |
|
137
141
|
| [**gateway_update_producer_native_k8_s**](V2Api.md#gateway_update_producer_native_k8_s) | **POST** /gateway-update-producer-k8s | |
|
138
142
|
| [**gateway_update_producer_oracle_db**](V2Api.md#gateway_update_producer_oracle_db) | **POST** /gateway-update-producer-oracle | |
|
143
|
+
| [**gateway_update_producer_ping**](V2Api.md#gateway_update_producer_ping) | **POST** /gateway-update-producer-ping | |
|
139
144
|
| [**gateway_update_producer_postgre_sql**](V2Api.md#gateway_update_producer_postgre_sql) | **POST** /gateway-update-producer-postgresql | |
|
140
145
|
| [**gateway_update_producer_rabbit_mq**](V2Api.md#gateway_update_producer_rabbit_mq) | **POST** /gateway-update-producer-rabbitmq | |
|
141
146
|
| [**gateway_update_producer_rdp**](V2Api.md#gateway_update_producer_rdp) | **POST** /gateway-update-producer-rdp | |
|
@@ -191,6 +196,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
191
196
|
| [**set_item_state**](V2Api.md#set_item_state) | **POST** /set-item-state | |
|
192
197
|
| [**set_role_rule**](V2Api.md#set_role_rule) | **POST** /set-role-rule | |
|
193
198
|
| [**share_item**](V2Api.md#share_item) | **POST** /share-item | |
|
199
|
+
| [**sign_gpg**](V2Api.md#sign_gpg) | **POST** /sign-gpg | |
|
194
200
|
| [**sign_jwt_with_classic_key**](V2Api.md#sign_jwt_with_classic_key) | **POST** /sign-jwt-with-classic-key | |
|
195
201
|
| [**sign_pkcs1**](V2Api.md#sign_pkcs1) | **POST** /sign-pkcs1 | |
|
196
202
|
| [**sign_pki_cert_with_classic_key**](V2Api.md#sign_pki_cert_with_classic_key) | **POST** /sign-pki-cert-with-classic-key | |
|
@@ -231,6 +237,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
231
237
|
| [**update_ldap_target**](V2Api.md#update_ldap_target) | **POST** /update-ldap-target | |
|
232
238
|
| [**update_ldap_target_details**](V2Api.md#update_ldap_target_details) | **POST** /update-ldap-target-details | |
|
233
239
|
| [**update_native_k8_s_target**](V2Api.md#update_native_k8_s_target) | **POST** /update-k8s-target | |
|
240
|
+
| [**update_ping_target**](V2Api.md#update_ping_target) | **POST** /update-ping-target | |
|
234
241
|
| [**update_pki_cert_issuer**](V2Api.md#update_pki_cert_issuer) | **POST** /update-pki-cert-issuer | |
|
235
242
|
| [**update_rabbit_mq_target**](V2Api.md#update_rabbit_mq_target) | **POST** /update-rabbitmq-target | |
|
236
243
|
| [**update_rabbit_mq_target_details**](V2Api.md#update_rabbit_mq_target_details) | **POST** /update-rabbitmq-target-details | |
|
@@ -249,6 +256,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
249
256
|
| [**update_web_target_details**](V2Api.md#update_web_target_details) | **POST** /update-web-target-details | |
|
250
257
|
| [**upload_rsa**](V2Api.md#upload_rsa) | **POST** /upload-rsa | |
|
251
258
|
| [**validate_token**](V2Api.md#validate_token) | **POST** /validate-token | |
|
259
|
+
| [**verify_gpg**](V2Api.md#verify_gpg) | **POST** /verify-gpg | |
|
252
260
|
| [**verify_jwt_with_classic_key**](V2Api.md#verify_jwt_with_classic_key) | **POST** /verify-jwt-with-classic-key | |
|
253
261
|
| [**verify_pkcs1**](V2Api.md#verify_pkcs1) | **POST** /verify-pkcs1 | |
|
254
262
|
| [**verify_pki_cert_with_classic_key**](V2Api.md#verify_pki_cert_with_classic_key) | **POST** /verify-pki-cert-with-classic-key | |
|
@@ -2300,6 +2308,68 @@ No authorization required
|
|
2300
2308
|
- **Accept**: application/json
|
2301
2309
|
|
2302
2310
|
|
2311
|
+
## create_ping_target
|
2312
|
+
|
2313
|
+
> <CreatePingTargetOutput> create_ping_target(body)
|
2314
|
+
|
2315
|
+
|
2316
|
+
|
2317
|
+
### Examples
|
2318
|
+
|
2319
|
+
```ruby
|
2320
|
+
require 'time'
|
2321
|
+
require 'akeyless'
|
2322
|
+
|
2323
|
+
api_instance = Akeyless::V2Api.new
|
2324
|
+
body = Akeyless::CreatePingTarget.new({name: 'name_example'}) # CreatePingTarget |
|
2325
|
+
|
2326
|
+
begin
|
2327
|
+
|
2328
|
+
result = api_instance.create_ping_target(body)
|
2329
|
+
p result
|
2330
|
+
rescue Akeyless::ApiError => e
|
2331
|
+
puts "Error when calling V2Api->create_ping_target: #{e}"
|
2332
|
+
end
|
2333
|
+
```
|
2334
|
+
|
2335
|
+
#### Using the create_ping_target_with_http_info variant
|
2336
|
+
|
2337
|
+
This returns an Array which contains the response data, status code and headers.
|
2338
|
+
|
2339
|
+
> <Array(<CreatePingTargetOutput>, Integer, Hash)> create_ping_target_with_http_info(body)
|
2340
|
+
|
2341
|
+
```ruby
|
2342
|
+
begin
|
2343
|
+
|
2344
|
+
data, status_code, headers = api_instance.create_ping_target_with_http_info(body)
|
2345
|
+
p status_code # => 2xx
|
2346
|
+
p headers # => { ... }
|
2347
|
+
p data # => <CreatePingTargetOutput>
|
2348
|
+
rescue Akeyless::ApiError => e
|
2349
|
+
puts "Error when calling V2Api->create_ping_target_with_http_info: #{e}"
|
2350
|
+
end
|
2351
|
+
```
|
2352
|
+
|
2353
|
+
### Parameters
|
2354
|
+
|
2355
|
+
| Name | Type | Description | Notes |
|
2356
|
+
| ---- | ---- | ----------- | ----- |
|
2357
|
+
| **body** | [**CreatePingTarget**](CreatePingTarget.md) | | |
|
2358
|
+
|
2359
|
+
### Return type
|
2360
|
+
|
2361
|
+
[**CreatePingTargetOutput**](CreatePingTargetOutput.md)
|
2362
|
+
|
2363
|
+
### Authorization
|
2364
|
+
|
2365
|
+
No authorization required
|
2366
|
+
|
2367
|
+
### HTTP request headers
|
2368
|
+
|
2369
|
+
- **Content-Type**: application/json
|
2370
|
+
- **Accept**: application/json
|
2371
|
+
|
2372
|
+
|
2303
2373
|
## create_pki_cert_issuer
|
2304
2374
|
|
2305
2375
|
> <CreatePKICertIssuerOutput> create_pki_cert_issuer(body)
|
@@ -3044,6 +3114,68 @@ No authorization required
|
|
3044
3114
|
- **Accept**: application/json
|
3045
3115
|
|
3046
3116
|
|
3117
|
+
## decrypt_gpg
|
3118
|
+
|
3119
|
+
> <DecryptGPGOutput> decrypt_gpg(body)
|
3120
|
+
|
3121
|
+
|
3122
|
+
|
3123
|
+
### Examples
|
3124
|
+
|
3125
|
+
```ruby
|
3126
|
+
require 'time'
|
3127
|
+
require 'akeyless'
|
3128
|
+
|
3129
|
+
api_instance = Akeyless::V2Api.new
|
3130
|
+
body = Akeyless::DecryptGPG.new({ciphertext: 'ciphertext_example', key_name: 'key_name_example'}) # DecryptGPG |
|
3131
|
+
|
3132
|
+
begin
|
3133
|
+
|
3134
|
+
result = api_instance.decrypt_gpg(body)
|
3135
|
+
p result
|
3136
|
+
rescue Akeyless::ApiError => e
|
3137
|
+
puts "Error when calling V2Api->decrypt_gpg: #{e}"
|
3138
|
+
end
|
3139
|
+
```
|
3140
|
+
|
3141
|
+
#### Using the decrypt_gpg_with_http_info variant
|
3142
|
+
|
3143
|
+
This returns an Array which contains the response data, status code and headers.
|
3144
|
+
|
3145
|
+
> <Array(<DecryptGPGOutput>, Integer, Hash)> decrypt_gpg_with_http_info(body)
|
3146
|
+
|
3147
|
+
```ruby
|
3148
|
+
begin
|
3149
|
+
|
3150
|
+
data, status_code, headers = api_instance.decrypt_gpg_with_http_info(body)
|
3151
|
+
p status_code # => 2xx
|
3152
|
+
p headers # => { ... }
|
3153
|
+
p data # => <DecryptGPGOutput>
|
3154
|
+
rescue Akeyless::ApiError => e
|
3155
|
+
puts "Error when calling V2Api->decrypt_gpg_with_http_info: #{e}"
|
3156
|
+
end
|
3157
|
+
```
|
3158
|
+
|
3159
|
+
### Parameters
|
3160
|
+
|
3161
|
+
| Name | Type | Description | Notes |
|
3162
|
+
| ---- | ---- | ----------- | ----- |
|
3163
|
+
| **body** | [**DecryptGPG**](DecryptGPG.md) | | |
|
3164
|
+
|
3165
|
+
### Return type
|
3166
|
+
|
3167
|
+
[**DecryptGPGOutput**](DecryptGPGOutput.md)
|
3168
|
+
|
3169
|
+
### Authorization
|
3170
|
+
|
3171
|
+
No authorization required
|
3172
|
+
|
3173
|
+
### HTTP request headers
|
3174
|
+
|
3175
|
+
- **Content-Type**: application/json
|
3176
|
+
- **Accept**: application/json
|
3177
|
+
|
3178
|
+
|
3047
3179
|
## decrypt_pkcs1
|
3048
3180
|
|
3049
3181
|
> <DecryptPKCS1Output> decrypt_pkcs1(body)
|
@@ -4222,6 +4354,68 @@ No authorization required
|
|
4222
4354
|
- **Accept**: application/json
|
4223
4355
|
|
4224
4356
|
|
4357
|
+
## encrypt_gpg
|
4358
|
+
|
4359
|
+
> <EncryptGPGOutput> encrypt_gpg(body)
|
4360
|
+
|
4361
|
+
|
4362
|
+
|
4363
|
+
### Examples
|
4364
|
+
|
4365
|
+
```ruby
|
4366
|
+
require 'time'
|
4367
|
+
require 'akeyless'
|
4368
|
+
|
4369
|
+
api_instance = Akeyless::V2Api.new
|
4370
|
+
body = Akeyless::EncryptGPG.new({key_name: 'key_name_example', plaintext: 'plaintext_example'}) # EncryptGPG |
|
4371
|
+
|
4372
|
+
begin
|
4373
|
+
|
4374
|
+
result = api_instance.encrypt_gpg(body)
|
4375
|
+
p result
|
4376
|
+
rescue Akeyless::ApiError => e
|
4377
|
+
puts "Error when calling V2Api->encrypt_gpg: #{e}"
|
4378
|
+
end
|
4379
|
+
```
|
4380
|
+
|
4381
|
+
#### Using the encrypt_gpg_with_http_info variant
|
4382
|
+
|
4383
|
+
This returns an Array which contains the response data, status code and headers.
|
4384
|
+
|
4385
|
+
> <Array(<EncryptGPGOutput>, Integer, Hash)> encrypt_gpg_with_http_info(body)
|
4386
|
+
|
4387
|
+
```ruby
|
4388
|
+
begin
|
4389
|
+
|
4390
|
+
data, status_code, headers = api_instance.encrypt_gpg_with_http_info(body)
|
4391
|
+
p status_code # => 2xx
|
4392
|
+
p headers # => { ... }
|
4393
|
+
p data # => <EncryptGPGOutput>
|
4394
|
+
rescue Akeyless::ApiError => e
|
4395
|
+
puts "Error when calling V2Api->encrypt_gpg_with_http_info: #{e}"
|
4396
|
+
end
|
4397
|
+
```
|
4398
|
+
|
4399
|
+
### Parameters
|
4400
|
+
|
4401
|
+
| Name | Type | Description | Notes |
|
4402
|
+
| ---- | ---- | ----------- | ----- |
|
4403
|
+
| **body** | [**EncryptGPG**](EncryptGPG.md) | | |
|
4404
|
+
|
4405
|
+
### Return type
|
4406
|
+
|
4407
|
+
[**EncryptGPGOutput**](EncryptGPGOutput.md)
|
4408
|
+
|
4409
|
+
### Authorization
|
4410
|
+
|
4411
|
+
No authorization required
|
4412
|
+
|
4413
|
+
### HTTP request headers
|
4414
|
+
|
4415
|
+
- **Content-Type**: application/json
|
4416
|
+
- **Accept**: application/json
|
4417
|
+
|
4418
|
+
|
4225
4419
|
## encrypt_with_classic_key
|
4226
4420
|
|
4227
4421
|
> <EncryptOutput> encrypt_with_classic_key(body)
|
@@ -5588,6 +5782,68 @@ No authorization required
|
|
5588
5782
|
- **Accept**: application/json
|
5589
5783
|
|
5590
5784
|
|
5785
|
+
## gateway_create_producer_ping
|
5786
|
+
|
5787
|
+
> <GatewayCreateProducerPingOutput> gateway_create_producer_ping(body)
|
5788
|
+
|
5789
|
+
|
5790
|
+
|
5791
|
+
### Examples
|
5792
|
+
|
5793
|
+
```ruby
|
5794
|
+
require 'time'
|
5795
|
+
require 'akeyless'
|
5796
|
+
|
5797
|
+
api_instance = Akeyless::V2Api.new
|
5798
|
+
body = Akeyless::GatewayCreateProducerPing.new({name: 'name_example'}) # GatewayCreateProducerPing |
|
5799
|
+
|
5800
|
+
begin
|
5801
|
+
|
5802
|
+
result = api_instance.gateway_create_producer_ping(body)
|
5803
|
+
p result
|
5804
|
+
rescue Akeyless::ApiError => e
|
5805
|
+
puts "Error when calling V2Api->gateway_create_producer_ping: #{e}"
|
5806
|
+
end
|
5807
|
+
```
|
5808
|
+
|
5809
|
+
#### Using the gateway_create_producer_ping_with_http_info variant
|
5810
|
+
|
5811
|
+
This returns an Array which contains the response data, status code and headers.
|
5812
|
+
|
5813
|
+
> <Array(<GatewayCreateProducerPingOutput>, Integer, Hash)> gateway_create_producer_ping_with_http_info(body)
|
5814
|
+
|
5815
|
+
```ruby
|
5816
|
+
begin
|
5817
|
+
|
5818
|
+
data, status_code, headers = api_instance.gateway_create_producer_ping_with_http_info(body)
|
5819
|
+
p status_code # => 2xx
|
5820
|
+
p headers # => { ... }
|
5821
|
+
p data # => <GatewayCreateProducerPingOutput>
|
5822
|
+
rescue Akeyless::ApiError => e
|
5823
|
+
puts "Error when calling V2Api->gateway_create_producer_ping_with_http_info: #{e}"
|
5824
|
+
end
|
5825
|
+
```
|
5826
|
+
|
5827
|
+
### Parameters
|
5828
|
+
|
5829
|
+
| Name | Type | Description | Notes |
|
5830
|
+
| ---- | ---- | ----------- | ----- |
|
5831
|
+
| **body** | [**GatewayCreateProducerPing**](GatewayCreateProducerPing.md) | | |
|
5832
|
+
|
5833
|
+
### Return type
|
5834
|
+
|
5835
|
+
[**GatewayCreateProducerPingOutput**](GatewayCreateProducerPingOutput.md)
|
5836
|
+
|
5837
|
+
### Authorization
|
5838
|
+
|
5839
|
+
No authorization required
|
5840
|
+
|
5841
|
+
### HTTP request headers
|
5842
|
+
|
5843
|
+
- **Content-Type**: application/json
|
5844
|
+
- **Accept**: application/json
|
5845
|
+
|
5846
|
+
|
5591
5847
|
## gateway_create_producer_postgre_sql
|
5592
5848
|
|
5593
5849
|
> <GatewayCreateProducerPostgreSQLOutput> gateway_create_producer_postgre_sql(body)
|
@@ -8443,6 +8699,68 @@ No authorization required
|
|
8443
8699
|
- **Accept**: application/json
|
8444
8700
|
|
8445
8701
|
|
8702
|
+
## gateway_update_producer_ping
|
8703
|
+
|
8704
|
+
> <GatewayUpdateProducerPingOutput> gateway_update_producer_ping(body)
|
8705
|
+
|
8706
|
+
|
8707
|
+
|
8708
|
+
### Examples
|
8709
|
+
|
8710
|
+
```ruby
|
8711
|
+
require 'time'
|
8712
|
+
require 'akeyless'
|
8713
|
+
|
8714
|
+
api_instance = Akeyless::V2Api.new
|
8715
|
+
body = Akeyless::GatewayUpdateProducerPing.new({name: 'name_example'}) # GatewayUpdateProducerPing |
|
8716
|
+
|
8717
|
+
begin
|
8718
|
+
|
8719
|
+
result = api_instance.gateway_update_producer_ping(body)
|
8720
|
+
p result
|
8721
|
+
rescue Akeyless::ApiError => e
|
8722
|
+
puts "Error when calling V2Api->gateway_update_producer_ping: #{e}"
|
8723
|
+
end
|
8724
|
+
```
|
8725
|
+
|
8726
|
+
#### Using the gateway_update_producer_ping_with_http_info variant
|
8727
|
+
|
8728
|
+
This returns an Array which contains the response data, status code and headers.
|
8729
|
+
|
8730
|
+
> <Array(<GatewayUpdateProducerPingOutput>, Integer, Hash)> gateway_update_producer_ping_with_http_info(body)
|
8731
|
+
|
8732
|
+
```ruby
|
8733
|
+
begin
|
8734
|
+
|
8735
|
+
data, status_code, headers = api_instance.gateway_update_producer_ping_with_http_info(body)
|
8736
|
+
p status_code # => 2xx
|
8737
|
+
p headers # => { ... }
|
8738
|
+
p data # => <GatewayUpdateProducerPingOutput>
|
8739
|
+
rescue Akeyless::ApiError => e
|
8740
|
+
puts "Error when calling V2Api->gateway_update_producer_ping_with_http_info: #{e}"
|
8741
|
+
end
|
8742
|
+
```
|
8743
|
+
|
8744
|
+
### Parameters
|
8745
|
+
|
8746
|
+
| Name | Type | Description | Notes |
|
8747
|
+
| ---- | ---- | ----------- | ----- |
|
8748
|
+
| **body** | [**GatewayUpdateProducerPing**](GatewayUpdateProducerPing.md) | | |
|
8749
|
+
|
8750
|
+
### Return type
|
8751
|
+
|
8752
|
+
[**GatewayUpdateProducerPingOutput**](GatewayUpdateProducerPingOutput.md)
|
8753
|
+
|
8754
|
+
### Authorization
|
8755
|
+
|
8756
|
+
No authorization required
|
8757
|
+
|
8758
|
+
### HTTP request headers
|
8759
|
+
|
8760
|
+
- **Content-Type**: application/json
|
8761
|
+
- **Accept**: application/json
|
8762
|
+
|
8763
|
+
|
8446
8764
|
## gateway_update_producer_postgre_sql
|
8447
8765
|
|
8448
8766
|
> <GatewayUpdateProducerPostgreSQLOutput> gateway_update_producer_postgre_sql(body)
|
@@ -11872,6 +12190,68 @@ No authorization required
|
|
11872
12190
|
- **Accept**: application/json
|
11873
12191
|
|
11874
12192
|
|
12193
|
+
## sign_gpg
|
12194
|
+
|
12195
|
+
> <SignGPGOutput> sign_gpg(body)
|
12196
|
+
|
12197
|
+
|
12198
|
+
|
12199
|
+
### Examples
|
12200
|
+
|
12201
|
+
```ruby
|
12202
|
+
require 'time'
|
12203
|
+
require 'akeyless'
|
12204
|
+
|
12205
|
+
api_instance = Akeyless::V2Api.new
|
12206
|
+
body = Akeyless::SignGPG.new({key_name: 'key_name_example', message: 'message_example'}) # SignGPG |
|
12207
|
+
|
12208
|
+
begin
|
12209
|
+
|
12210
|
+
result = api_instance.sign_gpg(body)
|
12211
|
+
p result
|
12212
|
+
rescue Akeyless::ApiError => e
|
12213
|
+
puts "Error when calling V2Api->sign_gpg: #{e}"
|
12214
|
+
end
|
12215
|
+
```
|
12216
|
+
|
12217
|
+
#### Using the sign_gpg_with_http_info variant
|
12218
|
+
|
12219
|
+
This returns an Array which contains the response data, status code and headers.
|
12220
|
+
|
12221
|
+
> <Array(<SignGPGOutput>, Integer, Hash)> sign_gpg_with_http_info(body)
|
12222
|
+
|
12223
|
+
```ruby
|
12224
|
+
begin
|
12225
|
+
|
12226
|
+
data, status_code, headers = api_instance.sign_gpg_with_http_info(body)
|
12227
|
+
p status_code # => 2xx
|
12228
|
+
p headers # => { ... }
|
12229
|
+
p data # => <SignGPGOutput>
|
12230
|
+
rescue Akeyless::ApiError => e
|
12231
|
+
puts "Error when calling V2Api->sign_gpg_with_http_info: #{e}"
|
12232
|
+
end
|
12233
|
+
```
|
12234
|
+
|
12235
|
+
### Parameters
|
12236
|
+
|
12237
|
+
| Name | Type | Description | Notes |
|
12238
|
+
| ---- | ---- | ----------- | ----- |
|
12239
|
+
| **body** | [**SignGPG**](SignGPG.md) | | |
|
12240
|
+
|
12241
|
+
### Return type
|
12242
|
+
|
12243
|
+
[**SignGPGOutput**](SignGPGOutput.md)
|
12244
|
+
|
12245
|
+
### Authorization
|
12246
|
+
|
12247
|
+
No authorization required
|
12248
|
+
|
12249
|
+
### HTTP request headers
|
12250
|
+
|
12251
|
+
- **Content-Type**: application/json
|
12252
|
+
- **Accept**: application/json
|
12253
|
+
|
12254
|
+
|
11875
12255
|
## sign_jwt_with_classic_key
|
11876
12256
|
|
11877
12257
|
> <SignJWTOutput> sign_jwt_with_classic_key(body)
|
@@ -14352,6 +14732,68 @@ No authorization required
|
|
14352
14732
|
- **Accept**: application/json
|
14353
14733
|
|
14354
14734
|
|
14735
|
+
## update_ping_target
|
14736
|
+
|
14737
|
+
> Object update_ping_target(body)
|
14738
|
+
|
14739
|
+
|
14740
|
+
|
14741
|
+
### Examples
|
14742
|
+
|
14743
|
+
```ruby
|
14744
|
+
require 'time'
|
14745
|
+
require 'akeyless'
|
14746
|
+
|
14747
|
+
api_instance = Akeyless::V2Api.new
|
14748
|
+
body = Akeyless::UpdatePingTarget.new({name: 'name_example'}) # UpdatePingTarget |
|
14749
|
+
|
14750
|
+
begin
|
14751
|
+
|
14752
|
+
result = api_instance.update_ping_target(body)
|
14753
|
+
p result
|
14754
|
+
rescue Akeyless::ApiError => e
|
14755
|
+
puts "Error when calling V2Api->update_ping_target: #{e}"
|
14756
|
+
end
|
14757
|
+
```
|
14758
|
+
|
14759
|
+
#### Using the update_ping_target_with_http_info variant
|
14760
|
+
|
14761
|
+
This returns an Array which contains the response data, status code and headers.
|
14762
|
+
|
14763
|
+
> <Array(Object, Integer, Hash)> update_ping_target_with_http_info(body)
|
14764
|
+
|
14765
|
+
```ruby
|
14766
|
+
begin
|
14767
|
+
|
14768
|
+
data, status_code, headers = api_instance.update_ping_target_with_http_info(body)
|
14769
|
+
p status_code # => 2xx
|
14770
|
+
p headers # => { ... }
|
14771
|
+
p data # => Object
|
14772
|
+
rescue Akeyless::ApiError => e
|
14773
|
+
puts "Error when calling V2Api->update_ping_target_with_http_info: #{e}"
|
14774
|
+
end
|
14775
|
+
```
|
14776
|
+
|
14777
|
+
### Parameters
|
14778
|
+
|
14779
|
+
| Name | Type | Description | Notes |
|
14780
|
+
| ---- | ---- | ----------- | ----- |
|
14781
|
+
| **body** | [**UpdatePingTarget**](UpdatePingTarget.md) | | |
|
14782
|
+
|
14783
|
+
### Return type
|
14784
|
+
|
14785
|
+
**Object**
|
14786
|
+
|
14787
|
+
### Authorization
|
14788
|
+
|
14789
|
+
No authorization required
|
14790
|
+
|
14791
|
+
### HTTP request headers
|
14792
|
+
|
14793
|
+
- **Content-Type**: application/json
|
14794
|
+
- **Accept**: application/json
|
14795
|
+
|
14796
|
+
|
14355
14797
|
## update_pki_cert_issuer
|
14356
14798
|
|
14357
14799
|
> <UpdatePKICertIssuerOutput> update_pki_cert_issuer(body)
|
@@ -15465,6 +15907,68 @@ No authorization required
|
|
15465
15907
|
- **Accept**: application/json
|
15466
15908
|
|
15467
15909
|
|
15910
|
+
## verify_gpg
|
15911
|
+
|
15912
|
+
> Object verify_gpg(body)
|
15913
|
+
|
15914
|
+
|
15915
|
+
|
15916
|
+
### Examples
|
15917
|
+
|
15918
|
+
```ruby
|
15919
|
+
require 'time'
|
15920
|
+
require 'akeyless'
|
15921
|
+
|
15922
|
+
api_instance = Akeyless::V2Api.new
|
15923
|
+
body = Akeyless::VerifyGPG.new({key_name: 'key_name_example', signature: 'signature_example'}) # VerifyGPG |
|
15924
|
+
|
15925
|
+
begin
|
15926
|
+
|
15927
|
+
result = api_instance.verify_gpg(body)
|
15928
|
+
p result
|
15929
|
+
rescue Akeyless::ApiError => e
|
15930
|
+
puts "Error when calling V2Api->verify_gpg: #{e}"
|
15931
|
+
end
|
15932
|
+
```
|
15933
|
+
|
15934
|
+
#### Using the verify_gpg_with_http_info variant
|
15935
|
+
|
15936
|
+
This returns an Array which contains the response data, status code and headers.
|
15937
|
+
|
15938
|
+
> <Array(Object, Integer, Hash)> verify_gpg_with_http_info(body)
|
15939
|
+
|
15940
|
+
```ruby
|
15941
|
+
begin
|
15942
|
+
|
15943
|
+
data, status_code, headers = api_instance.verify_gpg_with_http_info(body)
|
15944
|
+
p status_code # => 2xx
|
15945
|
+
p headers # => { ... }
|
15946
|
+
p data # => Object
|
15947
|
+
rescue Akeyless::ApiError => e
|
15948
|
+
puts "Error when calling V2Api->verify_gpg_with_http_info: #{e}"
|
15949
|
+
end
|
15950
|
+
```
|
15951
|
+
|
15952
|
+
### Parameters
|
15953
|
+
|
15954
|
+
| Name | Type | Description | Notes |
|
15955
|
+
| ---- | ---- | ----------- | ----- |
|
15956
|
+
| **body** | [**VerifyGPG**](VerifyGPG.md) | | |
|
15957
|
+
|
15958
|
+
### Return type
|
15959
|
+
|
15960
|
+
**Object**
|
15961
|
+
|
15962
|
+
### Authorization
|
15963
|
+
|
15964
|
+
No authorization required
|
15965
|
+
|
15966
|
+
### HTTP request headers
|
15967
|
+
|
15968
|
+
- **Content-Type**: application/json
|
15969
|
+
- **Accept**: application/json
|
15970
|
+
|
15971
|
+
|
15468
15972
|
## verify_jwt_with_classic_key
|
15469
15973
|
|
15470
15974
|
> <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
|
+
|