akeyless 2.15.29 → 2.15.32
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 +15 -9
- data/docs/Auth.md +1 -1
- data/docs/ConfigHash.md +2 -0
- data/docs/DSProducerDetails.md +4 -0
- data/docs/GatewayCreateProducerHanaDb.md +54 -0
- data/docs/GatewayCreateProducerHanaDbOutput.md +18 -0
- data/docs/GatewayCreateProducerMongo.md +1 -1
- data/docs/GatewayUpdateProducerHanaDb.md +56 -0
- data/docs/GatewayUpdateProducerHanaDbOutput.md +18 -0
- data/docs/GatewayUpdateProducerMongo.md +1 -1
- data/docs/KMIPConfigPart.md +5 -1
- data/docs/KMIPServer.md +26 -0
- data/docs/ListAuthMethods.md +2 -0
- data/docs/TargetItemAssociation.md +2 -0
- data/docs/UpdateDBTarget.md +4 -0
- data/docs/V2Api.md +63 -0
- data/git_push.sh +0 -0
- data/lib/akeyless/api/v2_api.rb +64 -0
- data/lib/akeyless/api_client.rb +0 -6
- data/lib/akeyless/configuration.rb +2 -1
- data/lib/akeyless/models/auth.rb +1 -1
- data/lib/akeyless/models/config_hash.rb +10 -1
- data/lib/akeyless/models/ds_producer_details.rb +19 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +411 -0
- data/lib/akeyless/models/gateway_create_producer_hana_db_output.rb +219 -0
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +0 -2
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +421 -0
- data/lib/akeyless/models/gateway_update_producer_hana_db_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +0 -2
- data/lib/akeyless/models/kmip_config_part.rb +23 -1
- data/lib/akeyless/models/kmip_server.rb +259 -0
- data/lib/akeyless/models/list_auth_methods.rb +13 -1
- data/lib/akeyless/models/target_item_association.rb +10 -1
- data/lib/akeyless/models/update_db_target.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/gateway_create_producer_hana_db_output_spec.rb +34 -0
- data/spec/models/gateway_create_producer_hana_db_spec.rb +142 -0
- data/spec/models/gateway_update_producer_hana_db_output_spec.rb +34 -0
- data/spec/models/gateway_update_producer_hana_db_spec.rb +148 -0
- data/spec/models/kmip_server_spec.rb +58 -0
- metadata +476 -456
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e1e2242b8027b9eaf5b7d39a995b1a81c61136a4c37f723bf68cb036d2dbcc7
|
|
4
|
+
data.tar.gz: e9fc4d501c921b027221cee8498e13d913d1ba20b2e0b6a8c619117ca72328e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6eae588ff570cafde75d50c8f477f65e7a87538bf19bb805629657518e8fc6b72cc296be08ba14572d9cc85ad4ca6f24de91f74ca3eb9804fa0e38688c8c3314
|
|
7
|
+
data.tar.gz: 9020de6569e803a7c297b99c3ef0dbcabcea449c9edf84da38d35a3bc4815b8db869a49b14933f88c73d0259d257e4d4ab2781ec0d027bb6b0c00e1c9488376b
|
data/README.md
CHANGED
|
@@ -7,30 +7,30 @@ 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:
|
|
10
|
+
- Package version: 2.15.32
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://akeyless.io](http://akeyless.io)
|
|
13
13
|
|
|
14
14
|
To install this gem, use:
|
|
15
15
|
|
|
16
16
|
```
|
|
17
|
-
|
|
17
|
+
gem install akeyless
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Getting started
|
|
21
21
|
|
|
22
22
|
```ruby
|
|
23
|
-
require '
|
|
23
|
+
require 'akeyless'
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
# default: public API Gateway
|
|
26
26
|
config = Akeyless::Configuration.new
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
# use port 8081 exposed by the deployment:
|
|
29
29
|
config.server_index = nil
|
|
30
30
|
config.scheme = 'https'
|
|
31
31
|
config.host = 'gateway.company.com:8081'
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
# use port 8080 exposed by the deployment with /v2 prefix:
|
|
34
34
|
config.server_index = nil
|
|
35
35
|
config.scheme = 'https'
|
|
36
36
|
config.host = 'gateway.company.com:8080/v2'
|
|
@@ -38,7 +38,7 @@ config.host = 'gateway.company.com:8080/v2'
|
|
|
38
38
|
|
|
39
39
|
api = Akeyless::V2Api.new(Akeyless::ApiClient.new(config))
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
# auth using email and password
|
|
42
42
|
body = Akeyless::Auth.new
|
|
43
43
|
body.admin_email = 'foo@example.com'
|
|
44
44
|
body.admin_password = 'strong-password'
|
|
@@ -47,10 +47,10 @@ body.access_type = "password"
|
|
|
47
47
|
result = api.auth(body)
|
|
48
48
|
token = result.token
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
# get secret value using the token
|
|
51
51
|
body = Akeyless::GetSecretValue.new
|
|
52
52
|
body.token = token
|
|
53
|
-
body.
|
|
53
|
+
body.names = ['my-secret']
|
|
54
54
|
result = api.get_secret_value(body)
|
|
55
55
|
```
|
|
56
56
|
## Documentation for API Endpoints
|
|
@@ -129,6 +129,7 @@ Class | Method | HTTP request | Description
|
|
|
129
129
|
*Akeyless::V2Api* | [**gateway_create_producer_gcp**](docs/V2Api.md#gateway_create_producer_gcp) | **POST** /gateway-create-producer-gcp |
|
|
130
130
|
*Akeyless::V2Api* | [**gateway_create_producer_github**](docs/V2Api.md#gateway_create_producer_github) | **POST** /gateway-create-producer-github |
|
|
131
131
|
*Akeyless::V2Api* | [**gateway_create_producer_gke**](docs/V2Api.md#gateway_create_producer_gke) | **POST** /gateway-create-producer-gke |
|
|
132
|
+
*Akeyless::V2Api* | [**gateway_create_producer_hana_db**](docs/V2Api.md#gateway_create_producer_hana_db) | **POST** /gateway-create-producer-hanadb |
|
|
132
133
|
*Akeyless::V2Api* | [**gateway_create_producer_ldap**](docs/V2Api.md#gateway_create_producer_ldap) | **POST** /gateway-create-producer-ldap |
|
|
133
134
|
*Akeyless::V2Api* | [**gateway_create_producer_mongo**](docs/V2Api.md#gateway_create_producer_mongo) | **POST** /gateway-create-producer-mongo |
|
|
134
135
|
*Akeyless::V2Api* | [**gateway_create_producer_mssql**](docs/V2Api.md#gateway_create_producer_mssql) | **POST** /gateway-create-producer-mssql |
|
|
@@ -448,6 +449,8 @@ Class | Method | HTTP request | Description
|
|
|
448
449
|
- [Akeyless::GatewayCreateProducerGithubOutput](docs/GatewayCreateProducerGithubOutput.md)
|
|
449
450
|
- [Akeyless::GatewayCreateProducerGke](docs/GatewayCreateProducerGke.md)
|
|
450
451
|
- [Akeyless::GatewayCreateProducerGkeOutput](docs/GatewayCreateProducerGkeOutput.md)
|
|
452
|
+
- [Akeyless::GatewayCreateProducerHanaDb](docs/GatewayCreateProducerHanaDb.md)
|
|
453
|
+
- [Akeyless::GatewayCreateProducerHanaDbOutput](docs/GatewayCreateProducerHanaDbOutput.md)
|
|
451
454
|
- [Akeyless::GatewayCreateProducerLdap](docs/GatewayCreateProducerLdap.md)
|
|
452
455
|
- [Akeyless::GatewayCreateProducerLdapOutput](docs/GatewayCreateProducerLdapOutput.md)
|
|
453
456
|
- [Akeyless::GatewayCreateProducerMSSQL](docs/GatewayCreateProducerMSSQL.md)
|
|
@@ -520,6 +523,8 @@ Class | Method | HTTP request | Description
|
|
|
520
523
|
- [Akeyless::GatewayUpdateProducerGithubOutput](docs/GatewayUpdateProducerGithubOutput.md)
|
|
521
524
|
- [Akeyless::GatewayUpdateProducerGke](docs/GatewayUpdateProducerGke.md)
|
|
522
525
|
- [Akeyless::GatewayUpdateProducerGkeOutput](docs/GatewayUpdateProducerGkeOutput.md)
|
|
526
|
+
- [Akeyless::GatewayUpdateProducerHanaDb](docs/GatewayUpdateProducerHanaDb.md)
|
|
527
|
+
- [Akeyless::GatewayUpdateProducerHanaDbOutput](docs/GatewayUpdateProducerHanaDbOutput.md)
|
|
523
528
|
- [Akeyless::GatewayUpdateProducerLdap](docs/GatewayUpdateProducerLdap.md)
|
|
524
529
|
- [Akeyless::GatewayUpdateProducerLdapOutput](docs/GatewayUpdateProducerLdapOutput.md)
|
|
525
530
|
- [Akeyless::GatewayUpdateProducerMSSQL](docs/GatewayUpdateProducerMSSQL.md)
|
|
@@ -587,6 +592,7 @@ Class | Method | HTTP request | Description
|
|
|
587
592
|
- [Akeyless::KMIPClientUpdateResponse](docs/KMIPClientUpdateResponse.md)
|
|
588
593
|
- [Akeyless::KMIPConfigPart](docs/KMIPConfigPart.md)
|
|
589
594
|
- [Akeyless::KMIPEnvironmentCreateResponse](docs/KMIPEnvironmentCreateResponse.md)
|
|
595
|
+
- [Akeyless::KMIPServer](docs/KMIPServer.md)
|
|
590
596
|
- [Akeyless::KmipClientDeleteRule](docs/KmipClientDeleteRule.md)
|
|
591
597
|
- [Akeyless::KmipClientSetRule](docs/KmipClientSetRule.md)
|
|
592
598
|
- [Akeyless::KmipCreateClient](docs/KmipCreateClient.md)
|
data/docs/Auth.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **access_id** | **String** | Access ID | [optional] |
|
|
8
8
|
| **access_key** | **String** | Access key (relevant only for access-type=access_key) | [optional] |
|
|
9
|
-
| **access_type** | **String** | Access Type (access_key/password/saml/ldap/k8s/azure_ad/aws_iam/universal_identity/jwt/gcp/k8s) | [optional][default to 'access_key'] |
|
|
9
|
+
| **access_type** | **String** | Access Type (access_key/password/saml/ldap/k8s/azure_ad/oidc/aws_iam/universal_identity/jwt/gcp/k8s) | [optional][default to 'access_key'] |
|
|
10
10
|
| **admin_email** | **String** | Email (relevant only for access-type=password) | [optional] |
|
|
11
11
|
| **admin_password** | **String** | Password (relevant only for access-type=password) | [optional] |
|
|
12
12
|
| **cloud_id** | **String** | The cloud identity (relevant only for access-type=azure_ad,aws_iam,gcp) | [optional] |
|
data/docs/ConfigHash.md
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **leadership** | **String** | | [optional] |
|
|
15
15
|
| **log_forwarding** | **String** | | [optional] |
|
|
16
16
|
| **m_queue** | **String** | | [optional] |
|
|
17
|
+
| **migration_status** | **String** | | [optional] |
|
|
17
18
|
| **migrations** | **String** | | [optional] |
|
|
18
19
|
| **producers** | **Object** | | [optional] |
|
|
19
20
|
| **producers_status** | **String** | | [optional] |
|
|
@@ -37,6 +38,7 @@ instance = Akeyless::ConfigHash.new(
|
|
|
37
38
|
leadership: null,
|
|
38
39
|
log_forwarding: null,
|
|
39
40
|
m_queue: null,
|
|
41
|
+
migration_status: null,
|
|
40
42
|
migrations: null,
|
|
41
43
|
producers: null,
|
|
42
44
|
producers_status: null,
|
data/docs/DSProducerDetails.md
CHANGED
|
@@ -88,6 +88,8 @@
|
|
|
88
88
|
| **gke_service_account_key** | **String** | | [optional] |
|
|
89
89
|
| **gke_service_account_name** | **String** | | [optional] |
|
|
90
90
|
| **groups** | **String** | | [optional] |
|
|
91
|
+
| **hanadb_creation_statements** | **String** | | [optional] |
|
|
92
|
+
| **hanadb_revocation_statements** | **String** | | [optional] |
|
|
91
93
|
| **host_name** | **String** | | [optional] |
|
|
92
94
|
| **host_port** | **String** | | [optional] |
|
|
93
95
|
| **is_fixed_user** | **String** | | [optional] |
|
|
@@ -262,6 +264,8 @@ instance = Akeyless::DSProducerDetails.new(
|
|
|
262
264
|
gke_service_account_key: null,
|
|
263
265
|
gke_service_account_name: null,
|
|
264
266
|
groups: null,
|
|
267
|
+
hanadb_creation_statements: null,
|
|
268
|
+
hanadb_revocation_statements: null,
|
|
265
269
|
host_name: null,
|
|
266
270
|
host_port: null,
|
|
267
271
|
is_fixed_user: null,
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Akeyless::GatewayCreateProducerHanaDb
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **hana_dbname** | **String** | HanaDb Name | [optional] |
|
|
8
|
+
| **hanadb_create_statements** | **String** | HanaDb Creation statements | [optional] |
|
|
9
|
+
| **hanadb_host** | **String** | HanaDb Host | [optional][default to '127.0.0.1'] |
|
|
10
|
+
| **hanadb_password** | **String** | HanaDb Password | [optional] |
|
|
11
|
+
| **hanadb_port** | **String** | HanaDb Port | [optional][default to '443'] |
|
|
12
|
+
| **hanadb_revocation_statements** | **String** | HanaDb Revocation statements | [optional] |
|
|
13
|
+
| **hanadb_username** | **String** | HanaDb Username | [optional] |
|
|
14
|
+
| **name** | **String** | Producer name | |
|
|
15
|
+
| **producer_encryption_key_name** | **String** | Dynamic producer encryption key | [optional] |
|
|
16
|
+
| **secure_access_bastion_issuer** | **String** | | [optional] |
|
|
17
|
+
| **secure_access_db_schema** | **String** | | [optional] |
|
|
18
|
+
| **secure_access_enable** | **String** | | [optional] |
|
|
19
|
+
| **secure_access_host** | **Array<String>** | | [optional] |
|
|
20
|
+
| **secure_access_web** | **Boolean** | | [optional] |
|
|
21
|
+
| **tags** | **Array<String>** | List of the tags attached to this secret | [optional] |
|
|
22
|
+
| **target_name** | **String** | Target name | [optional] |
|
|
23
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
24
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
25
|
+
| **user_ttl** | **String** | User TTL | [optional][default to '60m'] |
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
require 'akeyless'
|
|
31
|
+
|
|
32
|
+
instance = Akeyless::GatewayCreateProducerHanaDb.new(
|
|
33
|
+
hana_dbname: null,
|
|
34
|
+
hanadb_create_statements: null,
|
|
35
|
+
hanadb_host: null,
|
|
36
|
+
hanadb_password: null,
|
|
37
|
+
hanadb_port: null,
|
|
38
|
+
hanadb_revocation_statements: null,
|
|
39
|
+
hanadb_username: null,
|
|
40
|
+
name: null,
|
|
41
|
+
producer_encryption_key_name: null,
|
|
42
|
+
secure_access_bastion_issuer: null,
|
|
43
|
+
secure_access_db_schema: null,
|
|
44
|
+
secure_access_enable: null,
|
|
45
|
+
secure_access_host: null,
|
|
46
|
+
secure_access_web: null,
|
|
47
|
+
tags: null,
|
|
48
|
+
target_name: null,
|
|
49
|
+
token: null,
|
|
50
|
+
uid_token: null,
|
|
51
|
+
user_ttl: null
|
|
52
|
+
)
|
|
53
|
+
```
|
|
54
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Akeyless::GatewayCreateProducerHanaDbOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **producer_details** | [**DSProducerDetails**](DSProducerDetails.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'akeyless'
|
|
13
|
+
|
|
14
|
+
instance = Akeyless::GatewayCreateProducerHanaDbOutput.new(
|
|
15
|
+
producer_details: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **mongodb_atlas_api_private_key** | **String** | MongoDB Atlas private key | [optional] |
|
|
8
8
|
| **mongodb_atlas_api_public_key** | **String** | MongoDB Atlas public key | [optional] |
|
|
9
9
|
| **mongodb_atlas_project_id** | **String** | MongoDB Atlas project ID | [optional] |
|
|
10
|
-
| **mongodb_custom_data** | **String** | MongoDB custom data | [optional]
|
|
10
|
+
| **mongodb_custom_data** | **String** | MongoDB custom data | [optional] |
|
|
11
11
|
| **mongodb_default_auth_db** | **String** | MongoDB server default authentication database | [optional] |
|
|
12
12
|
| **mongodb_host_port** | **String** | MongoDB server host and port | [optional] |
|
|
13
13
|
| **mongodb_name** | **String** | MongoDB Name | [optional] |
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Akeyless::GatewayUpdateProducerHanaDb
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **hana_dbname** | **String** | HanaDb Name | [optional] |
|
|
8
|
+
| **hanadb_create_statements** | **String** | HanaDb Creation statements | [optional] |
|
|
9
|
+
| **hanadb_host** | **String** | HanaDb Host | [optional][default to '127.0.0.1'] |
|
|
10
|
+
| **hanadb_password** | **String** | HanaDb Password | [optional] |
|
|
11
|
+
| **hanadb_port** | **String** | HanaDb Port | [optional][default to '443'] |
|
|
12
|
+
| **hanadb_revocation_statements** | **String** | HanaDb Revocation statements | [optional] |
|
|
13
|
+
| **hanadb_username** | **String** | HanaDb Username | [optional] |
|
|
14
|
+
| **name** | **String** | Producer name | |
|
|
15
|
+
| **new_name** | **String** | Producer name | [optional] |
|
|
16
|
+
| **producer_encryption_key_name** | **String** | Dynamic producer encryption key | [optional] |
|
|
17
|
+
| **secure_access_bastion_issuer** | **String** | | [optional] |
|
|
18
|
+
| **secure_access_db_schema** | **String** | | [optional] |
|
|
19
|
+
| **secure_access_enable** | **String** | | [optional] |
|
|
20
|
+
| **secure_access_host** | **Array<String>** | | [optional] |
|
|
21
|
+
| **secure_access_web** | **Boolean** | | [optional] |
|
|
22
|
+
| **tags** | **Array<String>** | List of the tags attached to this secret | [optional] |
|
|
23
|
+
| **target_name** | **String** | Target name | [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
|
+
| **user_ttl** | **String** | User TTL | [optional][default to '60m'] |
|
|
27
|
+
|
|
28
|
+
## Example
|
|
29
|
+
|
|
30
|
+
```ruby
|
|
31
|
+
require 'akeyless'
|
|
32
|
+
|
|
33
|
+
instance = Akeyless::GatewayUpdateProducerHanaDb.new(
|
|
34
|
+
hana_dbname: null,
|
|
35
|
+
hanadb_create_statements: null,
|
|
36
|
+
hanadb_host: null,
|
|
37
|
+
hanadb_password: null,
|
|
38
|
+
hanadb_port: null,
|
|
39
|
+
hanadb_revocation_statements: null,
|
|
40
|
+
hanadb_username: null,
|
|
41
|
+
name: null,
|
|
42
|
+
new_name: null,
|
|
43
|
+
producer_encryption_key_name: null,
|
|
44
|
+
secure_access_bastion_issuer: null,
|
|
45
|
+
secure_access_db_schema: null,
|
|
46
|
+
secure_access_enable: null,
|
|
47
|
+
secure_access_host: null,
|
|
48
|
+
secure_access_web: null,
|
|
49
|
+
tags: null,
|
|
50
|
+
target_name: null,
|
|
51
|
+
token: null,
|
|
52
|
+
uid_token: null,
|
|
53
|
+
user_ttl: null
|
|
54
|
+
)
|
|
55
|
+
```
|
|
56
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Akeyless::GatewayUpdateProducerHanaDbOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **producer_details** | [**DSProducerDetails**](DSProducerDetails.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'akeyless'
|
|
13
|
+
|
|
14
|
+
instance = Akeyless::GatewayUpdateProducerHanaDbOutput.new(
|
|
15
|
+
producer_details: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **mongodb_atlas_api_private_key** | **String** | MongoDB Atlas private key | [optional] |
|
|
8
8
|
| **mongodb_atlas_api_public_key** | **String** | MongoDB Atlas public key | [optional] |
|
|
9
9
|
| **mongodb_atlas_project_id** | **String** | MongoDB Atlas project ID | [optional] |
|
|
10
|
-
| **mongodb_custom_data** | **String** | MongoDB custom data | [optional]
|
|
10
|
+
| **mongodb_custom_data** | **String** | MongoDB custom data | [optional] |
|
|
11
11
|
| **mongodb_default_auth_db** | **String** | MongoDB server default authentication database | [optional] |
|
|
12
12
|
| **mongodb_host_port** | **String** | MongoDB server host and port | [optional] |
|
|
13
13
|
| **mongodb_name** | **String** | MongoDB Name | [optional] |
|
data/docs/KMIPConfigPart.md
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **clients** | [**Hash<String, KMIPClient>**](KMIPClient.md) | | [optional] |
|
|
8
|
-
| **
|
|
8
|
+
| **key_enc** | **Array<Integer>** | Saves the private key of the cert issuer in encypted form | [optional] |
|
|
9
|
+
| **server** | [**KMIPServer**](KMIPServer.md) | | [optional] |
|
|
10
|
+
| **server_enc** | **Array<Integer>** | Saved for backward compatibility TODO: remove this after all clients upgrade | [optional] |
|
|
9
11
|
|
|
10
12
|
## Example
|
|
11
13
|
|
|
@@ -14,6 +16,8 @@ require 'akeyless'
|
|
|
14
16
|
|
|
15
17
|
instance = Akeyless::KMIPConfigPart.new(
|
|
16
18
|
clients: null,
|
|
19
|
+
key_enc: null,
|
|
20
|
+
server: null,
|
|
17
21
|
server_enc: null
|
|
18
22
|
)
|
|
19
23
|
```
|
data/docs/KMIPServer.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Akeyless::KMIPServer
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **active** | **Boolean** | | [optional] |
|
|
8
|
+
| **ca** | **Array<Integer>** | | [optional] |
|
|
9
|
+
| **certificate** | **Array<Integer>** | | [optional] |
|
|
10
|
+
| **hostname** | **String** | | [optional] |
|
|
11
|
+
| **root** | **String** | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'akeyless'
|
|
17
|
+
|
|
18
|
+
instance = Akeyless::KMIPServer.new(
|
|
19
|
+
active: null,
|
|
20
|
+
ca: null,
|
|
21
|
+
certificate: null,
|
|
22
|
+
hostname: null,
|
|
23
|
+
root: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
data/docs/ListAuthMethods.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **pagination_token** | **String** | Next page reference | [optional] |
|
|
8
8
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
9
|
+
| **type** | **Array<String>** | The Auth method types list of the requested method. In case it is empty, all types of auth methods will be returned. options: [api_key, azure_ad, oauth2/jwt, saml2, ldap, aws_iam, oidc, universal_identity, gcp, k8s] | [optional] |
|
|
9
10
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
@@ -16,6 +17,7 @@ require 'akeyless'
|
|
|
16
17
|
instance = Akeyless::ListAuthMethods.new(
|
|
17
18
|
pagination_token: null,
|
|
18
19
|
token: null,
|
|
20
|
+
type: null,
|
|
19
21
|
uid_token: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **assoc_id** | **String** | | [optional] |
|
|
8
|
+
| **cluster_id** | **Integer** | | [optional] |
|
|
8
9
|
| **item_name** | **String** | | [optional] |
|
|
9
10
|
| **item_type** | **String** | | [optional] |
|
|
10
11
|
|
|
@@ -15,6 +16,7 @@ require 'akeyless'
|
|
|
15
16
|
|
|
16
17
|
instance = Akeyless::TargetItemAssociation.new(
|
|
17
18
|
assoc_id: null,
|
|
19
|
+
cluster_id: null,
|
|
18
20
|
item_name: null,
|
|
19
21
|
item_type: null
|
|
20
22
|
)
|
data/docs/UpdateDBTarget.md
CHANGED
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
| **port** | **String** | | [optional] |
|
|
25
25
|
| **pwd** | **String** | | [optional] |
|
|
26
26
|
| **snowflake_account** | **String** | | [optional] |
|
|
27
|
+
| **ssl** | **Boolean** | SSL connection mode | [optional] |
|
|
28
|
+
| **ssl_certificate** | **String** | SSL connection certificate | [optional] |
|
|
27
29
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
28
30
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
29
31
|
| **update_version** | **Boolean** | Deprecated | [optional] |
|
|
@@ -55,6 +57,8 @@ instance = Akeyless::UpdateDBTarget.new(
|
|
|
55
57
|
port: null,
|
|
56
58
|
pwd: null,
|
|
57
59
|
snowflake_account: null,
|
|
60
|
+
ssl: null,
|
|
61
|
+
ssl_certificate: null,
|
|
58
62
|
token: null,
|
|
59
63
|
uid_token: null,
|
|
60
64
|
update_version: null,
|
data/docs/V2Api.md
CHANGED
|
@@ -74,6 +74,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
74
74
|
| [**gateway_create_producer_gcp**](V2Api.md#gateway_create_producer_gcp) | **POST** /gateway-create-producer-gcp | |
|
|
75
75
|
| [**gateway_create_producer_github**](V2Api.md#gateway_create_producer_github) | **POST** /gateway-create-producer-github | |
|
|
76
76
|
| [**gateway_create_producer_gke**](V2Api.md#gateway_create_producer_gke) | **POST** /gateway-create-producer-gke | |
|
|
77
|
+
| [**gateway_create_producer_hana_db**](V2Api.md#gateway_create_producer_hana_db) | **POST** /gateway-create-producer-hanadb | |
|
|
77
78
|
| [**gateway_create_producer_ldap**](V2Api.md#gateway_create_producer_ldap) | **POST** /gateway-create-producer-ldap | |
|
|
78
79
|
| [**gateway_create_producer_mongo**](V2Api.md#gateway_create_producer_mongo) | **POST** /gateway-create-producer-mongo | |
|
|
79
80
|
| [**gateway_create_producer_mssql**](V2Api.md#gateway_create_producer_mssql) | **POST** /gateway-create-producer-mssql | |
|
|
@@ -4560,6 +4561,68 @@ No authorization required
|
|
|
4560
4561
|
- **Accept**: application/json
|
|
4561
4562
|
|
|
4562
4563
|
|
|
4564
|
+
## gateway_create_producer_hana_db
|
|
4565
|
+
|
|
4566
|
+
> <GatewayCreateProducerHanaDbOutput> gateway_create_producer_hana_db(body)
|
|
4567
|
+
|
|
4568
|
+
|
|
4569
|
+
|
|
4570
|
+
### Examples
|
|
4571
|
+
|
|
4572
|
+
```ruby
|
|
4573
|
+
require 'time'
|
|
4574
|
+
require 'akeyless'
|
|
4575
|
+
|
|
4576
|
+
api_instance = Akeyless::V2Api.new
|
|
4577
|
+
body = Akeyless::GatewayCreateProducerHanaDb.new({name: 'name_example'}) # GatewayCreateProducerHanaDb |
|
|
4578
|
+
|
|
4579
|
+
begin
|
|
4580
|
+
|
|
4581
|
+
result = api_instance.gateway_create_producer_hana_db(body)
|
|
4582
|
+
p result
|
|
4583
|
+
rescue Akeyless::ApiError => e
|
|
4584
|
+
puts "Error when calling V2Api->gateway_create_producer_hana_db: #{e}"
|
|
4585
|
+
end
|
|
4586
|
+
```
|
|
4587
|
+
|
|
4588
|
+
#### Using the gateway_create_producer_hana_db_with_http_info variant
|
|
4589
|
+
|
|
4590
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4591
|
+
|
|
4592
|
+
> <Array(<GatewayCreateProducerHanaDbOutput>, Integer, Hash)> gateway_create_producer_hana_db_with_http_info(body)
|
|
4593
|
+
|
|
4594
|
+
```ruby
|
|
4595
|
+
begin
|
|
4596
|
+
|
|
4597
|
+
data, status_code, headers = api_instance.gateway_create_producer_hana_db_with_http_info(body)
|
|
4598
|
+
p status_code # => 2xx
|
|
4599
|
+
p headers # => { ... }
|
|
4600
|
+
p data # => <GatewayCreateProducerHanaDbOutput>
|
|
4601
|
+
rescue Akeyless::ApiError => e
|
|
4602
|
+
puts "Error when calling V2Api->gateway_create_producer_hana_db_with_http_info: #{e}"
|
|
4603
|
+
end
|
|
4604
|
+
```
|
|
4605
|
+
|
|
4606
|
+
### Parameters
|
|
4607
|
+
|
|
4608
|
+
| Name | Type | Description | Notes |
|
|
4609
|
+
| ---- | ---- | ----------- | ----- |
|
|
4610
|
+
| **body** | [**GatewayCreateProducerHanaDb**](GatewayCreateProducerHanaDb.md) | | |
|
|
4611
|
+
|
|
4612
|
+
### Return type
|
|
4613
|
+
|
|
4614
|
+
[**GatewayCreateProducerHanaDbOutput**](GatewayCreateProducerHanaDbOutput.md)
|
|
4615
|
+
|
|
4616
|
+
### Authorization
|
|
4617
|
+
|
|
4618
|
+
No authorization required
|
|
4619
|
+
|
|
4620
|
+
### HTTP request headers
|
|
4621
|
+
|
|
4622
|
+
- **Content-Type**: application/json
|
|
4623
|
+
- **Accept**: application/json
|
|
4624
|
+
|
|
4625
|
+
|
|
4563
4626
|
## gateway_create_producer_ldap
|
|
4564
4627
|
|
|
4565
4628
|
> <GatewayCreateProducerLdapOutput> gateway_create_producer_ldap(body)
|
data/git_push.sh
CHANGED
|
File without changes
|
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -4495,6 +4495,70 @@ module Akeyless
|
|
|
4495
4495
|
return data, status_code, headers
|
|
4496
4496
|
end
|
|
4497
4497
|
|
|
4498
|
+
# @param body [GatewayCreateProducerHanaDb]
|
|
4499
|
+
# @param [Hash] opts the optional parameters
|
|
4500
|
+
# @return [GatewayCreateProducerHanaDbOutput]
|
|
4501
|
+
def gateway_create_producer_hana_db(body, opts = {})
|
|
4502
|
+
data, _status_code, _headers = gateway_create_producer_hana_db_with_http_info(body, opts)
|
|
4503
|
+
data
|
|
4504
|
+
end
|
|
4505
|
+
|
|
4506
|
+
# @param body [GatewayCreateProducerHanaDb]
|
|
4507
|
+
# @param [Hash] opts the optional parameters
|
|
4508
|
+
# @return [Array<(GatewayCreateProducerHanaDbOutput, Integer, Hash)>] GatewayCreateProducerHanaDbOutput data, response status code and response headers
|
|
4509
|
+
def gateway_create_producer_hana_db_with_http_info(body, opts = {})
|
|
4510
|
+
if @api_client.config.debugging
|
|
4511
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_producer_hana_db ...'
|
|
4512
|
+
end
|
|
4513
|
+
# verify the required parameter 'body' is set
|
|
4514
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
4515
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_producer_hana_db"
|
|
4516
|
+
end
|
|
4517
|
+
# resource path
|
|
4518
|
+
local_var_path = '/gateway-create-producer-hanadb'
|
|
4519
|
+
|
|
4520
|
+
# query parameters
|
|
4521
|
+
query_params = opts[:query_params] || {}
|
|
4522
|
+
|
|
4523
|
+
# header parameters
|
|
4524
|
+
header_params = opts[:header_params] || {}
|
|
4525
|
+
# HTTP header 'Accept' (if needed)
|
|
4526
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
4527
|
+
# HTTP header 'Content-Type'
|
|
4528
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
4529
|
+
if !content_type.nil?
|
|
4530
|
+
header_params['Content-Type'] = content_type
|
|
4531
|
+
end
|
|
4532
|
+
|
|
4533
|
+
# form parameters
|
|
4534
|
+
form_params = opts[:form_params] || {}
|
|
4535
|
+
|
|
4536
|
+
# http body (model)
|
|
4537
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
4538
|
+
|
|
4539
|
+
# return_type
|
|
4540
|
+
return_type = opts[:debug_return_type] || 'GatewayCreateProducerHanaDbOutput'
|
|
4541
|
+
|
|
4542
|
+
# auth_names
|
|
4543
|
+
auth_names = opts[:debug_auth_names] || []
|
|
4544
|
+
|
|
4545
|
+
new_options = opts.merge(
|
|
4546
|
+
:operation => :"V2Api.gateway_create_producer_hana_db",
|
|
4547
|
+
:header_params => header_params,
|
|
4548
|
+
:query_params => query_params,
|
|
4549
|
+
:form_params => form_params,
|
|
4550
|
+
:body => post_body,
|
|
4551
|
+
:auth_names => auth_names,
|
|
4552
|
+
:return_type => return_type
|
|
4553
|
+
)
|
|
4554
|
+
|
|
4555
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
4556
|
+
if @api_client.config.debugging
|
|
4557
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_producer_hana_db\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4558
|
+
end
|
|
4559
|
+
return data, status_code, headers
|
|
4560
|
+
end
|
|
4561
|
+
|
|
4498
4562
|
# @param body [GatewayCreateProducerLdap]
|
|
4499
4563
|
# @param [Hash] opts the optional parameters
|
|
4500
4564
|
# @return [GatewayCreateProducerLdapOutput]
|
data/lib/akeyless/api_client.rb
CHANGED
|
@@ -216,12 +216,6 @@ module Akeyless
|
|
|
216
216
|
# note that response body is empty when the file is written in chunks in request on_body callback
|
|
217
217
|
return @tempfile if return_type == 'File'
|
|
218
218
|
|
|
219
|
-
# return byte stream for Binary return type
|
|
220
|
-
if return_type == 'Binary'
|
|
221
|
-
encoding = body.encoding
|
|
222
|
-
return @stream.join.force_encoding(encoding)
|
|
223
|
-
end
|
|
224
|
-
|
|
225
219
|
return nil if body.nil? || body.empty?
|
|
226
220
|
|
|
227
221
|
# return response body directly for String return type
|
|
@@ -133,6 +133,7 @@ module Akeyless
|
|
|
133
133
|
# https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
|
|
134
134
|
attr_accessor :params_encoding
|
|
135
135
|
|
|
136
|
+
|
|
136
137
|
attr_accessor :inject_format
|
|
137
138
|
|
|
138
139
|
attr_accessor :force_ending_format
|
|
@@ -150,10 +151,10 @@ module Akeyless
|
|
|
150
151
|
@client_side_validation = true
|
|
151
152
|
@verify_ssl = true
|
|
152
153
|
@verify_ssl_host = true
|
|
153
|
-
@params_encoding = nil
|
|
154
154
|
@cert_file = nil
|
|
155
155
|
@key_file = nil
|
|
156
156
|
@timeout = 0
|
|
157
|
+
@params_encoding = nil
|
|
157
158
|
@debugging = false
|
|
158
159
|
@inject_format = false
|
|
159
160
|
@force_ending_format = false
|
data/lib/akeyless/models/auth.rb
CHANGED
|
@@ -21,7 +21,7 @@ module Akeyless
|
|
|
21
21
|
# Access key (relevant only for access-type=access_key)
|
|
22
22
|
attr_accessor :access_key
|
|
23
23
|
|
|
24
|
-
# Access Type (access_key/password/saml/ldap/k8s/azure_ad/aws_iam/universal_identity/jwt/gcp/k8s)
|
|
24
|
+
# Access Type (access_key/password/saml/ldap/k8s/azure_ad/oidc/aws_iam/universal_identity/jwt/gcp/k8s)
|
|
25
25
|
attr_accessor :access_type
|
|
26
26
|
|
|
27
27
|
# Email (relevant only for access-type=password)
|