akeyless 2.16.12 → 2.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/CreateArtifactoryTarget.md +1 -1
  4. data/docs/CreateKeyOutput.md +5 -1
  5. data/docs/CreateLdapTarget.md +2 -0
  6. data/docs/CreateSalesforceTarget.md +7 -3
  7. data/docs/Decrypt.md +3 -1
  8. data/docs/DecryptFile.md +6 -0
  9. data/docs/DecryptPKCS1.md +5 -1
  10. data/docs/DescribeItem.md +4 -0
  11. data/docs/DescribeSubClaims.md +20 -0
  12. data/docs/DescribeSubClaimsOutput.md +18 -0
  13. data/docs/Encrypt.md +3 -1
  14. data/docs/EncryptFile.md +4 -0
  15. data/docs/EncryptPKCS1.md +5 -1
  16. data/docs/GatewayCreateK8SAuthConfig.md +7 -1
  17. data/docs/GatewayCreateProducerDockerhub.md +1 -1
  18. data/docs/GatewayGetK8SAuthConfigOutput.md +7 -1
  19. data/docs/GatewayUpdateK8SAuthConfig.md +7 -1
  20. data/docs/GatewayUpdateProducerDockerhub.md +1 -1
  21. data/docs/K8SAuth.md +7 -1
  22. data/docs/SignPKCS1.md +5 -1
  23. data/docs/TargetTypeDetailsInput.md +3 -1
  24. data/docs/UpdateLdapTarget.md +2 -0
  25. data/docs/UpdateSalesforceTarget.md +7 -3
  26. data/docs/V2Api.md +69 -69
  27. data/docs/VerifyPKCS1.md +4 -0
  28. data/lib/akeyless/api/v2_api.rb +65 -65
  29. data/lib/akeyless/models/create_artifactory_target.rb +1 -1
  30. data/lib/akeyless/models/create_key_output.rb +22 -4
  31. data/lib/akeyless/models/create_ldap_target.rb +13 -1
  32. data/lib/akeyless/models/create_salesforce_target.rb +29 -19
  33. data/lib/akeyless/models/decrypt.rb +16 -1
  34. data/lib/akeyless/models/decrypt_file.rb +36 -1
  35. data/lib/akeyless/models/decrypt_pkcs1.rb +22 -2
  36. data/lib/akeyless/models/describe_item.rb +21 -1
  37. data/lib/akeyless/models/describe_sub_claims.rb +231 -0
  38. data/lib/akeyless/models/describe_sub_claims_output.rb +221 -0
  39. data/lib/akeyless/models/encrypt.rb +16 -1
  40. data/lib/akeyless/models/encrypt_file.rb +21 -1
  41. data/lib/akeyless/models/encrypt_pkcs1.rb +22 -2
  42. data/lib/akeyless/models/gateway_create_k8_s_auth_config.rb +34 -2
  43. data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +1 -1
  44. data/lib/akeyless/models/gateway_get_k8_s_auth_config_output.rb +32 -2
  45. data/lib/akeyless/models/gateway_update_k8_s_auth_config.rb +34 -2
  46. data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +1 -1
  47. data/lib/akeyless/models/k8_s_auth.rb +32 -2
  48. data/lib/akeyless/models/sign_pkcs1.rb +21 -6
  49. data/lib/akeyless/models/target_type_details_input.rb +14 -1
  50. data/lib/akeyless/models/update_ldap_target.rb +11 -1
  51. data/lib/akeyless/models/update_salesforce_target.rb +29 -19
  52. data/lib/akeyless/models/verify_pkcs1.rb +21 -1
  53. data/lib/akeyless/version.rb +1 -1
  54. data/lib/akeyless.rb +2 -2
  55. data/spec/models/describe_sub_claims_output_spec.rb +34 -0
  56. data/spec/models/describe_sub_claims_spec.rb +40 -0
  57. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a98455fa5aab072c242a049eb4abbb735c5fcef3f096d53000ae02ad061af0e5
4
- data.tar.gz: 114b4912efa6341204808edc9c6b76cd89ed85a7751f50ac43ff0d685bce4e39
3
+ metadata.gz: 7796d50ae58eae0b0ee56b2daa259e884c21237d9a1c6ff5ca06cbe2cbabe8c6
4
+ data.tar.gz: 146f7c0ce4631981c6a10f19f6bd1aeb1135896dd5dc6560ad1d903e483cca82
5
5
  SHA512:
6
- metadata.gz: 1f6535cbc54bf16269e5e8820a0ac9bbe90c29d50cb2f0b699d986b4c2104ed98791c79063485fa9099f2a8ae0763e030feb0aadd8c49c5692ac23cc92b3c54d
7
- data.tar.gz: 22fdc0fee5408be99e6c9c20f0565a1346ba6b50fd20b77c5ca5949dab8042b5b3b0e08dee1769cd83ad87a9205bf10e825949b22fe77f0411bf8f0db2a82e67
6
+ metadata.gz: 266182396e2d2e64eb0c3edcb0050bad50a8e32400c2e759fdcfc51bf31aa807f2249b45278afde24de9671e89e2424e8783147249e07e83fdaa60900d3d252b
7
+ data.tar.gz: e93b6e9368a4f6439fc109f1307bfe45a0675b5a8df5b3eee37d3ef2f3dfbb89f3d32a720f11e541eabd60a7d2ea59c0981b2586d5337518f2518167a608c340
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: 2.16.12
10
+ - Package version: 2.17.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://akeyless.io](http://akeyless.io)
13
13
 
