akeyless 3.3.13 → 3.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -6
- data/docs/CreateAuthMethodOAuth2.md +0 -2
- data/docs/GatewayCreateAllowedAccess.md +32 -0
- data/docs/GatewayDeleteAllowedAccess.md +24 -0
- data/docs/GatewayGetAllowedAccess.md +24 -0
- data/docs/GatewayUpdateAllowedAccess.md +34 -0
- data/docs/GenerateCsr.md +56 -0
- data/docs/GenerateCsrOutput.md +18 -0
- data/docs/UpdateAuthMethodOAuth2.md +0 -2
- data/docs/V2Api.md +73 -10
- data/lib/akeyless/api/v2_api.rb +74 -10
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +1 -11
- data/lib/akeyless/models/gateway_create_allowed_access.rb +305 -0
- data/lib/akeyless/models/gateway_delete_allowed_access.rb +258 -0
- data/lib/akeyless/models/gateway_get_allowed_access.rb +258 -0
- data/lib/akeyless/models/gateway_update_allowed_access.rb +315 -0
- data/lib/akeyless/models/generate_csr.rb +421 -0
- data/lib/akeyless/models/generate_csr_output.rb +219 -0
- data/lib/akeyless/models/oidc_client_info.rb +1 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +1 -11
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +6 -3
- data/spec/models/gateway_create_allowed_access_spec.rb +76 -0
- data/spec/models/gateway_delete_allowed_access_spec.rb +52 -0
- data/spec/models/gateway_get_allowed_access_spec.rb +52 -0
- data/spec/models/gateway_update_allowed_access_spec.rb +82 -0
- data/spec/models/generate_csr_output_spec.rb +34 -0
- data/spec/models/generate_csr_spec.rb +148 -0
- metadata +26 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5184749fc34c0599b94ca30ad090dd9a1c765b159ff3248cc5cc1510002cbb6
|
4
|
+
data.tar.gz: 2e858b407648fc49858e5568e697cffd1409cff29c08012403de74fd73d49241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba38648814e8e567e38af4fa80e63353b1646d1b536652121ba8846c3aff93a17513772e3a0e641816fe9b5508761cc8f6708eb60bbaa502889028181ccf4715
|
7
|
+
data.tar.gz: 7bff3a9d89df346586adae90240d3e0d02fea4d04683ec5d5b42aac8d8c48d16518063c91db9b313ef4a0e2e4544e4b2a7b28aa9664436f9a22eea4befa3bc3c
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The purpose of this application is to provide access to Akeyless API.
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0
|
10
|
-
- Package version: 3.3.
|
10
|
+
- Package version: 3.3.15
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://akeyless.io](http://akeyless.io)
|
13
13
|
|
@@ -172,12 +172,12 @@ Class | Method | HTTP request | Description
|
|
172
172
|
*Akeyless::V2Api* | [**gateway_create_producer_redis**](docs/V2Api.md#gateway_create_producer_redis) | **POST** /gateway-create-producer-Redis |
|
173
173
|
*Akeyless::V2Api* | [**gateway_create_producer_redshift**](docs/V2Api.md#gateway_create_producer_redshift) | **POST** /gateway-create-producer-redshift |
|
174
174
|
*Akeyless::V2Api* | [**gateway_create_producer_snowflake**](docs/V2Api.md#gateway_create_producer_snowflake) | **POST** /gateway-create-producer-snowflake |
|
175
|
-
*Akeyless::V2Api* | [**gateway_delete_allowed_access**](docs/V2Api.md#gateway_delete_allowed_access) | **
|
175
|
+
*Akeyless::V2Api* | [**gateway_delete_allowed_access**](docs/V2Api.md#gateway_delete_allowed_access) | **POST** /gateway-delete-allowed-access |
|
176
176
|
*Akeyless::V2Api* | [**gateway_delete_k8_s_auth_config**](docs/V2Api.md#gateway_delete_k8_s_auth_config) | **POST** /gateway-delete-k8s-auth-config |
|
177
177
|
*Akeyless::V2Api* | [**gateway_delete_migration**](docs/V2Api.md#gateway_delete_migration) | **POST** /gateway-delete-migration |
|
178
178
|
*Akeyless::V2Api* | [**gateway_delete_producer**](docs/V2Api.md#gateway_delete_producer) | **POST** /gateway-delete-producer |
|
179
179
|
*Akeyless::V2Api* | [**gateway_download_customer_fragments**](docs/V2Api.md#gateway_download_customer_fragments) | **POST** /gateway-download-customer-fragments |
|
180
|
-
*Akeyless::V2Api* | [**gateway_get_allowed_access**](docs/V2Api.md#gateway_get_allowed_access) | **
|
180
|
+
*Akeyless::V2Api* | [**gateway_get_allowed_access**](docs/V2Api.md#gateway_get_allowed_access) | **POST** /gateway-get-allowed-access |
|
181
181
|
*Akeyless::V2Api* | [**gateway_get_config**](docs/V2Api.md#gateway_get_config) | **POST** /gateway-get-config |
|
182
182
|
*Akeyless::V2Api* | [**gateway_get_k8_s_auth_config**](docs/V2Api.md#gateway_get_k8_s_auth_config) | **POST** /gateway-get-k8s-auth-config |
|
183
183
|
*Akeyless::V2Api* | [**gateway_get_ldap_auth_config**](docs/V2Api.md#gateway_get_ldap_auth_config) | **POST** /gateway-get-ldap-auth-config |
|
@@ -225,6 +225,7 @@ Class | Method | HTTP request | Description
|
|
225
225
|
*Akeyless::V2Api* | [**gateway_update_producer_snowflake**](docs/V2Api.md#gateway_update_producer_snowflake) | **POST** /gateway-update-producer-snowflake |
|
226
226
|
*Akeyless::V2Api* | [**gateway_update_tls_cert**](docs/V2Api.md#gateway_update_tls_cert) | **POST** /gateway-update-tls-cert |
|
227
227
|
*Akeyless::V2Api* | [**gateway_update_tmp_users**](docs/V2Api.md#gateway_update_tmp_users) | **POST** /gateway-update-producer-tmp-creds |
|
228
|
+
*Akeyless::V2Api* | [**generate_csr**](docs/V2Api.md#generate_csr) | **POST** /generate-csr |
|
228
229
|
*Akeyless::V2Api* | [**get_account_logo**](docs/V2Api.md#get_account_logo) | **POST** /get-account-logo |
|
229
230
|
*Akeyless::V2Api* | [**get_account_settings**](docs/V2Api.md#get_account_settings) | **POST** /get-account-settings |
|
230
231
|
*Akeyless::V2Api* | [**get_auth_method**](docs/V2Api.md#get_auth_method) | **POST** /get-auth-method |
|
@@ -362,10 +363,7 @@ Class | Method | HTTP request | Description
|
|
362
363
|
- [Akeyless::AdminsConfigPart](docs/AdminsConfigPart.md)
|
363
364
|
- [Akeyless::AkeylessGatewayConfig](docs/AkeylessGatewayConfig.md)
|
364
365
|
- [Akeyless::AllowedAccess](docs/AllowedAccess.md)
|
365
|
-
- [Akeyless::AllowedAccessArgs](docs/AllowedAccessArgs.md)
|
366
|
-
- [Akeyless::AllowedAccessDeleteArgs](docs/AllowedAccessDeleteArgs.md)
|
367
366
|
- [Akeyless::AllowedAccessOld](docs/AllowedAccessOld.md)
|
368
|
-
- [Akeyless::AllowedAccessUpdateArgs](docs/AllowedAccessUpdateArgs.md)
|
369
367
|
- [Akeyless::AssocRoleAuthMethod](docs/AssocRoleAuthMethod.md)
|
370
368
|
- [Akeyless::AssocTargetItem](docs/AssocTargetItem.md)
|
371
369
|
- [Akeyless::AttributeTypeAndValue](docs/AttributeTypeAndValue.md)
|
@@ -568,6 +566,7 @@ Class | Method | HTTP request | Description
|
|
568
566
|
- [Akeyless::GCPPayload](docs/GCPPayload.md)
|
569
567
|
- [Akeyless::GCPSecretsMigration](docs/GCPSecretsMigration.md)
|
570
568
|
- [Akeyless::GatewayBasicInfo](docs/GatewayBasicInfo.md)
|
569
|
+
- [Akeyless::GatewayCreateAllowedAccess](docs/GatewayCreateAllowedAccess.md)
|
571
570
|
- [Akeyless::GatewayCreateK8SAuthConfig](docs/GatewayCreateK8SAuthConfig.md)
|
572
571
|
- [Akeyless::GatewayCreateK8SAuthConfigOutput](docs/GatewayCreateK8SAuthConfigOutput.md)
|
573
572
|
- [Akeyless::GatewayCreateMigration](docs/GatewayCreateMigration.md)
|
@@ -623,6 +622,7 @@ Class | Method | HTTP request | Description
|
|
623
622
|
- [Akeyless::GatewayCreateProducerRedshiftOutput](docs/GatewayCreateProducerRedshiftOutput.md)
|
624
623
|
- [Akeyless::GatewayCreateProducerSnowflake](docs/GatewayCreateProducerSnowflake.md)
|
625
624
|
- [Akeyless::GatewayCreateProducerSnowflakeOutput](docs/GatewayCreateProducerSnowflakeOutput.md)
|
625
|
+
- [Akeyless::GatewayDeleteAllowedAccess](docs/GatewayDeleteAllowedAccess.md)
|
626
626
|
- [Akeyless::GatewayDeleteAllowedAccessOutput](docs/GatewayDeleteAllowedAccessOutput.md)
|
627
627
|
- [Akeyless::GatewayDeleteK8SAuthConfig](docs/GatewayDeleteK8SAuthConfig.md)
|
628
628
|
- [Akeyless::GatewayDeleteK8SAuthConfigOutput](docs/GatewayDeleteK8SAuthConfigOutput.md)
|
@@ -631,6 +631,7 @@ Class | Method | HTTP request | Description
|
|
631
631
|
- [Akeyless::GatewayDeleteProducerOutput](docs/GatewayDeleteProducerOutput.md)
|
632
632
|
- [Akeyless::GatewayDownloadCustomerFragments](docs/GatewayDownloadCustomerFragments.md)
|
633
633
|
- [Akeyless::GatewayDownloadCustomerFragmentsOutput](docs/GatewayDownloadCustomerFragmentsOutput.md)
|
634
|
+
- [Akeyless::GatewayGetAllowedAccess](docs/GatewayGetAllowedAccess.md)
|
634
635
|
- [Akeyless::GatewayGetConfig](docs/GatewayGetConfig.md)
|
635
636
|
- [Akeyless::GatewayGetK8SAuthConfig](docs/GatewayGetK8SAuthConfig.md)
|
636
637
|
- [Akeyless::GatewayGetK8SAuthConfigOutput](docs/GatewayGetK8SAuthConfigOutput.md)
|
@@ -658,6 +659,7 @@ Class | Method | HTTP request | Description
|
|
658
659
|
- [Akeyless::GatewayStopProducer](docs/GatewayStopProducer.md)
|
659
660
|
- [Akeyless::GatewayStopProducerOutput](docs/GatewayStopProducerOutput.md)
|
660
661
|
- [Akeyless::GatewaySyncMigration](docs/GatewaySyncMigration.md)
|
662
|
+
- [Akeyless::GatewayUpdateAllowedAccess](docs/GatewayUpdateAllowedAccess.md)
|
661
663
|
- [Akeyless::GatewayUpdateItem](docs/GatewayUpdateItem.md)
|
662
664
|
- [Akeyless::GatewayUpdateItemOutput](docs/GatewayUpdateItemOutput.md)
|
663
665
|
- [Akeyless::GatewayUpdateK8SAuthConfig](docs/GatewayUpdateK8SAuthConfig.md)
|
@@ -723,6 +725,8 @@ Class | Method | HTTP request | Description
|
|
723
725
|
- [Akeyless::GatewaysListResponse](docs/GatewaysListResponse.md)
|
724
726
|
- [Akeyless::GenCustomerFragment](docs/GenCustomerFragment.md)
|
725
727
|
- [Akeyless::GeneralConfigPart](docs/GeneralConfigPart.md)
|
728
|
+
- [Akeyless::GenerateCsr](docs/GenerateCsr.md)
|
729
|
+
- [Akeyless::GenerateCsrOutput](docs/GenerateCsrOutput.md)
|
726
730
|
- [Akeyless::GetAccountSettings](docs/GetAccountSettings.md)
|
727
731
|
- [Akeyless::GetAccountSettingsCommandOutput](docs/GetAccountSettingsCommandOutput.md)
|
728
732
|
- [Akeyless::GetAuthMethod](docs/GetAuthMethod.md)
|
@@ -13,7 +13,6 @@
|
|
13
13
|
| **issuer** | **String** | Issuer URL | [optional] |
|
14
14
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
15
15
|
| **jwks_json_data** | **String** | The JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server. base64 encoded string | [optional] |
|
16
|
-
| **jwks_json_file** | **String** | JSON Web Key Set (JWKS) JSON file path that will be used to verify any JSON Web Token (JWT) issued by the authorization server. | [optional] |
|
17
16
|
| **jwks_uri** | **String** | The URL to the JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server. | [default to 'default_jwks_url'] |
|
18
17
|
| **jwt_ttl** | **Integer** | Jwt TTL | [optional][default to 0] |
|
19
18
|
| **name** | **String** | Auth Method name | |
|
@@ -36,7 +35,6 @@ instance = Akeyless::CreateAuthMethodOAuth2.new(
|
|
36
35
|
issuer: null,
|
37
36
|
json: null,
|
38
37
|
jwks_json_data: null,
|
39
|
-
jwks_json_file: null,
|
40
38
|
jwks_uri: null,
|
41
39
|
jwt_ttl: null,
|
42
40
|
name: null,
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Akeyless::GatewayCreateAllowedAccess
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **access_id** | **String** | Access ID The access id to be attached to this allowed access. Auth method with this access id should already exist. | |
|
8
|
+
| **description** | **String** | Allowed access description | [optional] |
|
9
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
10
|
+
| **name** | **String** | Allowed access name | |
|
11
|
+
| **permissions** | **String** | Permissions Comma-seperated list of permissions for this allowed access. Available permissions: [defaults,targets,classic_keys,automatic_migration,ldap_auth,dynamic_secret,k8s_auth,log_forwarding,zero_knowledge_encryption,rotated_secret,caching,event_forwarding,admin,kmip,general] | [optional] |
|
12
|
+
| **sub_claims** | **Hash<String, String>** | Sub claims key/val of sub claims, e.g group=admins,developers | [optional] |
|
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::GatewayCreateAllowedAccess.new(
|
22
|
+
access_id: null,
|
23
|
+
description: null,
|
24
|
+
json: null,
|
25
|
+
name: null,
|
26
|
+
permissions: null,
|
27
|
+
sub_claims: null,
|
28
|
+
token: null,
|
29
|
+
uid_token: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Akeyless::GatewayDeleteAllowedAccess
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
8
|
+
| **name** | **String** | Allowed access name to delete | |
|
9
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
10
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'akeyless'
|
16
|
+
|
17
|
+
instance = Akeyless::GatewayDeleteAllowedAccess.new(
|
18
|
+
json: null,
|
19
|
+
name: null,
|
20
|
+
token: null,
|
21
|
+
uid_token: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Akeyless::GatewayGetAllowedAccess
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
8
|
+
| **name** | **String** | Allowed access name | |
|
9
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
10
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'akeyless'
|
16
|
+
|
17
|
+
instance = Akeyless::GatewayGetAllowedAccess.new(
|
18
|
+
json: null,
|
19
|
+
name: null,
|
20
|
+
token: null,
|
21
|
+
uid_token: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Akeyless::GatewayUpdateAllowedAccess
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **access_id** | **String** | Access ID The access id to be attached to this allowed access. Auth method with this access id should already exist. | |
|
8
|
+
| **description** | **String** | Allowed access description | [optional] |
|
9
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
10
|
+
| **name** | **String** | Allowed access name | |
|
11
|
+
| **new_name** | **String** | New allowed access name | [optional] |
|
12
|
+
| **permissions** | **String** | Permissions Comma-seperated list of permissions for this allowed access. Available permissions: [defaults,targets,classic_keys,automatic_migration,ldap_auth,dynamic_secret,k8s_auth,log_forwarding,zero_knowledge_encryption,rotated_secret,caching,event_forwarding,admin,kmip,general] | [optional] |
|
13
|
+
| **sub_claims** | **Hash<String, String>** | Sub claims key/val of sub claims, e.g group=admins,developers | [optional] |
|
14
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
15
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'akeyless'
|
21
|
+
|
22
|
+
instance = Akeyless::GatewayUpdateAllowedAccess.new(
|
23
|
+
access_id: null,
|
24
|
+
description: null,
|
25
|
+
json: null,
|
26
|
+
name: null,
|
27
|
+
new_name: null,
|
28
|
+
permissions: null,
|
29
|
+
sub_claims: null,
|
30
|
+
token: null,
|
31
|
+
uid_token: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
data/docs/GenerateCsr.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# Akeyless::GenerateCsr
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **alg** | **String** | | [optional] |
|
8
|
+
| **alt_names** | **String** | The DNS Alternative Names to be included in the CSR certificate (in a comma-separated list) | [optional] |
|
9
|
+
| **certificate_type** | **String** | The certificateType to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing) | [optional] |
|
10
|
+
| **city** | **String** | The city to be included in the CSR certificate | [optional] |
|
11
|
+
| **common_name** | **String** | The commonName to be included in the CSR certificate | |
|
12
|
+
| **country** | **String** | The country to be included in the CSR certificate | [optional] |
|
13
|
+
| **critical** | **Boolean** | Add critical to the key usage extension (will be false if not added) | [optional] |
|
14
|
+
| **dep** | **String** | The department to be included in the CSR certificate | [optional] |
|
15
|
+
| **description** | **String** | Description of the object | [optional] |
|
16
|
+
| **email_addresses** | **String** | The email addresses Alternative Names to be included in the CSR certificate (in a comma-separated list) | [optional] |
|
17
|
+
| **generate_key** | **Boolean** | Generate a new csr key | [optional] |
|
18
|
+
| **ip_addresses** | **String** | The ip addresses Alternative Names to be included in the CSR certificate (in a comma-separated list) | [optional] |
|
19
|
+
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
20
|
+
| **metadata** | **String** | Deprecated - use description | [optional] |
|
21
|
+
| **name** | **String** | Key name in akeyless | |
|
22
|
+
| **org** | **String** | The organization to be included in the CSR certificate | [optional] |
|
23
|
+
| **state** | **String** | The state to be included in the CSR certificate | [optional] |
|
24
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
25
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
26
|
+
| **uri_sans** | **String** | The URI Subject Alternative Names to be included in the CSR certificate (in a comma-separated list) | [optional] |
|
27
|
+
|
28
|
+
## Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'akeyless'
|
32
|
+
|
33
|
+
instance = Akeyless::GenerateCsr.new(
|
34
|
+
alg: null,
|
35
|
+
alt_names: null,
|
36
|
+
certificate_type: null,
|
37
|
+
city: null,
|
38
|
+
common_name: null,
|
39
|
+
country: null,
|
40
|
+
critical: null,
|
41
|
+
dep: null,
|
42
|
+
description: null,
|
43
|
+
email_addresses: null,
|
44
|
+
generate_key: null,
|
45
|
+
ip_addresses: null,
|
46
|
+
json: null,
|
47
|
+
metadata: null,
|
48
|
+
name: null,
|
49
|
+
org: null,
|
50
|
+
state: null,
|
51
|
+
token: null,
|
52
|
+
uid_token: null,
|
53
|
+
uri_sans: null
|
54
|
+
)
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Akeyless::GenerateCsrOutput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **data** | **String** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'akeyless'
|
13
|
+
|
14
|
+
instance = Akeyless::GenerateCsrOutput.new(
|
15
|
+
data: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -13,7 +13,6 @@
|
|
13
13
|
| **issuer** | **String** | Issuer URL | [optional] |
|
14
14
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
15
15
|
| **jwks_json_data** | **String** | The JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server. base64 encoded string | [optional] |
|
16
|
-
| **jwks_json_file** | **String** | JSON Web Key Set (JWKS) JSON file path that will be used to verify any JSON Web Token (JWT) issued by the authorization server. | [optional] |
|
17
16
|
| **jwks_uri** | **String** | The URL to the JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server. | [default to 'default_jwks_url'] |
|
18
17
|
| **jwt_ttl** | **Integer** | Jwt TTL | [optional][default to 0] |
|
19
18
|
| **name** | **String** | Auth Method name | |
|
@@ -37,7 +36,6 @@ instance = Akeyless::UpdateAuthMethodOAuth2.new(
|
|
37
36
|
issuer: null,
|
38
37
|
json: null,
|
39
38
|
jwks_json_data: null,
|
40
|
-
jwks_json_file: null,
|
41
39
|
jwks_uri: null,
|
42
40
|
jwt_ttl: null,
|
43
41
|
name: null,
|
data/docs/V2Api.md
CHANGED
@@ -117,12 +117,12 @@ All URIs are relative to *https://api.akeyless.io*
|
|
117
117
|
| [**gateway_create_producer_redis**](V2Api.md#gateway_create_producer_redis) | **POST** /gateway-create-producer-Redis | |
|
118
118
|
| [**gateway_create_producer_redshift**](V2Api.md#gateway_create_producer_redshift) | **POST** /gateway-create-producer-redshift | |
|
119
119
|
| [**gateway_create_producer_snowflake**](V2Api.md#gateway_create_producer_snowflake) | **POST** /gateway-create-producer-snowflake | |
|
120
|
-
| [**gateway_delete_allowed_access**](V2Api.md#gateway_delete_allowed_access) | **
|
120
|
+
| [**gateway_delete_allowed_access**](V2Api.md#gateway_delete_allowed_access) | **POST** /gateway-delete-allowed-access | |
|
121
121
|
| [**gateway_delete_k8_s_auth_config**](V2Api.md#gateway_delete_k8_s_auth_config) | **POST** /gateway-delete-k8s-auth-config | |
|
122
122
|
| [**gateway_delete_migration**](V2Api.md#gateway_delete_migration) | **POST** /gateway-delete-migration | |
|
123
123
|
| [**gateway_delete_producer**](V2Api.md#gateway_delete_producer) | **POST** /gateway-delete-producer | |
|
124
124
|
| [**gateway_download_customer_fragments**](V2Api.md#gateway_download_customer_fragments) | **POST** /gateway-download-customer-fragments | |
|
125
|
-
| [**gateway_get_allowed_access**](V2Api.md#gateway_get_allowed_access) | **
|
125
|
+
| [**gateway_get_allowed_access**](V2Api.md#gateway_get_allowed_access) | **POST** /gateway-get-allowed-access | |
|
126
126
|
| [**gateway_get_config**](V2Api.md#gateway_get_config) | **POST** /gateway-get-config | |
|
127
127
|
| [**gateway_get_k8_s_auth_config**](V2Api.md#gateway_get_k8_s_auth_config) | **POST** /gateway-get-k8s-auth-config | |
|
128
128
|
| [**gateway_get_ldap_auth_config**](V2Api.md#gateway_get_ldap_auth_config) | **POST** /gateway-get-ldap-auth-config | |
|
@@ -170,6 +170,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
170
170
|
| [**gateway_update_producer_snowflake**](V2Api.md#gateway_update_producer_snowflake) | **POST** /gateway-update-producer-snowflake | |
|
171
171
|
| [**gateway_update_tls_cert**](V2Api.md#gateway_update_tls_cert) | **POST** /gateway-update-tls-cert | |
|
172
172
|
| [**gateway_update_tmp_users**](V2Api.md#gateway_update_tmp_users) | **POST** /gateway-update-producer-tmp-creds | |
|
173
|
+
| [**generate_csr**](V2Api.md#generate_csr) | **POST** /generate-csr | |
|
173
174
|
| [**get_account_logo**](V2Api.md#get_account_logo) | **POST** /get-account-logo | |
|
174
175
|
| [**get_account_settings**](V2Api.md#get_account_settings) | **POST** /get-account-settings | |
|
175
176
|
| [**get_auth_method**](V2Api.md#get_auth_method) | **POST** /get-auth-method | |
|
@@ -5572,7 +5573,7 @@ require 'time'
|
|
5572
5573
|
require 'akeyless'
|
5573
5574
|
|
5574
5575
|
api_instance = Akeyless::V2Api.new
|
5575
|
-
body = Akeyless::
|
5576
|
+
body = Akeyless::GatewayCreateAllowedAccess.new({access_id: 'access_id_example', name: 'name_example'}) # GatewayCreateAllowedAccess |
|
5576
5577
|
|
5577
5578
|
begin
|
5578
5579
|
|
@@ -5605,7 +5606,7 @@ end
|
|
5605
5606
|
|
5606
5607
|
| Name | Type | Description | Notes |
|
5607
5608
|
| ---- | ---- | ----------- | ----- |
|
5608
|
-
| **body** | [**
|
5609
|
+
| **body** | [**GatewayCreateAllowedAccess**](GatewayCreateAllowedAccess.md) | | |
|
5609
5610
|
|
5610
5611
|
### Return type
|
5611
5612
|
|
@@ -7310,7 +7311,7 @@ require 'time'
|
|
7310
7311
|
require 'akeyless'
|
7311
7312
|
|
7312
7313
|
api_instance = Akeyless::V2Api.new
|
7313
|
-
body = Akeyless::
|
7314
|
+
body = Akeyless::GatewayDeleteAllowedAccess.new({name: 'name_example'}) # GatewayDeleteAllowedAccess |
|
7314
7315
|
|
7315
7316
|
begin
|
7316
7317
|
|
@@ -7343,7 +7344,7 @@ end
|
|
7343
7344
|
|
7344
7345
|
| Name | Type | Description | Notes |
|
7345
7346
|
| ---- | ---- | ----------- | ----- |
|
7346
|
-
| **body** | [**
|
7347
|
+
| **body** | [**GatewayDeleteAllowedAccess**](GatewayDeleteAllowedAccess.md) | | |
|
7347
7348
|
|
7348
7349
|
### Return type
|
7349
7350
|
|
@@ -7620,7 +7621,7 @@ require 'time'
|
|
7620
7621
|
require 'akeyless'
|
7621
7622
|
|
7622
7623
|
api_instance = Akeyless::V2Api.new
|
7623
|
-
body = Akeyless::
|
7624
|
+
body = Akeyless::GatewayGetAllowedAccess.new({name: 'name_example'}) # GatewayGetAllowedAccess |
|
7624
7625
|
|
7625
7626
|
begin
|
7626
7627
|
|
@@ -7653,7 +7654,7 @@ end
|
|
7653
7654
|
|
7654
7655
|
| Name | Type | Description | Notes |
|
7655
7656
|
| ---- | ---- | ----------- | ----- |
|
7656
|
-
| **body** | [**
|
7657
|
+
| **body** | [**GatewayGetAllowedAccess**](GatewayGetAllowedAccess.md) | | |
|
7657
7658
|
|
7658
7659
|
### Return type
|
7659
7660
|
|
@@ -8613,7 +8614,7 @@ require 'time'
|
|
8613
8614
|
require 'akeyless'
|
8614
8615
|
|
8615
8616
|
api_instance = Akeyless::V2Api.new
|
8616
|
-
body = Akeyless::
|
8617
|
+
body = Akeyless::GatewayUpdateAllowedAccess.new({access_id: 'access_id_example', name: 'name_example'}) # GatewayUpdateAllowedAccess |
|
8617
8618
|
|
8618
8619
|
begin
|
8619
8620
|
|
@@ -8646,7 +8647,7 @@ end
|
|
8646
8647
|
|
8647
8648
|
| Name | Type | Description | Notes |
|
8648
8649
|
| ---- | ---- | ----------- | ----- |
|
8649
|
-
| **body** | [**
|
8650
|
+
| **body** | [**GatewayUpdateAllowedAccess**](GatewayUpdateAllowedAccess.md) | | |
|
8650
8651
|
|
8651
8652
|
### Return type
|
8652
8653
|
|
@@ -10585,6 +10586,68 @@ No authorization required
|
|
10585
10586
|
- **Accept**: application/json
|
10586
10587
|
|
10587
10588
|
|
10589
|
+
## generate_csr
|
10590
|
+
|
10591
|
+
> <GenerateCsrOutput> generate_csr(body)
|
10592
|
+
|
10593
|
+
|
10594
|
+
|
10595
|
+
### Examples
|
10596
|
+
|
10597
|
+
```ruby
|
10598
|
+
require 'time'
|
10599
|
+
require 'akeyless'
|
10600
|
+
|
10601
|
+
api_instance = Akeyless::V2Api.new
|
10602
|
+
body = Akeyless::GenerateCsr.new({common_name: 'common_name_example', name: 'name_example'}) # GenerateCsr |
|
10603
|
+
|
10604
|
+
begin
|
10605
|
+
|
10606
|
+
result = api_instance.generate_csr(body)
|
10607
|
+
p result
|
10608
|
+
rescue Akeyless::ApiError => e
|
10609
|
+
puts "Error when calling V2Api->generate_csr: #{e}"
|
10610
|
+
end
|
10611
|
+
```
|
10612
|
+
|
10613
|
+
#### Using the generate_csr_with_http_info variant
|
10614
|
+
|
10615
|
+
This returns an Array which contains the response data, status code and headers.
|
10616
|
+
|
10617
|
+
> <Array(<GenerateCsrOutput>, Integer, Hash)> generate_csr_with_http_info(body)
|
10618
|
+
|
10619
|
+
```ruby
|
10620
|
+
begin
|
10621
|
+
|
10622
|
+
data, status_code, headers = api_instance.generate_csr_with_http_info(body)
|
10623
|
+
p status_code # => 2xx
|
10624
|
+
p headers # => { ... }
|
10625
|
+
p data # => <GenerateCsrOutput>
|
10626
|
+
rescue Akeyless::ApiError => e
|
10627
|
+
puts "Error when calling V2Api->generate_csr_with_http_info: #{e}"
|
10628
|
+
end
|
10629
|
+
```
|
10630
|
+
|
10631
|
+
### Parameters
|
10632
|
+
|
10633
|
+
| Name | Type | Description | Notes |
|
10634
|
+
| ---- | ---- | ----------- | ----- |
|
10635
|
+
| **body** | [**GenerateCsr**](GenerateCsr.md) | | |
|
10636
|
+
|
10637
|
+
### Return type
|
10638
|
+
|
10639
|
+
[**GenerateCsrOutput**](GenerateCsrOutput.md)
|
10640
|
+
|
10641
|
+
### Authorization
|
10642
|
+
|
10643
|
+
No authorization required
|
10644
|
+
|
10645
|
+
### HTTP request headers
|
10646
|
+
|
10647
|
+
- **Content-Type**: application/json
|
10648
|
+
- **Accept**: application/json
|
10649
|
+
|
10650
|
+
|
10588
10651
|
## get_account_logo
|
10589
10652
|
|
10590
10653
|
> Hash<String, String> get_account_logo
|
data/lib/akeyless/api/v2_api.rb
CHANGED
@@ -5448,7 +5448,7 @@ module Akeyless
|
|
5448
5448
|
return data, status_code, headers
|
5449
5449
|
end
|
5450
5450
|
|
5451
|
-
# @param body [
|
5451
|
+
# @param body [GatewayCreateAllowedAccess]
|
5452
5452
|
# @param [Hash] opts the optional parameters
|
5453
5453
|
# @return [AllowedAccess]
|
5454
5454
|
def gateway_create_allowed_access(body, opts = {})
|
@@ -5456,7 +5456,7 @@ module Akeyless
|
|
5456
5456
|
data
|
5457
5457
|
end
|
5458
5458
|
|
5459
|
-
# @param body [
|
5459
|
+
# @param body [GatewayCreateAllowedAccess]
|
5460
5460
|
# @param [Hash] opts the optional parameters
|
5461
5461
|
# @return [Array<(AllowedAccess, Integer, Hash)>] AllowedAccess data, response status code and response headers
|
5462
5462
|
def gateway_create_allowed_access_with_http_info(body, opts = {})
|
@@ -7236,7 +7236,7 @@ module Akeyless
|
|
7236
7236
|
return data, status_code, headers
|
7237
7237
|
end
|
7238
7238
|
|
7239
|
-
# @param body [
|
7239
|
+
# @param body [GatewayDeleteAllowedAccess]
|
7240
7240
|
# @param [Hash] opts the optional parameters
|
7241
7241
|
# @return [GatewayDeleteAllowedAccessOutput]
|
7242
7242
|
def gateway_delete_allowed_access(body, opts = {})
|
@@ -7244,7 +7244,7 @@ module Akeyless
|
|
7244
7244
|
data
|
7245
7245
|
end
|
7246
7246
|
|
7247
|
-
# @param body [
|
7247
|
+
# @param body [GatewayDeleteAllowedAccess]
|
7248
7248
|
# @param [Hash] opts the optional parameters
|
7249
7249
|
# @return [Array<(GatewayDeleteAllowedAccessOutput, Integer, Hash)>] GatewayDeleteAllowedAccessOutput data, response status code and response headers
|
7250
7250
|
def gateway_delete_allowed_access_with_http_info(body, opts = {})
|
@@ -7293,7 +7293,7 @@ module Akeyless
|
|
7293
7293
|
:return_type => return_type
|
7294
7294
|
)
|
7295
7295
|
|
7296
|
-
data, status_code, headers = @api_client.call_api(:
|
7296
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
7297
7297
|
if @api_client.config.debugging
|
7298
7298
|
@api_client.config.logger.debug "API called: V2Api#gateway_delete_allowed_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
7299
7299
|
end
|
@@ -7556,7 +7556,7 @@ module Akeyless
|
|
7556
7556
|
return data, status_code, headers
|
7557
7557
|
end
|
7558
7558
|
|
7559
|
-
# @param body [
|
7559
|
+
# @param body [GatewayGetAllowedAccess]
|
7560
7560
|
# @param [Hash] opts the optional parameters
|
7561
7561
|
# @return [AllowedAccess]
|
7562
7562
|
def gateway_get_allowed_access(body, opts = {})
|
@@ -7564,7 +7564,7 @@ module Akeyless
|
|
7564
7564
|
data
|
7565
7565
|
end
|
7566
7566
|
|
7567
|
-
# @param body [
|
7567
|
+
# @param body [GatewayGetAllowedAccess]
|
7568
7568
|
# @param [Hash] opts the optional parameters
|
7569
7569
|
# @return [Array<(AllowedAccess, Integer, Hash)>] AllowedAccess data, response status code and response headers
|
7570
7570
|
def gateway_get_allowed_access_with_http_info(body, opts = {})
|
@@ -7613,7 +7613,7 @@ module Akeyless
|
|
7613
7613
|
:return_type => return_type
|
7614
7614
|
)
|
7615
7615
|
|
7616
|
-
data, status_code, headers = @api_client.call_api(:
|
7616
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
7617
7617
|
if @api_client.config.debugging
|
7618
7618
|
@api_client.config.logger.debug "API called: V2Api#gateway_get_allowed_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
7619
7619
|
end
|
@@ -8576,7 +8576,7 @@ module Akeyless
|
|
8576
8576
|
return data, status_code, headers
|
8577
8577
|
end
|
8578
8578
|
|
8579
|
-
# @param body [
|
8579
|
+
# @param body [GatewayUpdateAllowedAccess]
|
8580
8580
|
# @param [Hash] opts the optional parameters
|
8581
8581
|
# @return [AllowedAccess]
|
8582
8582
|
def gateway_update_allowed_access(body, opts = {})
|
@@ -8584,7 +8584,7 @@ module Akeyless
|
|
8584
8584
|
data
|
8585
8585
|
end
|
8586
8586
|
|
8587
|
-
# @param body [
|
8587
|
+
# @param body [GatewayUpdateAllowedAccess]
|
8588
8588
|
# @param [Hash] opts the optional parameters
|
8589
8589
|
# @return [Array<(AllowedAccess, Integer, Hash)>] AllowedAccess data, response status code and response headers
|
8590
8590
|
def gateway_update_allowed_access_with_http_info(body, opts = {})
|
@@ -10620,6 +10620,70 @@ module Akeyless
|
|
10620
10620
|
return data, status_code, headers
|
10621
10621
|
end
|
10622
10622
|
|
10623
|
+
# @param body [GenerateCsr]
|
10624
|
+
# @param [Hash] opts the optional parameters
|
10625
|
+
# @return [GenerateCsrOutput]
|
10626
|
+
def generate_csr(body, opts = {})
|
10627
|
+
data, _status_code, _headers = generate_csr_with_http_info(body, opts)
|
10628
|
+
data
|
10629
|
+
end
|
10630
|
+
|
10631
|
+
# @param body [GenerateCsr]
|
10632
|
+
# @param [Hash] opts the optional parameters
|
10633
|
+
# @return [Array<(GenerateCsrOutput, Integer, Hash)>] GenerateCsrOutput data, response status code and response headers
|
10634
|
+
def generate_csr_with_http_info(body, opts = {})
|
10635
|
+
if @api_client.config.debugging
|
10636
|
+
@api_client.config.logger.debug 'Calling API: V2Api.generate_csr ...'
|
10637
|
+
end
|
10638
|
+
# verify the required parameter 'body' is set
|
10639
|
+
if @api_client.config.client_side_validation && body.nil?
|
10640
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.generate_csr"
|
10641
|
+
end
|
10642
|
+
# resource path
|
10643
|
+
local_var_path = '/generate-csr'
|
10644
|
+
|
10645
|
+
# query parameters
|
10646
|
+
query_params = opts[:query_params] || {}
|
10647
|
+
|
10648
|
+
# header parameters
|
10649
|
+
header_params = opts[:header_params] || {}
|
10650
|
+
# HTTP header 'Accept' (if needed)
|
10651
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
10652
|
+
# HTTP header 'Content-Type'
|
10653
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
10654
|
+
if !content_type.nil?
|
10655
|
+
header_params['Content-Type'] = content_type
|
10656
|
+
end
|
10657
|
+
|
10658
|
+
# form parameters
|
10659
|
+
form_params = opts[:form_params] || {}
|
10660
|
+
|
10661
|
+
# http body (model)
|
10662
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
10663
|
+
|
10664
|
+
# return_type
|
10665
|
+
return_type = opts[:debug_return_type] || 'GenerateCsrOutput'
|
10666
|
+
|
10667
|
+
# auth_names
|
10668
|
+
auth_names = opts[:debug_auth_names] || []
|
10669
|
+
|
10670
|
+
new_options = opts.merge(
|
10671
|
+
:operation => :"V2Api.generate_csr",
|
10672
|
+
:header_params => header_params,
|
10673
|
+
:query_params => query_params,
|
10674
|
+
:form_params => form_params,
|
10675
|
+
:body => post_body,
|
10676
|
+
:auth_names => auth_names,
|
10677
|
+
:return_type => return_type
|
10678
|
+
)
|
10679
|
+
|
10680
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
10681
|
+
if @api_client.config.debugging
|
10682
|
+
@api_client.config.logger.debug "API called: V2Api#generate_csr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
10683
|
+
end
|
10684
|
+
return data, status_code, headers
|
10685
|
+
end
|
10686
|
+
|
10623
10687
|
# @param [Hash] opts the optional parameters
|
10624
10688
|
# @return [Hash<String, String>]
|
10625
10689
|
def get_account_logo(opts = {})
|