akeyless 3.5.4 → 3.6.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 +16 -2
- data/docs/AssocTargetItem.md +8 -0
- data/docs/Auth.md +4 -0
- data/docs/AuthMethod.md +2 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/CertificateChainInfo.md +4 -0
- data/docs/CertificateVersionInfo.md +22 -0
- data/docs/Configure.md +5 -1
- data/docs/Connect.md +1 -1
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +3 -1
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOCI.md +40 -0
- data/docs/CreateAuthMethodOCIOutput.md +18 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateLinkedTarget.md +2 -0
- data/docs/CreateRole.md +4 -0
- data/docs/CreateRotatedSecret.md +7 -1
- data/docs/CreateSSHCertIssuer.md +4 -4
- data/docs/CreateSecret.md +2 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerCassandra.md +4 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerCassandra.md +4 -0
- data/docs/GenerateCsr.md +1 -1
- data/docs/GwClusterIdentity.md +2 -0
- data/docs/ImportPasswords.md +3 -1
- data/docs/ImportPasswordsOutput.md +3 -1
- data/docs/ItemVersion.md +2 -0
- data/docs/OCIAccessRules.md +20 -0
- data/docs/ProvisionCertificate.md +28 -0
- data/docs/ProvisionCertificateOutput.md +24 -0
- data/docs/RenewCertificate.md +28 -0
- data/docs/RenewCertificateOutput.md +28 -0
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/ServerInventoryPayload.md +2 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SignDataWithClassicKey.md +2 -0
- data/docs/SignEcDsa.md +5 -1
- data/docs/SignPKCS1.md +9 -1
- data/docs/SignPKCS1Output.md +1 -1
- data/docs/SignRsaSsaPss.md +5 -1
- data/docs/StaticSecretDetailsInfo.md +2 -0
- data/docs/TargetItemVersion.md +2 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +3 -1
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOCI.md +42 -0
- data/docs/UpdateAuthMethodOCIOutput.md +18 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdateCertificateValue.md +2 -0
- data/docs/UpdateItem.md +6 -0
- data/docs/UpdateLinkedTarget.md +2 -0
- data/docs/UpdateRole.md +4 -0
- data/docs/UpdateSSHCertIssuer.md +3 -3
- data/docs/UpdateSecretVal.md +2 -0
- data/docs/V2Api.md +264 -9
- data/docs/VerifyEcDsa.md +5 -1
- data/docs/VerifyPKCS1.md +9 -1
- data/docs/VerifyRsaSsaPss.md +5 -1
- data/lib/akeyless/api/v2_api.rb +274 -7
- data/lib/akeyless/models/assoc_target_item.rb +43 -1
- data/lib/akeyless/models/auth.rb +25 -1
- data/lib/akeyless/models/auth_method.rb +10 -1
- data/lib/akeyless/models/auth_method_access_info.rb +10 -1
- data/lib/akeyless/models/certificate_chain_info.rb +19 -1
- data/lib/akeyless/models/certificate_version_info.rb +232 -0
- data/lib/akeyless/models/configure.rb +28 -4
- data/lib/akeyless/models/connect.rb +1 -1
- data/lib/akeyless/models/create_auth_method.rb +11 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -2
- data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/create_auth_method_email.rb +11 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +359 -0
- data/lib/akeyless/models/create_auth_method_oci_output.rb +214 -0
- data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/create_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_linked_target.rb +11 -1
- data/lib/akeyless/models/create_role.rb +21 -1
- data/lib/akeyless/models/create_rotated_secret.rb +35 -2
- data/lib/akeyless/models/create_secret.rb +11 -1
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +9 -9
- data/lib/akeyless/models/gateway_create_migration.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +23 -1
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +23 -1
- data/lib/akeyless/models/generate_csr.rb +1 -1
- data/lib/akeyless/models/gw_cluster_identity.rb +10 -1
- data/lib/akeyless/models/import_passwords.rb +13 -4
- data/lib/akeyless/models/import_passwords_output.rb +13 -4
- data/lib/akeyless/models/item_version.rb +10 -1
- data/lib/akeyless/models/oci_access_rules.rb +226 -0
- data/lib/akeyless/models/provision_certificate.rb +275 -0
- data/lib/akeyless/models/provision_certificate_output.rb +243 -0
- data/lib/akeyless/models/renew_certificate.rb +267 -0
- data/lib/akeyless/models/renew_certificate_output.rb +259 -0
- data/lib/akeyless/models/secure_remote_access.rb +12 -1
- data/lib/akeyless/models/server_inventory_payload.rb +12 -1
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sign_data_with_classic_key.rb +13 -1
- data/lib/akeyless/models/sign_ec_dsa.rb +24 -4
- data/lib/akeyless/models/sign_pkcs1.rb +44 -4
- data/lib/akeyless/models/sign_pkcs1_output.rb +2 -4
- data/lib/akeyless/models/sign_rsa_ssa_pss.rb +24 -4
- data/lib/akeyless/models/static_secret_details_info.rb +10 -1
- data/lib/akeyless/models/target_item_version.rb +10 -1
- data/lib/akeyless/models/update_auth_method.rb +11 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -2
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +369 -0
- data/lib/akeyless/models/update_auth_method_oci_output.rb +214 -0
- data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/update_certificate_value.rb +11 -1
- data/lib/akeyless/models/update_item.rb +32 -1
- data/lib/akeyless/models/update_linked_target.rb +11 -1
- data/lib/akeyless/models/update_role.rb +21 -1
- data/lib/akeyless/models/update_secret_val.rb +11 -1
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +8 -8
- data/lib/akeyless/models/verify_ec_dsa.rb +24 -4
- data/lib/akeyless/models/verify_pkcs1.rb +44 -4
- data/lib/akeyless/models/verify_rsa_ssa_pss.rb +24 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +10 -0
- data/spec/models/certificate_version_info_spec.rb +48 -0
- data/spec/models/create_auth_method_oci_output_spec.rb +36 -0
- data/spec/models/create_auth_method_oci_spec.rb +102 -0
- data/spec/models/oci_access_rules_spec.rb +42 -0
- data/spec/models/provision_certificate_output_spec.rb +54 -0
- data/spec/models/provision_certificate_spec.rb +66 -0
- data/spec/models/renew_certificate_output_spec.rb +66 -0
- data/spec/models/renew_certificate_spec.rb +66 -0
- data/spec/models/update_auth_method_oci_output_spec.rb +36 -0
- data/spec/models/update_auth_method_oci_spec.rb +108 -0
- metadata +43 -3
data/docs/V2Api.md
CHANGED
|
@@ -20,6 +20,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
20
20
|
| [**create_auth_method_k8_s**](V2Api.md#create_auth_method_k8_s) | **POST** /create-auth-method-k8s | |
|
|
21
21
|
| [**create_auth_method_ldap**](V2Api.md#create_auth_method_ldap) | **POST** /create-auth-method-ldap | |
|
|
22
22
|
| [**create_auth_method_o_auth2**](V2Api.md#create_auth_method_o_auth2) | **POST** /create-auth-method-oauth2 | |
|
|
23
|
+
| [**create_auth_method_oci**](V2Api.md#create_auth_method_oci) | **POST** /create-auth-method-oci | |
|
|
23
24
|
| [**create_auth_method_oidc**](V2Api.md#create_auth_method_oidc) | **POST** /create-auth-method-oidc | |
|
|
24
25
|
| [**create_auth_method_saml**](V2Api.md#create_auth_method_saml) | **POST** /create-auth-method-saml | |
|
|
25
26
|
| [**create_auth_method_universal_identity**](V2Api.md#create_auth_method_universal_identity) | **POST** /create-auth-method-universal-identity | |
|
|
@@ -219,8 +220,10 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
219
220
|
| [**list_sra_bastions**](V2Api.md#list_sra_bastions) | **POST** /list-sra-bastions | |
|
|
220
221
|
| [**list_targets**](V2Api.md#list_targets) | **POST** /list-targets | |
|
|
221
222
|
| [**move_objects**](V2Api.md#move_objects) | **POST** /move-objects | |
|
|
223
|
+
| [**provision_certificate**](V2Api.md#provision_certificate) | **POST** /provision-certificate | |
|
|
222
224
|
| [**raw_creds**](V2Api.md#raw_creds) | **POST** /raw-creds | |
|
|
223
225
|
| [**refresh_key**](V2Api.md#refresh_key) | **POST** /refresh-key | |
|
|
226
|
+
| [**renew_certificate**](V2Api.md#renew_certificate) | **POST** /renew-certificate | |
|
|
224
227
|
| [**request_access**](V2Api.md#request_access) | **POST** /request-access | |
|
|
225
228
|
| [**reverse_rbac**](V2Api.md#reverse_rbac) | **POST** /reverse-rbac | |
|
|
226
229
|
| [**revoke_creds**](V2Api.md#revoke_creds) | **POST** /revoke-creds | |
|
|
@@ -256,6 +259,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
256
259
|
| [**update_auth_method_k8_s**](V2Api.md#update_auth_method_k8_s) | **POST** /update-auth-method-k8s | |
|
|
257
260
|
| [**update_auth_method_ldap**](V2Api.md#update_auth_method_ldap) | **POST** /update-auth-method-ldap | |
|
|
258
261
|
| [**update_auth_method_o_auth2**](V2Api.md#update_auth_method_o_auth2) | **POST** /update-auth-method-oauth2 | |
|
|
262
|
+
| [**update_auth_method_oci**](V2Api.md#update_auth_method_oci) | **POST** /update-auth-method-oci | |
|
|
259
263
|
| [**update_auth_method_oidc**](V2Api.md#update_auth_method_oidc) | **POST** /update-auth-method-oidc | |
|
|
260
264
|
| [**update_auth_method_saml**](V2Api.md#update_auth_method_saml) | **POST** /update-auth-method-saml | |
|
|
261
265
|
| [**update_auth_method_universal_identity**](V2Api.md#update_auth_method_universal_identity) | **POST** /update-auth-method-universal-identity | |
|
|
@@ -288,7 +292,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
288
292
|
| [**update_rdp_target_details**](V2Api.md#update_rdp_target_details) | **POST** /update-rdp-target-details | |
|
|
289
293
|
| [**update_role**](V2Api.md#update_role) | **POST** /update-role | |
|
|
290
294
|
| [**update_rotated_secret**](V2Api.md#update_rotated_secret) | **POST** /update-rotated-secret | |
|
|
291
|
-
| [**update_rotation_settings**](V2Api.md#update_rotation_settings) | **POST** /update-rotation-
|
|
295
|
+
| [**update_rotation_settings**](V2Api.md#update_rotation_settings) | **POST** /update-rotation-settings | |
|
|
292
296
|
| [**update_salesforce_target**](V2Api.md#update_salesforce_target) | **POST** /update-salesforce-target | |
|
|
293
297
|
| [**update_secret_val**](V2Api.md#update_secret_val) | **POST** /update-secret-val | |
|
|
294
298
|
| [**update_ssh_cert_issuer**](V2Api.md#update_ssh_cert_issuer) | **POST** /update-ssh-cert-issuer | |
|
|
@@ -1308,6 +1312,68 @@ No authorization required
|
|
|
1308
1312
|
- **Accept**: application/json
|
|
1309
1313
|
|
|
1310
1314
|
|
|
1315
|
+
## create_auth_method_oci
|
|
1316
|
+
|
|
1317
|
+
> <CreateAuthMethodOCIOutput> create_auth_method_oci(body)
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
### Examples
|
|
1322
|
+
|
|
1323
|
+
```ruby
|
|
1324
|
+
require 'time'
|
|
1325
|
+
require 'akeyless'
|
|
1326
|
+
|
|
1327
|
+
api_instance = Akeyless::V2Api.new
|
|
1328
|
+
body = Akeyless::CreateAuthMethodOCI.new({group_ocid: ['group_ocid_example'], name: 'name_example', tenant_ocid: 'tenant_ocid_example'}) # CreateAuthMethodOCI |
|
|
1329
|
+
|
|
1330
|
+
begin
|
|
1331
|
+
|
|
1332
|
+
result = api_instance.create_auth_method_oci(body)
|
|
1333
|
+
p result
|
|
1334
|
+
rescue Akeyless::ApiError => e
|
|
1335
|
+
puts "Error when calling V2Api->create_auth_method_oci: #{e}"
|
|
1336
|
+
end
|
|
1337
|
+
```
|
|
1338
|
+
|
|
1339
|
+
#### Using the create_auth_method_oci_with_http_info variant
|
|
1340
|
+
|
|
1341
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1342
|
+
|
|
1343
|
+
> <Array(<CreateAuthMethodOCIOutput>, Integer, Hash)> create_auth_method_oci_with_http_info(body)
|
|
1344
|
+
|
|
1345
|
+
```ruby
|
|
1346
|
+
begin
|
|
1347
|
+
|
|
1348
|
+
data, status_code, headers = api_instance.create_auth_method_oci_with_http_info(body)
|
|
1349
|
+
p status_code # => 2xx
|
|
1350
|
+
p headers # => { ... }
|
|
1351
|
+
p data # => <CreateAuthMethodOCIOutput>
|
|
1352
|
+
rescue Akeyless::ApiError => e
|
|
1353
|
+
puts "Error when calling V2Api->create_auth_method_oci_with_http_info: #{e}"
|
|
1354
|
+
end
|
|
1355
|
+
```
|
|
1356
|
+
|
|
1357
|
+
### Parameters
|
|
1358
|
+
|
|
1359
|
+
| Name | Type | Description | Notes |
|
|
1360
|
+
| ---- | ---- | ----------- | ----- |
|
|
1361
|
+
| **body** | [**CreateAuthMethodOCI**](CreateAuthMethodOCI.md) | | |
|
|
1362
|
+
|
|
1363
|
+
### Return type
|
|
1364
|
+
|
|
1365
|
+
[**CreateAuthMethodOCIOutput**](CreateAuthMethodOCIOutput.md)
|
|
1366
|
+
|
|
1367
|
+
### Authorization
|
|
1368
|
+
|
|
1369
|
+
No authorization required
|
|
1370
|
+
|
|
1371
|
+
### HTTP request headers
|
|
1372
|
+
|
|
1373
|
+
- **Content-Type**: application/json
|
|
1374
|
+
- **Accept**: application/json
|
|
1375
|
+
|
|
1376
|
+
|
|
1311
1377
|
## create_auth_method_oidc
|
|
1312
1378
|
|
|
1313
1379
|
> <CreateAuthMethodOIDCOutput> create_auth_method_oidc(body)
|
|
@@ -13672,6 +13738,68 @@ No authorization required
|
|
|
13672
13738
|
- **Accept**: application/json
|
|
13673
13739
|
|
|
13674
13740
|
|
|
13741
|
+
## provision_certificate
|
|
13742
|
+
|
|
13743
|
+
> <ProvisionCertificateOutput> provision_certificate(body)
|
|
13744
|
+
|
|
13745
|
+
|
|
13746
|
+
|
|
13747
|
+
### Examples
|
|
13748
|
+
|
|
13749
|
+
```ruby
|
|
13750
|
+
require 'time'
|
|
13751
|
+
require 'akeyless'
|
|
13752
|
+
|
|
13753
|
+
api_instance = Akeyless::V2Api.new
|
|
13754
|
+
body = Akeyless::ProvisionCertificate.new({name: 'name_example'}) # ProvisionCertificate |
|
|
13755
|
+
|
|
13756
|
+
begin
|
|
13757
|
+
|
|
13758
|
+
result = api_instance.provision_certificate(body)
|
|
13759
|
+
p result
|
|
13760
|
+
rescue Akeyless::ApiError => e
|
|
13761
|
+
puts "Error when calling V2Api->provision_certificate: #{e}"
|
|
13762
|
+
end
|
|
13763
|
+
```
|
|
13764
|
+
|
|
13765
|
+
#### Using the provision_certificate_with_http_info variant
|
|
13766
|
+
|
|
13767
|
+
This returns an Array which contains the response data, status code and headers.
|
|
13768
|
+
|
|
13769
|
+
> <Array(<ProvisionCertificateOutput>, Integer, Hash)> provision_certificate_with_http_info(body)
|
|
13770
|
+
|
|
13771
|
+
```ruby
|
|
13772
|
+
begin
|
|
13773
|
+
|
|
13774
|
+
data, status_code, headers = api_instance.provision_certificate_with_http_info(body)
|
|
13775
|
+
p status_code # => 2xx
|
|
13776
|
+
p headers # => { ... }
|
|
13777
|
+
p data # => <ProvisionCertificateOutput>
|
|
13778
|
+
rescue Akeyless::ApiError => e
|
|
13779
|
+
puts "Error when calling V2Api->provision_certificate_with_http_info: #{e}"
|
|
13780
|
+
end
|
|
13781
|
+
```
|
|
13782
|
+
|
|
13783
|
+
### Parameters
|
|
13784
|
+
|
|
13785
|
+
| Name | Type | Description | Notes |
|
|
13786
|
+
| ---- | ---- | ----------- | ----- |
|
|
13787
|
+
| **body** | [**ProvisionCertificate**](ProvisionCertificate.md) | | |
|
|
13788
|
+
|
|
13789
|
+
### Return type
|
|
13790
|
+
|
|
13791
|
+
[**ProvisionCertificateOutput**](ProvisionCertificateOutput.md)
|
|
13792
|
+
|
|
13793
|
+
### Authorization
|
|
13794
|
+
|
|
13795
|
+
No authorization required
|
|
13796
|
+
|
|
13797
|
+
### HTTP request headers
|
|
13798
|
+
|
|
13799
|
+
- **Content-Type**: application/json
|
|
13800
|
+
- **Accept**: application/json
|
|
13801
|
+
|
|
13802
|
+
|
|
13675
13803
|
## raw_creds
|
|
13676
13804
|
|
|
13677
13805
|
> <SystemAccessCredentialsReplyObj> raw_creds(opts)
|
|
@@ -13798,6 +13926,68 @@ No authorization required
|
|
|
13798
13926
|
- **Accept**: application/json
|
|
13799
13927
|
|
|
13800
13928
|
|
|
13929
|
+
## renew_certificate
|
|
13930
|
+
|
|
13931
|
+
> <RenewCertificateOutput> renew_certificate(body)
|
|
13932
|
+
|
|
13933
|
+
|
|
13934
|
+
|
|
13935
|
+
### Examples
|
|
13936
|
+
|
|
13937
|
+
```ruby
|
|
13938
|
+
require 'time'
|
|
13939
|
+
require 'akeyless'
|
|
13940
|
+
|
|
13941
|
+
api_instance = Akeyless::V2Api.new
|
|
13942
|
+
body = Akeyless::RenewCertificate.new # RenewCertificate |
|
|
13943
|
+
|
|
13944
|
+
begin
|
|
13945
|
+
|
|
13946
|
+
result = api_instance.renew_certificate(body)
|
|
13947
|
+
p result
|
|
13948
|
+
rescue Akeyless::ApiError => e
|
|
13949
|
+
puts "Error when calling V2Api->renew_certificate: #{e}"
|
|
13950
|
+
end
|
|
13951
|
+
```
|
|
13952
|
+
|
|
13953
|
+
#### Using the renew_certificate_with_http_info variant
|
|
13954
|
+
|
|
13955
|
+
This returns an Array which contains the response data, status code and headers.
|
|
13956
|
+
|
|
13957
|
+
> <Array(<RenewCertificateOutput>, Integer, Hash)> renew_certificate_with_http_info(body)
|
|
13958
|
+
|
|
13959
|
+
```ruby
|
|
13960
|
+
begin
|
|
13961
|
+
|
|
13962
|
+
data, status_code, headers = api_instance.renew_certificate_with_http_info(body)
|
|
13963
|
+
p status_code # => 2xx
|
|
13964
|
+
p headers # => { ... }
|
|
13965
|
+
p data # => <RenewCertificateOutput>
|
|
13966
|
+
rescue Akeyless::ApiError => e
|
|
13967
|
+
puts "Error when calling V2Api->renew_certificate_with_http_info: #{e}"
|
|
13968
|
+
end
|
|
13969
|
+
```
|
|
13970
|
+
|
|
13971
|
+
### Parameters
|
|
13972
|
+
|
|
13973
|
+
| Name | Type | Description | Notes |
|
|
13974
|
+
| ---- | ---- | ----------- | ----- |
|
|
13975
|
+
| **body** | [**RenewCertificate**](RenewCertificate.md) | | |
|
|
13976
|
+
|
|
13977
|
+
### Return type
|
|
13978
|
+
|
|
13979
|
+
[**RenewCertificateOutput**](RenewCertificateOutput.md)
|
|
13980
|
+
|
|
13981
|
+
### Authorization
|
|
13982
|
+
|
|
13983
|
+
No authorization required
|
|
13984
|
+
|
|
13985
|
+
### HTTP request headers
|
|
13986
|
+
|
|
13987
|
+
- **Content-Type**: application/json
|
|
13988
|
+
- **Accept**: application/json
|
|
13989
|
+
|
|
13990
|
+
|
|
13801
13991
|
## request_access
|
|
13802
13992
|
|
|
13803
13993
|
> <RequestAccessOutput> request_access(body)
|
|
@@ -14056,7 +14246,7 @@ require 'time'
|
|
|
14056
14246
|
require 'akeyless'
|
|
14057
14247
|
|
|
14058
14248
|
api_instance = Akeyless::V2Api.new
|
|
14059
|
-
body = Akeyless::
|
|
14249
|
+
body = Akeyless::RotateKey.new({name: 'name_example'}) # RotateKey |
|
|
14060
14250
|
|
|
14061
14251
|
begin
|
|
14062
14252
|
|
|
@@ -14089,7 +14279,7 @@ end
|
|
|
14089
14279
|
|
|
14090
14280
|
| Name | Type | Description | Notes |
|
|
14091
14281
|
| ---- | ---- | ----------- | ----- |
|
|
14092
|
-
| **body** | [**
|
|
14282
|
+
| **body** | [**RotateKey**](RotateKey.md) | | |
|
|
14093
14283
|
|
|
14094
14284
|
### Return type
|
|
14095
14285
|
|
|
@@ -15964,6 +16154,68 @@ No authorization required
|
|
|
15964
16154
|
- **Accept**: application/json
|
|
15965
16155
|
|
|
15966
16156
|
|
|
16157
|
+
## update_auth_method_oci
|
|
16158
|
+
|
|
16159
|
+
> <UpdateAuthMethodOCIOutput> update_auth_method_oci(body)
|
|
16160
|
+
|
|
16161
|
+
|
|
16162
|
+
|
|
16163
|
+
### Examples
|
|
16164
|
+
|
|
16165
|
+
```ruby
|
|
16166
|
+
require 'time'
|
|
16167
|
+
require 'akeyless'
|
|
16168
|
+
|
|
16169
|
+
api_instance = Akeyless::V2Api.new
|
|
16170
|
+
body = Akeyless::UpdateAuthMethodOCI.new({group_ocid: ['group_ocid_example'], name: 'name_example', tenant_ocid: 'tenant_ocid_example'}) # UpdateAuthMethodOCI |
|
|
16171
|
+
|
|
16172
|
+
begin
|
|
16173
|
+
|
|
16174
|
+
result = api_instance.update_auth_method_oci(body)
|
|
16175
|
+
p result
|
|
16176
|
+
rescue Akeyless::ApiError => e
|
|
16177
|
+
puts "Error when calling V2Api->update_auth_method_oci: #{e}"
|
|
16178
|
+
end
|
|
16179
|
+
```
|
|
16180
|
+
|
|
16181
|
+
#### Using the update_auth_method_oci_with_http_info variant
|
|
16182
|
+
|
|
16183
|
+
This returns an Array which contains the response data, status code and headers.
|
|
16184
|
+
|
|
16185
|
+
> <Array(<UpdateAuthMethodOCIOutput>, Integer, Hash)> update_auth_method_oci_with_http_info(body)
|
|
16186
|
+
|
|
16187
|
+
```ruby
|
|
16188
|
+
begin
|
|
16189
|
+
|
|
16190
|
+
data, status_code, headers = api_instance.update_auth_method_oci_with_http_info(body)
|
|
16191
|
+
p status_code # => 2xx
|
|
16192
|
+
p headers # => { ... }
|
|
16193
|
+
p data # => <UpdateAuthMethodOCIOutput>
|
|
16194
|
+
rescue Akeyless::ApiError => e
|
|
16195
|
+
puts "Error when calling V2Api->update_auth_method_oci_with_http_info: #{e}"
|
|
16196
|
+
end
|
|
16197
|
+
```
|
|
16198
|
+
|
|
16199
|
+
### Parameters
|
|
16200
|
+
|
|
16201
|
+
| Name | Type | Description | Notes |
|
|
16202
|
+
| ---- | ---- | ----------- | ----- |
|
|
16203
|
+
| **body** | [**UpdateAuthMethodOCI**](UpdateAuthMethodOCI.md) | | |
|
|
16204
|
+
|
|
16205
|
+
### Return type
|
|
16206
|
+
|
|
16207
|
+
[**UpdateAuthMethodOCIOutput**](UpdateAuthMethodOCIOutput.md)
|
|
16208
|
+
|
|
16209
|
+
### Authorization
|
|
16210
|
+
|
|
16211
|
+
No authorization required
|
|
16212
|
+
|
|
16213
|
+
### HTTP request headers
|
|
16214
|
+
|
|
16215
|
+
- **Content-Type**: application/json
|
|
16216
|
+
- **Accept**: application/json
|
|
16217
|
+
|
|
16218
|
+
|
|
15967
16219
|
## update_auth_method_oidc
|
|
15968
16220
|
|
|
15969
16221
|
> Object update_auth_method_oidc(body)
|
|
@@ -17950,7 +18202,7 @@ No authorization required
|
|
|
17950
18202
|
|
|
17951
18203
|
## update_rotation_settings
|
|
17952
18204
|
|
|
17953
|
-
> <RotateKeyOutput> update_rotation_settings
|
|
18205
|
+
> <RotateKeyOutput> update_rotation_settings(body)
|
|
17954
18206
|
|
|
17955
18207
|
|
|
17956
18208
|
|
|
@@ -17961,10 +18213,11 @@ require 'time'
|
|
|
17961
18213
|
require 'akeyless'
|
|
17962
18214
|
|
|
17963
18215
|
api_instance = Akeyless::V2Api.new
|
|
18216
|
+
body = Akeyless::UpdateRotationSettings.new({auto_rotate: false, name: 'name_example'}) # UpdateRotationSettings |
|
|
17964
18217
|
|
|
17965
18218
|
begin
|
|
17966
18219
|
|
|
17967
|
-
result = api_instance.update_rotation_settings
|
|
18220
|
+
result = api_instance.update_rotation_settings(body)
|
|
17968
18221
|
p result
|
|
17969
18222
|
rescue Akeyless::ApiError => e
|
|
17970
18223
|
puts "Error when calling V2Api->update_rotation_settings: #{e}"
|
|
@@ -17975,12 +18228,12 @@ end
|
|
|
17975
18228
|
|
|
17976
18229
|
This returns an Array which contains the response data, status code and headers.
|
|
17977
18230
|
|
|
17978
|
-
> <Array(<RotateKeyOutput>, Integer, Hash)> update_rotation_settings_with_http_info
|
|
18231
|
+
> <Array(<RotateKeyOutput>, Integer, Hash)> update_rotation_settings_with_http_info(body)
|
|
17979
18232
|
|
|
17980
18233
|
```ruby
|
|
17981
18234
|
begin
|
|
17982
18235
|
|
|
17983
|
-
data, status_code, headers = api_instance.update_rotation_settings_with_http_info
|
|
18236
|
+
data, status_code, headers = api_instance.update_rotation_settings_with_http_info(body)
|
|
17984
18237
|
p status_code # => 2xx
|
|
17985
18238
|
p headers # => { ... }
|
|
17986
18239
|
p data # => <RotateKeyOutput>
|
|
@@ -17991,7 +18244,9 @@ end
|
|
|
17991
18244
|
|
|
17992
18245
|
### Parameters
|
|
17993
18246
|
|
|
17994
|
-
|
|
18247
|
+
| Name | Type | Description | Notes |
|
|
18248
|
+
| ---- | ---- | ----------- | ----- |
|
|
18249
|
+
| **body** | [**UpdateRotationSettings**](UpdateRotationSettings.md) | | |
|
|
17995
18250
|
|
|
17996
18251
|
### Return type
|
|
17997
18252
|
|
|
@@ -18003,7 +18258,7 @@ No authorization required
|
|
|
18003
18258
|
|
|
18004
18259
|
### HTTP request headers
|
|
18005
18260
|
|
|
18006
|
-
- **Content-Type**:
|
|
18261
|
+
- **Content-Type**: application/json
|
|
18007
18262
|
- **Accept**: application/json
|
|
18008
18263
|
|
|
18009
18264
|
|
data/docs/VerifyEcDsa.md
CHANGED
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
10
10
|
| **key_name** | **String** | The name of the EC key to use for the verification process | [optional] |
|
|
11
11
|
| **message** | **String** | The message to be verified in a base64 format | |
|
|
12
|
+
| **prehashed** | **Boolean** | Markes that the message is already hashed | [optional] |
|
|
12
13
|
| **signature** | **String** | The message's signature | |
|
|
13
14
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
14
15
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
16
|
+
| **version** | **Integer** | The version of the key to use for verification | [optional] |
|
|
15
17
|
|
|
16
18
|
## Example
|
|
17
19
|
|
|
@@ -24,9 +26,11 @@ instance = Akeyless::VerifyEcDsa.new(
|
|
|
24
26
|
json: null,
|
|
25
27
|
key_name: null,
|
|
26
28
|
message: null,
|
|
29
|
+
prehashed: null,
|
|
27
30
|
signature: null,
|
|
28
31
|
token: null,
|
|
29
|
-
uid_token: null
|
|
32
|
+
uid_token: null,
|
|
33
|
+
version: null
|
|
30
34
|
)
|
|
31
35
|
```
|
|
32
36
|
|
data/docs/VerifyPKCS1.md
CHANGED
|
@@ -5,13 +5,17 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **display_id** | **String** | The display id of the key to use in the verification process | [optional] |
|
|
8
|
+
| **hash_function** | **String** | HashFunction defines the hash function (e.g. sha-256) | [optional] |
|
|
9
|
+
| **input_format** | **String** | Select default assumed format for the plaintext message. Currently supported options: [base64] | [optional] |
|
|
8
10
|
| **item_id** | **Integer** | The item id of the key to use in the verification process | [optional] |
|
|
9
11
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
10
12
|
| **key_name** | **String** | The name of the RSA key to use in the verification process | |
|
|
11
13
|
| **message** | **String** | The message to be verified | |
|
|
14
|
+
| **prehashed** | **Boolean** | Markes that the message is already hashed | [optional] |
|
|
12
15
|
| **signature** | **String** | The message's signature | |
|
|
13
16
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
14
17
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
18
|
+
| **version** | **Integer** | The version of the key to use for verification | [optional] |
|
|
15
19
|
|
|
16
20
|
## Example
|
|
17
21
|
|
|
@@ -20,13 +24,17 @@ require 'akeyless'
|
|
|
20
24
|
|
|
21
25
|
instance = Akeyless::VerifyPKCS1.new(
|
|
22
26
|
display_id: null,
|
|
27
|
+
hash_function: null,
|
|
28
|
+
input_format: null,
|
|
23
29
|
item_id: null,
|
|
24
30
|
json: null,
|
|
25
31
|
key_name: null,
|
|
26
32
|
message: null,
|
|
33
|
+
prehashed: null,
|
|
27
34
|
signature: null,
|
|
28
35
|
token: null,
|
|
29
|
-
uid_token: null
|
|
36
|
+
uid_token: null,
|
|
37
|
+
version: null
|
|
30
38
|
)
|
|
31
39
|
```
|
|
32
40
|
|
data/docs/VerifyRsaSsaPss.md
CHANGED
|
@@ -10,9 +10,11 @@
|
|
|
10
10
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
|
11
11
|
| **key_name** | **String** | The name of the RSA key to use in the verification process | [optional] |
|
|
12
12
|
| **message** | **String** | The input message to verify in a base64 format | |
|
|
13
|
+
| **prehashed** | **Boolean** | Markes that the message is already hashed | [optional] |
|
|
13
14
|
| **signature** | **String** | The message's signature | |
|
|
14
15
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
15
16
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
17
|
+
| **version** | **Integer** | The version of the key to use for verification | [optional] |
|
|
16
18
|
|
|
17
19
|
## Example
|
|
18
20
|
|
|
@@ -26,9 +28,11 @@ instance = Akeyless::VerifyRsaSsaPss.new(
|
|
|
26
28
|
json: null,
|
|
27
29
|
key_name: null,
|
|
28
30
|
message: null,
|
|
31
|
+
prehashed: null,
|
|
29
32
|
signature: null,
|
|
30
33
|
token: null,
|
|
31
|
-
uid_token: null
|
|
34
|
+
uid_token: null,
|
|
35
|
+
version: null
|
|
32
36
|
)
|
|
33
37
|
```
|
|
34
38
|
|