@@ -117,6 +117,7 @@ Class | Method | HTTP request | Description
117
117
  *Akeyless::V2Api* | [**delete_targets**](docs/V2Api.md#delete_targets) | **POST** /delete-targets |
118
118
  *Akeyless::V2Api* | [**describe_item**](docs/V2Api.md#describe_item) | **POST** /describe-item |
119
119
  *Akeyless::V2Api* | [**describe_permissions**](docs/V2Api.md#describe_permissions) | **POST** /describe-permissions |
120
+ *Akeyless::V2Api* | [**describe_sub_claims**](docs/V2Api.md#describe_sub_claims) | **POST** /describe-sub-claims |
120
121
  *Akeyless::V2Api* | [**detokenize**](docs/V2Api.md#detokenize) | **POST** /detokenize |
121
122
  *Akeyless::V2Api* | [**encrypt**](docs/V2Api.md#encrypt) | **POST** /encrypt |
122
123
  *Akeyless::V2Api* | [**encrypt_pkcs1**](docs/V2Api.md#encrypt_pkcs1) | **POST** /encrypt-pkcs1 |
@@ -139,7 +140,7 @@ Class | Method | HTTP request | Description
139
140
  *Akeyless::V2Api* | [**gateway_create_producer_mongo**](docs/V2Api.md#gateway_create_producer_mongo) | **POST** /gateway-create-producer-mongo |
140
141
  *Akeyless::V2Api* | [**gateway_create_producer_mssql**](docs/V2Api.md#gateway_create_producer_mssql) | **POST** /gateway-create-producer-mssql |
141
142
  *Akeyless::V2Api* | [**gateway_create_producer_my_sql**](docs/V2Api.md#gateway_create_producer_my_sql) | **POST** /gateway-create-producer-mysql |
142
- *Akeyless::V2Api* | [**gateway_create_producer_native_k8_s**](docs/V2Api.md#gateway_create_producer_native_k8_s) | **POST** /gateway-create-producer-k8s-native |
143
+ *Akeyless::V2Api* | [**gateway_create_producer_native_k8_s**](docs/V2Api.md#gateway_create_producer_native_k8_s) | **POST** /gateway-create-producer-k8s |
143
144
  *Akeyless::V2Api* | [**gateway_create_producer_oracle_db**](docs/V2Api.md#gateway_create_producer_oracle_db) | **POST** /gateway-create-producer-oracle |
144
145
  *Akeyless::V2Api* | [**gateway_create_producer_postgre_sql**](docs/V2Api.md#gateway_create_producer_postgre_sql) | **POST** /gateway-create-producer-postgresql |
145
146
  *Akeyless::V2Api* | [**gateway_create_producer_rabbit_mq**](docs/V2Api.md#gateway_create_producer_rabbit_mq) | **POST** /gateway-create-producer-rabbitmq |
@@ -285,7 +286,6 @@ Class | Method | HTTP request | Description
285
286
  *Akeyless::V2Api* | [**update_ssh_target_details**](docs/V2Api.md#update_ssh_target_details) | **POST** /update-ssh-target-details |
286
287
  *Akeyless::V2Api* | [**update_target**](docs/V2Api.md#update_target) | **POST** /update-target |
287
288
  *Akeyless::V2Api* | [**update_target_details**](docs/V2Api.md#update_target_details) | **POST** /update-target-details |
288
- *Akeyless::V2Api* | [**update_tokenizer**](docs/V2Api.md#update_tokenizer) | **POST** /update-tokenizer |
289
289
  *Akeyless::V2Api* | [**update_web_target**](docs/V2Api.md#update_web_target) | **POST** /update-web-target |
290
290
  *Akeyless::V2Api* | [**update_web_target_details**](docs/V2Api.md#update_web_target_details) | **POST** /update-web-target-details |
291
291
  *Akeyless::V2Api* | [**upload_rsa**](docs/V2Api.md#upload_rsa) | **POST** /upload-rsa |
@@ -439,6 +439,8 @@ Class | Method | HTTP request | Description
439
439
  - [Akeyless::DescribeItem](docs/DescribeItem.md)
440
440
  - [Akeyless::DescribePermissions](docs/DescribePermissions.md)
441
441
  - [Akeyless::DescribePermissionsOutput](docs/DescribePermissionsOutput.md)
442
+ - [Akeyless::DescribeSubClaims](docs/DescribeSubClaims.md)
443
+ - [Akeyless::DescribeSubClaimsOutput](docs/DescribeSubClaimsOutput.md)
442
444
  - [Akeyless::Detokenize](docs/Detokenize.md)
443
445
  - [Akeyless::DetokenizeOutput](docs/DetokenizeOutput.md)
444
446
  - [Akeyless::DynamicSecretProducerInfo](docs/DynamicSecretProducerInfo.md)
@@ -824,8 +826,6 @@ Class | Method | HTTP request | Description
824
826
  - [Akeyless::UpdateTarget](docs/UpdateTarget.md)
825
827
  - [Akeyless::UpdateTargetDetailsOutput](docs/UpdateTargetDetailsOutput.md)
826
828
  - [Akeyless::UpdateTargetOutput](docs/UpdateTargetOutput.md)
827
- - [Akeyless::UpdateTokenizer](docs/UpdateTokenizer.md)
828
- - [Akeyless::UpdateTokenizerOutput](docs/UpdateTokenizerOutput.md)
829
829
  - [Akeyless::UpdateWebTarget](docs/UpdateWebTarget.md)
830
830
  - [Akeyless::UpdateWebTargetDetails](docs/UpdateWebTargetDetails.md)
831
831
  - [Akeyless::UpdateWebTargetOutput](docs/UpdateWebTargetOutput.md)
@@ -8,7 +8,7 @@
8
8
  | **artifactory_admin_pwd** | **String** | Artifactory Admin password | |
9
9
  | **base_url** | **String** | Base URL | |
10
10
  | **comment** | **String** | Comment about the target | [optional] |
11
- | **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
11
+ | **key** | **String** | The name of a key used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
12
12
  | **name** | **String** | Target name | |
13
13
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
14
14
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -4,7 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **display_id** | **String** | | [optional] |
7
8
  | **fragment_results** | **Array<Integer>** | | [optional] |
9
+ | **item_id** | **Integer** | | [optional] |
8
10
 
9
11
  ## Example
10
12
 
@@ -12,7 +14,9 @@
12
14
  require 'akeyless'
13
15
 
14
16
  instance = Akeyless::CreateKeyOutput.new(
15
- fragment_results: null
17
+ display_id: null,
18
+ fragment_results: null,
19
+ item_id: null
16
20
  )
17
21
  ```
18
22
 
@@ -11,6 +11,7 @@
11
11
  | **ldap_ca_cert** | **String** | CA Certificate File Content | [optional] |
12
12
  | **ldap_url** | **String** | LDAP Server URL | |
13
13
  | **name** | **String** | Target name | |
14
+ | **server_type** | **String** | Set Ldap server type, Options:[OpenLDAP, ActiveDirectory]. Default is OpenLDAP | [optional][default to 'OpenLDAP'] |
14
15
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
15
16
  | **token_expiration** | **String** | Token expiration | [optional] |
16
17
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -28,6 +29,7 @@ instance = Akeyless::CreateLdapTarget.new(
28
29
  ldap_ca_cert: null,
29
30
  ldap_url: null,
30
31
  name: null,
32
+ server_type: null,
31
33
  token: null,
32
34
  token_expiration: null,
33
35
  uid_token: null
@@ -4,16 +4,18 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **app_private_key_data** | **String** | Base64 encoded PEM of the connected app private key (relevant for JWT auth only) | [optional] |
8
+ | **auth_flow** | **String** | type of the auth flow ('jwt' / 'user-password') | |
7
9
  | **ca_cert_data** | **String** | Base64 encoded PEM cert to use when uploading a new key to Salesforce | [optional] |
8
10
  | **ca_cert_name** | **String** | name of the certificate in Salesforce tenant to use when uploading new key | [optional] |
9
11
  | **client_id** | **String** | Client ID of the oauth2 app to use for connecting to Salesforce | |
10
- | **client_secret** | **String** | Client secret of the oauth2 app to use for connecting to Salesforce | |
12
+ | **client_secret** | **String** | Client secret of the oauth2 app to use for connecting to Salesforce (required for password flow) | [optional] |
11
13
  | **comment** | **String** | Comment about the target | [optional] |
12
14
  | **email** | **String** | The email of the user attached to the oauth2 app used for connecting to Salesforce | |
13
15
  | **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
14
16
  | **name** | **String** | Target name | |
15
- | **password** | **String** | The password of the user attached to the oauth2 app used for connecting to Salesforce | |
16
- | **security_token** | **String** | The security token of the user attached to the oauth2 app used for connecting to Salesforce | |
17
+ | **password** | **String** | The password of the user attached to the oauth2 app used for connecting to Salesforce (required for user-password flow) | [optional] |
18
+ | **security_token** | **String** | The security token of the user attached to the oauth2 app used for connecting to Salesforce (required for user-password flow) | [optional] |
17
19
  | **tenant_url** | **String** | Url of the Salesforce tenant | |
18
20
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
19
21
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -24,6 +26,8 @@
24
26
  require 'akeyless'
25
27
 
26
28
  instance = Akeyless::CreateSalesforceTarget.new(
29
+ app_private_key_data: null,
30
+ auth_flow: null,
27
31
  ca_cert_data: null,
28
32
  ca_cert_name: null,
29
33
  client_id: null,
data/docs/Decrypt.md CHANGED
@@ -7,7 +7,8 @@
7
7
  | **ciphertext** | **String** | Ciphertext to be decrypted in base64 encoded format | [optional] |
8
8
  | **display_id** | **String** | The display id of the key to use in the decryption process | [optional] |
9
9
  | **encryption_context** | **Hash<String, String>** | The encryption context. If this was specified in the encrypt command, it must be specified here or the decryption operation will fail | [optional] |
10
- | **key_name** | **String** | The name of the key to use in the decryption process | [optional] |
10
+ | **item_id** | **Integer** | The item id of the key to use in the decryption process | [optional] |
11
+ | **key_name** | **String** | The name of the key to use in the decryption process | |
11
12
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
12
13
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
13
14
 
@@ -20,6 +21,7 @@ instance = Akeyless::Decrypt.new(
20
21
  ciphertext: null,
21
22
  display_id: null,
22
23
  encryption_context: null,
24
+ item_id: null,
23
25
  key_name: null,
24
26
  token: null,
25
27
  uid_token: null
data/docs/DecryptFile.md CHANGED
@@ -4,6 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **display_id** | **String** | The display id of the key to use in the decryption process | [optional] |
8
+ | **item_id** | **Integer** | The item id of the key to use in the decryption process | [optional] |
9
+ | **key_name** | **String** | The name of the key to use in the decryption process | |
7
10
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
8
11
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
9
12
 
@@ -13,6 +16,9 @@
13
16
  require 'akeyless'
14
17
 
15
18
  instance = Akeyless::DecryptFile.new(
19
+ display_id: null,
20
+ item_id: null,
21
+ key_name: null,
16
22
  token: null,
17
23
  uid_token: null
18
24
  )
data/docs/DecryptPKCS1.md CHANGED
@@ -5,7 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **ciphertext** | **String** | Ciphertext to be decrypted in base64 encoded format | |
8
- | **key_name** | **String** | The name of the RSA key to use in the decryption process | |
8
+ | **display_id** | **String** | The display id of the key to use in the decryption process | [optional] |
9
+ | **item_id** | **Integer** | The item id of the key to use in the decryption process | [optional] |
10
+ | **key_name** | **String** | The name of the key to use in the decryption process | |
9
11
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
10
12
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
11
13
 
@@ -16,6 +18,8 @@ require 'akeyless'
16
18
 
17
19
  instance = Akeyless::DecryptPKCS1.new(
18
20
  ciphertext: null,
21
+ display_id: null,
22
+ item_id: null,
19
23
  key_name: null,
20
24
  token: null,
21
25
  uid_token: null
data/docs/DescribeItem.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **display_id** | **String** | The display id of the item | [optional] |
8
+ | **item_id** | **Integer** | Item id of the item | [optional] |
7
9
  | **name** | **String** | Item name | |
8
10
  | **show_versions** | **Boolean** | Include all item versions in reply | [optional][default to false] |
9
11
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
@@ -15,6 +17,8 @@
15
17
  require 'akeyless'
16
18
 
17
19
  instance = Akeyless::DescribeItem.new(
20
+ display_id: null,
21
+ item_id: null,
18
22
  name: null,
19
23
  show_versions: null,
20
24
  token: null,
@@ -0,0 +1,20 @@
1
+ # Akeyless::DescribeSubClaims
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
8
+ | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'akeyless'
14
+
15
+ instance = Akeyless::DescribeSubClaims.new(
16
+ token: null,
17
+ uid_token: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # Akeyless::DescribeSubClaimsOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sub_claims** | **Hash<String, Array<String>>** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'akeyless'
13
+
14
+ instance = Akeyless::DescribeSubClaimsOutput.new(
15
+ sub_claims: null
16
+ )
17
+ ```
18
+
data/docs/Encrypt.md CHANGED
@@ -6,7 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **display_id** | **String** | The display id of the key to use in the encryption process | [optional] |
8
8
  | **encryption_context** | **Hash<String, String>** | name-value pair that specifies the encryption context to be used for authenticated encryption. If used here, the same value must be supplied to the decrypt command or decryption will fail | [optional] |
9
- | **key_name** | **String** | The name of the key to use in the encryption process | [optional] |
9
+ | **item_id** | **Integer** | The item id of the key to use in the encryption process | [optional] |
10
+ | **key_name** | **String** | The name of the key to use in the encryption process | |
10
11
  | **plaintext** | **String** | Data to be encrypted | [optional] |
11
12
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
12
13
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -19,6 +20,7 @@ require 'akeyless'
19
20
  instance = Akeyless::Encrypt.new(
20
21
  display_id: null,
21
22
  encryption_context: null,
23
+ item_id: null,
22
24
  key_name: null,
23
25
  plaintext: null,
24
26
  token: null,
data/docs/EncryptFile.md CHANGED
@@ -4,8 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **display_id** | **String** | The display id of the key to use in the encryption process | [optional] |
7
8
  | **encryption_context** | **Hash<String, String>** | name-value pair that specifies the encryption context to be used for authenticated encryption. If used here, the same value must be supplied to the decrypt command or decryption will fail | [optional] |
8
9
  | **_in** | **String** | Path to the file to be encrypted. If not provided, the content will be taken from stdin | |
10
+ | **item_id** | **Integer** | The item id of the key to use in the encryption process | [optional] |
9
11
  | **key_name** | **String** | The name of the key to use in the encryption process | |
10
12
  | **out** | **String** | Path to the output file. If not provided, the output will be sent to stdout | [optional] |
11
13
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
@@ -17,8 +19,10 @@
17
19
  require 'akeyless'
18
20
 
19
21
  instance = Akeyless::EncryptFile.new(
22
+ display_id: null,
20
23
  encryption_context: null,
21
24
  _in: null,
25
+ item_id: null,
22
26
  key_name: null,
23
27
  out: null,
24
28
  token: null,
data/docs/EncryptPKCS1.md CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **key_name** | **String** | The name of the RSA key to use in the encryption process | |
7
+ | **display_id** | **String** | The display id of the key to use in the encryption process | [optional] |
8
+ | **item_id** | **Integer** | The item id of the key to use in the encryption process | [optional] |
9
+ | **key_name** | **String** | The name of the key to use in the encryption process | |
8
10
  | **plaintext** | **String** | Data to be encrypted | |
9
11
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
10
12
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -15,6 +17,8 @@
15
17
  require 'akeyless'
16
18
 
17
19
  instance = Akeyless::EncryptPKCS1.new(
20
+ display_id: null,
21
+ item_id: null,
18
22
  key_name: null,
19
23
  plaintext: null,
20
24
  token: null,
@@ -5,15 +5,18 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **access_id** | **String** | The access ID of the Kubernetes auth method | |
8
+ | **cluster_api_type** | **String** | Cluster access type. options: [native_k8s, rancher] | [optional][default to 'native_k8s'] |
8
9
  | **config_encryption_key_name** | **String** | Config encryption key | [optional] |
9
10
  | **k8s_ca_cert** | **String** | The CA Cert (in PEM format) to use to call into the kubernetes API server | [optional] |
10
11
  | **k8s_host** | **String** | The URL of the kubernetes API server | |
11
12
  | **k8s_issuer** | **String** | The Kubernetes JWT issuer name. If not set, kubernetes/serviceaccount will use as an issuer. | [optional] |
12
13
  | **name** | **String** | K8S Auth config name | |
14
+ | **rancher_api_key** | **String** | The api key used to access the TokenReview API to validate other JWTs (relevant for \"rancher\" only) | [optional] |
15
+ | **rancher_cluster_id** | **String** | The cluster id as define in rancher (relevant for \"rancher\" only) | [optional] |
13
16
  | **signing_key** | **String** | The private key (in base64 encoded of the PEM format) associated with the public key defined in the Kubernetes auth | |
14
17
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
15
18
  | **token_exp** | **Integer** | Time in seconds of expiration of the Akeyless Kube Auth Method token | [optional][default to 300] |
16
- | **token_reviewer_jwt** | **String** | A Kubernetes service account JWT used to access the TokenReview API to validate other JWTs. If not set, the JWT submitted in the authentication process will be used to access the Kubernetes TokenReview API. | [optional] |
19
+ | **token_reviewer_jwt** | **String** | A Kubernetes service account JWT used to access the TokenReview API to validate other JWTs (relevant for \"native_k8s\" only). If not set, the JWT submitted in the authentication process will be used to access the Kubernetes TokenReview API. | [optional] |
17
20
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
18
21
 
19
22
  ## Example
@@ -23,11 +26,14 @@ require 'akeyless'
23
26
 
24
27
  instance = Akeyless::GatewayCreateK8SAuthConfig.new(
25
28
  access_id: null,
29
+ cluster_api_type: null,
26
30
  config_encryption_key_name: null,
27
31
  k8s_ca_cert: null,
28
32
  k8s_host: null,
29
33
  k8s_issuer: null,
30
34
  name: null,
35
+ rancher_api_key: null,
36
+ rancher_cluster_id: null,
31
37
  signing_key: null,
32
38
  token: null,
33
39
  token_exp: null,
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **delete_protection** | **String** | Protection from accidental deletion of this item | [optional] |
8
8
  | **dockerhub_password** | **String** | DockerhubPassword is either the user's password access token to manage the repository | [optional] |
9
- | **dockerhub_token_scopes** | **String** | Access token scopes list (comma seperated) to give the dynamic secret valid options are in \"repo:admin\", \"repo:write\", \"repo:read\", \"repo:public_read\" | [optional] |
9
+ | **dockerhub_token_scopes** | **String** | Access token scopes list (comma-separated) to give the dynamic secret valid options are in \"repo:admin\", \"repo:write\", \"repo:read\", \"repo:public_read\" | [optional] |
10
10
  | **dockerhub_username** | **String** | DockerhubUsername is the name of the user in dockerhub | [optional] |
11
11
  | **name** | **String** | Producer name | |
12
12
  | **producer_encryption_key_name** | **String** | Dynamic producer encryption key | [optional] |
@@ -7,15 +7,18 @@
7
7
  | **am_token_expiration** | **Integer** | AuthMethodTokenExpiration is time in seconds of expiration of the Akeyless Kube Auth Method token | [optional] |
8
8
  | **auth_method_access_id** | **String** | AuthMethodAccessId of the Kubernetes auth method | [optional] |
9
9
  | **auth_method_prv_key_pem** | **String** | AuthMethodSigningKey is the private key (in base64 of the PEM format) associated with the public key defined in the Kubernetes auth method, that used to sign the internal token for the Akeyless Kubernetes Auth Method | [optional] |
10
+ | **cluster_api_type** | **String** | ClusterApiType defines types of API access to cluster | [optional] |
10
11
  | **disable_iss_validation** | **Boolean** | DisableISSValidation is optional parameter to disable ISS validation | [optional] |
11
12
  | **id** | **String** | | [optional] |
12
13
  | **k8s_ca_cert** | **String** | K8SCACert is the CA Cert to use to call into the kubernetes API | [optional] |
13
14
  | **k8s_host** | **String** | K8SHost is the url string for the kubernetes API | [optional] |
14
15
  | **k8s_issuer** | **String** | K8SIssuer is the claim that specifies who issued the Kubernetes token | [optional] |
15
16
  | **k8s_pub_keys_pem** | **Array<String>** | K8SPublicKeysPEM is the list of public key in PEM format | [optional] |
16
- | **k8s_token_reviewer_jwt** | **String** | K8STokenReviewerJW\"K8S Auth config %v successfully created\\n\", clictx.Color().Bold(c.K8SAuthConfigName)T is the bearer to use during the TokenReview API call | [optional] |
17
+ | **k8s_token_reviewer_jwt** | **String** | K8STokenReviewerJWT is the bearer for clusterApiTypeK8s, used during TokenReview API call | [optional] |
17
18
  | **name** | **String** | | [optional] |
18
19
  | **protection_key** | **String** | | [optional] |
20
+ | **rancher_api_key** | **String** | RancherApiKey the bear token for clusterApiTypeRancher | [optional] |
21
+ | **rancher_cluster_id** | **String** | RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher) | [optional] |
19
22
  | **use_local_ca_jwt** | **Boolean** | UseLocalCAJwt is an optional parameter to set defaulting to using the local CA cert and service account jwt when running in a Kubernetes pod | [optional] |
20
23
 
21
24
  ## Example
@@ -27,6 +30,7 @@ instance = Akeyless::GatewayGetK8SAuthConfigOutput.new(
27
30
  am_token_expiration: null,
28
31
  auth_method_access_id: null,
29
32
  auth_method_prv_key_pem: null,
33
+ cluster_api_type: null,
30
34
  disable_iss_validation: null,
31
35
  id: null,
32
36
  k8s_ca_cert: null,
@@ -36,6 +40,8 @@ instance = Akeyless::GatewayGetK8SAuthConfigOutput.new(
36
40
  k8s_token_reviewer_jwt: null,
37
41
  name: null,
38
42
  protection_key: null,
43
+ rancher_api_key: null,
44
+ rancher_cluster_id: null,
39
45
  use_local_ca_jwt: null
40
46
  )
41
47
  ```
@@ -5,16 +5,19 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **access_id** | **String** | The access ID of the Kubernetes auth method | |
8
+ | **cluster_api_type** | **String** | Cluster access type. options: [native_k8s, rancher] | [optional][default to 'native_k8s'] |
8
9
  | **config_encryption_key_name** | **String** | Config encryption key | [optional] |
9
10
  | **k8s_ca_cert** | **String** | The CA Cert (in PEM format) to use to call into the kubernetes API server | [optional] |
10
11
  | **k8s_host** | **String** | The URL of the kubernetes API server | |
11
12
  | **k8s_issuer** | **String** | The Kubernetes JWT issuer name. If not set, kubernetes/serviceaccount will use as an issuer. | [optional] |
12
13
  | **name** | **String** | K8S Auth config name | |
13
14
  | **new_name** | **String** | K8S Auth config new name | |
15
+ | **rancher_api_key** | **String** | The api key used to access the TokenReview API to validate other JWTs (relevant for \"rancher\" only) | [optional] |
16
+ | **rancher_cluster_id** | **String** | The cluster id as define in rancher (relevant for \"rancher\" only) | [optional] |
14
17
  | **signing_key** | **String** | The private key (in base64 encoded of the PEM format) associated with the public key defined in the Kubernetes auth | |
15
18
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
16
19
  | **token_exp** | **Integer** | Time in seconds of expiration of the Akeyless Kube Auth Method token | [optional][default to 300] |
17
- | **token_reviewer_jwt** | **String** | A Kubernetes service account JWT used to access the TokenReview API to validate other JWTs. If not set, the JWT submitted in the authentication process will be used to access the Kubernetes TokenReview API. | [optional] |
20
+ | **token_reviewer_jwt** | **String** | A Kubernetes service account JWT used to access the TokenReview API to validate other JWTs (relevant for \"native_k8s\" only). If not set, the JWT submitted in the authentication process will be used to access the Kubernetes TokenReview API. | [optional] |
18
21
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
19
22
 
20
23
  ## Example
@@ -24,12 +27,15 @@ require 'akeyless'
24
27
 
25
28
  instance = Akeyless::GatewayUpdateK8SAuthConfig.new(
26
29
  access_id: null,
30
+ cluster_api_type: null,
27
31
  config_encryption_key_name: null,
28
32
  k8s_ca_cert: null,
29
33
  k8s_host: null,
30
34
  k8s_issuer: null,
31
35
  name: null,
32
36
  new_name: null,
37
+ rancher_api_key: null,
38
+ rancher_cluster_id: null,
33
39
  signing_key: null,
34
40
  token: null,
35
41
  token_exp: null,
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **delete_protection** | **String** | Protection from accidental deletion of this item | [optional] |
8
8
  | **dockerhub_password** | **String** | DockerhubPassword is either the user's password access token to manage the repository | [optional] |
9
- | **dockerhub_token_scopes** | **String** | Access token scopes list (comma seperated) to give the dynamic secret valid options are in \"repo:admin\", \"repo:write\", \"repo:read\", \"repo:public_read\" | [optional] |
9
+ | **dockerhub_token_scopes** | **String** | Access token scopes list (comma-separated) to give the dynamic secret valid options are in \"repo:admin\", \"repo:write\", \"repo:read\", \"repo:public_read\" | [optional] |
10
10
  | **dockerhub_username** | **String** | DockerhubUsername is the name of the user in dockerhub | [optional] |
11
11
  | **name** | **String** | Producer name | |
12
12
  | **new_name** | **String** | Producer name | [optional] |
data/docs/K8SAuth.md CHANGED
@@ -7,15 +7,18 @@
7
7
  | **am_token_expiration** | **Integer** | AuthMethodTokenExpiration is time in seconds of expiration of the Akeyless Kube Auth Method token | [optional] |
8
8
  | **auth_method_access_id** | **String** | AuthMethodAccessId of the Kubernetes auth method | [optional] |
9
9
  | **auth_method_prv_key_pem** | **String** | AuthMethodSigningKey is the private key (in base64 of the PEM format) associated with the public key defined in the Kubernetes auth method, that used to sign the internal token for the Akeyless Kubernetes Auth Method | [optional] |
10
+ | **cluster_api_type** | **String** | ClusterApiType defines types of API access to cluster | [optional] |
10
11
  | **disable_iss_validation** | **Boolean** | DisableISSValidation is optional parameter to disable ISS validation | [optional] |
11
12
  | **id** | **String** | | [optional] |
12
13
  | **k8s_ca_cert** | **String** | K8SCACert is the CA Cert to use to call into the kubernetes API | [optional] |
13
14
  | **k8s_host** | **String** | K8SHost is the url string for the kubernetes API | [optional] |
14
15
  | **k8s_issuer** | **String** | K8SIssuer is the claim that specifies who issued the Kubernetes token | [optional] |
15
16
  | **k8s_pub_keys_pem** | **Array<String>** | K8SPublicKeysPEM is the list of public key in PEM format | [optional] |
16
- | **k8s_token_reviewer_jwt** | **String** | K8STokenReviewerJW\"K8S Auth config %v successfully created\\n\", clictx.Color().Bold(c.K8SAuthConfigName)T is the bearer to use during the TokenReview API call | [optional] |
17
+ | **k8s_token_reviewer_jwt** | **String** | K8STokenReviewerJWT is the bearer for clusterApiTypeK8s, used during TokenReview API call | [optional] |
17
18
  | **name** | **String** | | [optional] |
18
19
  | **protection_key** | **String** | | [optional] |
20
+ | **rancher_api_key** | **String** | RancherApiKey the bear token for clusterApiTypeRancher | [optional] |
21
+ | **rancher_cluster_id** | **String** | RancherClusterId cluster id as define in rancher (in case of clusterApiTypeRancher) | [optional] |
19
22
  | **use_local_ca_jwt** | **Boolean** | UseLocalCAJwt is an optional parameter to set defaulting to using the local CA cert and service account jwt when running in a Kubernetes pod | [optional] |
20
23
 
21
24
  ## Example
@@ -27,6 +30,7 @@ instance = Akeyless::K8SAuth.new(
27
30
  am_token_expiration: null,
28
31
  auth_method_access_id: null,
29
32
  auth_method_prv_key_pem: null,
33
+ cluster_api_type: null,
30
34
  disable_iss_validation: null,
31
35
  id: null,
32
36
  k8s_ca_cert: null,
@@ -36,6 +40,8 @@ instance = Akeyless::K8SAuth.new(
36
40
  k8s_token_reviewer_jwt: null,
37
41
  name: null,
38
42
  protection_key: null,
43
+ rancher_api_key: null,
44
+ rancher_cluster_id: null,
39
45
  use_local_ca_jwt: null
40
46
  )
41
47
  ```
data/docs/SignPKCS1.md CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **key_name** | **String** | The name of the RSA key to use in the signing process | |
7
+ | **display_id** | **String** | The display id of the key to use in the signing process | [optional] |
8
+ | **item_id** | **Integer** | The item id of the key to use in the signing process | [optional] |
9
+ | **key_name** | **String** | The name of the RSA key to use in the signing process | [optional] |
8
10
  | **message** | **String** | The message to be signed | |
9
11
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
10
12
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -15,6 +17,8 @@
15
17
  require 'akeyless'
16
18
 
17
19
  instance = Akeyless::SignPKCS1.new(
20
+ display_id: null,
21
+ item_id: null,
18
22
  key_name: null,
19
23
  message: null,
20
24
  token: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **app_private_key** | **Array<Integer>** | params needed for jwt auth AppPrivateKey is the rsa private key in PEM format | [optional] |
7
8
  | **artifactory_admin_apikey** | **String** | | [optional] |
8
9
  | **artifactory_admin_username** | **String** | | [optional] |
9
10
  | **artifactory_base_url** | **String** | | [optional] |
@@ -27,7 +28,7 @@
27
28
  | **chef_server_username** | **String** | | [optional] |
28
29
  | **chef_skip_ssl** | **Boolean** | | [optional] |
29
30
  | **client_id** | **String** | | [optional] |
30
- | **client_secret** | **String** | | [optional] |
31
+ | **client_secret** | **String** | params needed for password auth | [optional] |
31
32
  | **db_host_name** | **String** | | [optional] |
32
33
  | **db_name** | **String** | | [optional] |
33
34
  | **db_port** | **String** | | [optional] |
@@ -103,6 +104,7 @@
103
104
  require 'akeyless'
104
105
 
105
106
  instance = Akeyless::TargetTypeDetailsInput.new(
107
+ app_private_key: null,
106
108
  artifactory_admin_apikey: null,
107
109
  artifactory_admin_username: null,
108
110
  artifactory_base_url: null,
@@ -13,6 +13,7 @@
13
13
  | **ldap_url** | **String** | | [optional] |
14
14
  | **name** | **String** | Target name | |
15
15
  | **new_name** | **String** | New target name | [optional] |
16
+ | **server_type** | **String** | Set Ldap server type, Options:[OpenLDAP, ActiveDirectory] | [optional] |
16
17
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
17
18
  | **token_expiration** | **String** | | [optional] |
18
19
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -33,6 +34,7 @@ instance = Akeyless::UpdateLdapTarget.new(
33
34
  ldap_url: null,
34
35
  name: null,
35
36
  new_name: null,
37
+ server_type: null,
36
38
  token: null,
37
39
  token_expiration: null,
38
40
  uid_token: null,
@@ -4,18 +4,20 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **app_private_key_data** | **String** | Base64 encoded PEM of the connected app private key (relevant for JWT auth only) | [optional] |
8
+ | **auth_flow** | **String** | type of the auth flow ('jwt' / 'user-password') | |
7
9
  | **ca_cert_data** | **String** | Base64 encoded PEM cert to use when uploading a new key to Salesforce | [optional] |
8
10
  | **ca_cert_name** | **String** | name of the certificate in Salesforce tenant to use when uploading new key | [optional] |
9
11
  | **client_id** | **String** | Client ID of the oauth2 app to use for connecting to Salesforce | |
10
- | **client_secret** | **String** | Client secret of the oauth2 app to use for connecting to Salesforce | |
12
+ | **client_secret** | **String** | Client secret of the oauth2 app to use for connecting to Salesforce (required for password flow) | [optional] |
11
13
  | **comment** | **String** | Comment about the target | [optional] |
12
14
  | **email** | **String** | The email of the user attached to the oauth2 app used for connecting to Salesforce | |
13
15
  | **keep_prev_version** | **String** | | [optional] |
14
16
  | **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
15
17
  | **name** | **String** | Target name | |
16
18
  | **new_name** | **String** | New target name | [optional] |
17
- | **password** | **String** | The password of the user attached to the oauth2 app used for connecting to Salesforce | |
18
- | **security_token** | **String** | The security token of the user attached to the oauth2 app used for connecting to Salesforce | |
19
+ | **password** | **String** | The password of the user attached to the oauth2 app used for connecting to Salesforce (required for user-password flow) | [optional] |
20
+ | **security_token** | **String** | The security token of the user attached to the oauth2 app used for connecting to Salesforce (required for user-password flow) | [optional] |
19
21
  | **tenant_url** | **String** | Url of the Salesforce tenant | |
20
22
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
21
23
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -27,6 +29,8 @@
27
29
  require 'akeyless'
28
30
 
29
31
  instance = Akeyless::UpdateSalesforceTarget.new(
32
+ app_private_key_data: null,
33
+ auth_flow: null,
30
34
  ca_cert_data: null,
31
35
  ca_cert_name: null,
32
36
  client_id: null,