akeyless 5.0.3 → 5.0.5
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 +11 -2
- data/docs/AWSGatewayCloudIdentityExternalIdOpt.md +22 -0
- data/docs/AWSTargetDetails.md +2 -0
- data/docs/AccountGeneralSettings.md +6 -0
- data/docs/AzureTargetDetails.md +2 -0
- data/docs/CertificateExpirationEventsSettings.md +20 -0
- data/docs/CreateAWSTarget.md +4 -0
- data/docs/CreatePKICertIssuer.md +3 -1
- data/docs/DSProducerDetails.md +14 -0
- data/docs/DynamicSecretCreateArtifactory.md +2 -0
- data/docs/DynamicSecretCreateAws.md +4 -0
- data/docs/DynamicSecretCreateAzure.md +4 -0
- data/docs/DynamicSecretCreateCassandra.md +2 -0
- data/docs/DynamicSecretCreateChef.md +2 -0
- data/docs/DynamicSecretCreateGcp.md +2 -0
- data/docs/DynamicSecretCreateHanaDb.md +4 -0
- data/docs/DynamicSecretCreateK8s.md +2 -0
- data/docs/DynamicSecretCreateLdap.md +2 -0
- data/docs/DynamicSecretCreateMongoDb.md +4 -0
- data/docs/DynamicSecretCreateMsSql.md +4 -0
- data/docs/DynamicSecretCreateMySql.md +4 -0
- data/docs/DynamicSecretCreateOracleDb.md +2 -0
- data/docs/DynamicSecretCreatePostgreSql.md +4 -0
- data/docs/DynamicSecretCreateRdp.md +2 -0
- data/docs/DynamicSecretCreateRedis.md +2 -0
- data/docs/DynamicSecretCreateRedshift.md +2 -0
- data/docs/DynamicSecretCreateSnowflake.md +6 -0
- data/docs/DynamicSecretUpdateArtifactory.md +2 -0
- data/docs/DynamicSecretUpdateAws.md +4 -0
- data/docs/DynamicSecretUpdateAzure.md +4 -0
- data/docs/DynamicSecretUpdateCassandra.md +2 -0
- data/docs/DynamicSecretUpdateChef.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +2 -0
- data/docs/DynamicSecretUpdateHanaDb.md +4 -0
- data/docs/DynamicSecretUpdateK8s.md +2 -0
- data/docs/DynamicSecretUpdateLdap.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +4 -0
- data/docs/DynamicSecretUpdateMsSql.md +4 -0
- data/docs/DynamicSecretUpdateMySql.md +4 -0
- data/docs/DynamicSecretUpdateOracleDb.md +2 -0
- data/docs/DynamicSecretUpdatePostgreSql.md +4 -0
- data/docs/DynamicSecretUpdateRdp.md +2 -0
- data/docs/DynamicSecretUpdateRedis.md +2 -0
- data/docs/DynamicSecretUpdateRedshift.md +2 -0
- data/docs/DynamicSecretUpdateSnowflake.md +6 -0
- data/docs/GatewayCreateProducerArtifactory.md +2 -0
- data/docs/GatewayCreateProducerAws.md +4 -0
- data/docs/GatewayCreateProducerAzure.md +4 -0
- data/docs/GatewayCreateProducerCassandra.md +2 -0
- data/docs/GatewayCreateProducerChef.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +2 -0
- data/docs/GatewayCreateProducerHanaDb.md +4 -0
- data/docs/GatewayCreateProducerLdap.md +2 -0
- data/docs/GatewayCreateProducerMSSQL.md +4 -0
- data/docs/GatewayCreateProducerMongo.md +4 -0
- data/docs/GatewayCreateProducerMySQL.md +4 -0
- data/docs/GatewayCreateProducerNativeK8S.md +2 -0
- data/docs/GatewayCreateProducerOracleDb.md +2 -0
- data/docs/GatewayCreateProducerPostgreSQL.md +4 -0
- data/docs/GatewayCreateProducerRdp.md +2 -0
- data/docs/GatewayCreateProducerRedis.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayCreateProducerSnowflake.md +6 -0
- data/docs/GatewayDetailsForItemReplyObj.md +2 -0
- data/docs/GatewayUpdateProducerArtifactory.md +2 -0
- data/docs/GatewayUpdateProducerAws.md +4 -0
- data/docs/GatewayUpdateProducerAzure.md +4 -0
- data/docs/GatewayUpdateProducerCassandra.md +2 -0
- data/docs/GatewayUpdateProducerChef.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +2 -0
- data/docs/GatewayUpdateProducerHanaDb.md +4 -0
- data/docs/GatewayUpdateProducerLdap.md +2 -0
- data/docs/GatewayUpdateProducerMSSQL.md +4 -0
- data/docs/GatewayUpdateProducerMongo.md +4 -0
- data/docs/GatewayUpdateProducerMySQL.md +4 -0
- data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
- data/docs/GatewayUpdateProducerOracleDb.md +2 -0
- data/docs/GatewayUpdateProducerPostgreSQL.md +4 -0
- data/docs/GatewayUpdateProducerRdp.md +2 -0
- data/docs/GatewayUpdateProducerRedis.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GatewayUpdateProducerSnowflake.md +6 -0
- data/docs/GcpTargetDetails.md +2 -0
- data/docs/ItemUSCSyncAssociation.md +1 -1
- data/docs/ItemVersion.md +4 -0
- data/docs/ListItemsInPathOutput.md +2 -0
- data/docs/ListItemsOutput.md +2 -0
- data/docs/PKICertificateIssueDetails.md +2 -0
- data/docs/RotatedSecretCreateAws.md +5 -1
- data/docs/RotatedSecretCreateAzure.md +12 -0
- data/docs/RotatedSecretCreateCustom.md +11 -1
- data/docs/RotatedSecretCreateGcp.md +6 -0
- data/docs/RotatedSecretCreateSnowflake.md +6 -2
- data/docs/RotatedSecretDeleteSyncOutput.md +20 -0
- data/docs/RotatedSecretDetailsInfo.md +8 -0
- data/docs/RotatedSecretSync.md +2 -0
- data/docs/RotatedSecretUpdateAws.md +5 -1
- data/docs/RotatedSecretUpdateAzure.md +12 -0
- data/docs/RotatedSecretUpdateCustom.md +11 -1
- data/docs/RotatedSecretUpdateGcp.md +6 -0
- data/docs/RotatedSecretUpdateSnowflake.md +5 -1
- data/docs/SecretSyncOutput.md +22 -0
- data/docs/StaticSecretDeleteSync.md +26 -0
- data/docs/StaticSecretDeleteSyncOutput.md +20 -0
- data/docs/StaticSecretSync.md +30 -0
- data/docs/TargetCreateAws.md +4 -0
- data/docs/TargetItemVersion.md +4 -0
- data/docs/TargetUpdateAws.md +4 -0
- data/docs/UpdateAWSTarget.md +4 -0
- data/docs/UpdateAccountSettings.md +8 -0
- data/docs/UpdatePKICertIssuer.md +3 -1
- data/docs/UscCreate.md +2 -0
- data/docs/UscSyncInfo.md +26 -0
- data/docs/UscUpdate.md +2 -0
- data/docs/V2Api.md +130 -4
- data/lib/akeyless/api/v2_api.rb +131 -3
- data/lib/akeyless/models/account_general_settings.rb +28 -1
- data/lib/akeyless/models/aws_gateway_cloud_identity_external_id_opt.rb +232 -0
- data/lib/akeyless/models/aws_target_details.rb +10 -1
- data/lib/akeyless/models/azure_target_details.rb +10 -1
- data/lib/akeyless/models/certificate_expiration_events_settings.rb +226 -0
- data/lib/akeyless/models/create_aws_target.rb +21 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/ds_producer_details.rb +64 -1
- data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_aws.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_azure.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_chef.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_ldap.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_rdp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_redis.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_redshift.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +32 -1
- data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_rdp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_redis.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_redshift.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +32 -1
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_azure.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_redis.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +32 -1
- data/lib/akeyless/models/gateway_details_for_item_reply_obj.rb +10 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_azure.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_redis.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +32 -1
- data/lib/akeyless/models/gcp_target_details.rb +10 -1
- data/lib/akeyless/models/item_usc_sync_association.rb +1 -1
- data/lib/akeyless/models/item_version.rb +19 -1
- data/lib/akeyless/models/list_items_in_path_output.rb +10 -1
- data/lib/akeyless/models/list_items_output.rb +10 -1
- data/lib/akeyless/models/pki_certificate_issue_details.rb +10 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +22 -2
- data/lib/akeyless/models/rotated_secret_create_azure.rb +63 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +54 -4
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +31 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +23 -3
- data/lib/akeyless/models/rotated_secret_delete_sync_output.rb +223 -0
- data/lib/akeyless/models/rotated_secret_details_info.rb +37 -1
- data/lib/akeyless/models/rotated_secret_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +22 -2
- data/lib/akeyless/models/rotated_secret_update_azure.rb +63 -1
- data/lib/akeyless/models/rotated_secret_update_custom.rb +54 -4
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +31 -1
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +22 -2
- data/lib/akeyless/models/secret_sync_output.rb +232 -0
- data/lib/akeyless/models/static_secret_delete_sync.rb +271 -0
- data/lib/akeyless/models/static_secret_delete_sync_output.rb +223 -0
- data/lib/akeyless/models/static_secret_sync.rb +284 -0
- data/lib/akeyless/models/target_create_aws.rb +21 -1
- data/lib/akeyless/models/target_item_version.rb +19 -1
- data/lib/akeyless/models/target_update_aws.rb +21 -1
- data/lib/akeyless/models/update_account_settings.rb +43 -1
- data/lib/akeyless/models/update_aws_target.rb +21 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/usc_create.rb +11 -1
- data/lib/akeyless/models/usc_sync_info.rb +250 -0
- data/lib/akeyless/models/usc_update.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +8 -1
- data/spec/models/aws_gateway_cloud_identity_external_id_opt_spec.rb +48 -0
- data/spec/models/certificate_expiration_events_settings_spec.rb +42 -0
- data/spec/models/rotated_secret_delete_sync_output_spec.rb +42 -0
- data/spec/models/secret_sync_output_spec.rb +48 -0
- data/spec/models/static_secret_delete_sync_output_spec.rb +42 -0
- data/spec/models/static_secret_delete_sync_spec.rb +60 -0
- data/spec/models/static_secret_sync_spec.rb +72 -0
- data/spec/models/usc_sync_info_spec.rb +60 -0
- metadata +1089 -1057
data/docs/TargetCreateAws.md
CHANGED
@@ -7,11 +7,13 @@
|
|
7
7
|
| **access_key** | **String** | AWS secret access key | |
|
8
8
|
| **access_key_id** | **String** | AWS access key ID | |
|
9
9
|
| **description** | **String** | Description of the object | [optional] |
|
10
|
+
| **generate_external_id** | **Boolean** | A unique auto-generated value used in your AWS account when configuring your AWS IAM role to securely delegate access to Akeyless. Relevant only when using GW cloud ID | [optional] |
|
10
11
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
11
12
|
| **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] |
|
12
13
|
| **max_versions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
|
13
14
|
| **name** | **String** | Target name | |
|
14
15
|
| **region** | **String** | AWS region | [optional][default to 'us-east-2'] |
|
16
|
+
| **role_arn** | **String** | AWS IAM role identifier that Gateway will assume in your AWS account, relevant only when using external ID | [optional] |
|
15
17
|
| **session_token** | **String** | Required only for temporary security credentials retrieved using STS | [optional] |
|
16
18
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
17
19
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
@@ -26,11 +28,13 @@ instance = Akeyless::TargetCreateAws.new(
|
|
26
28
|
access_key: null,
|
27
29
|
access_key_id: null,
|
28
30
|
description: null,
|
31
|
+
generate_external_id: null,
|
29
32
|
json: null,
|
30
33
|
key: null,
|
31
34
|
max_versions: null,
|
32
35
|
name: null,
|
33
36
|
region: null,
|
37
|
+
role_arn: null,
|
34
38
|
session_token: null,
|
35
39
|
token: null,
|
36
40
|
uid_token: null,
|
data/docs/TargetItemVersion.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **access_date** | **Time** | | [optional] |
|
8
8
|
| **access_date_display** | **String** | | [optional] |
|
9
|
+
| **access_id** | **String** | | [optional] |
|
9
10
|
| **certificate_version_info** | [**CertificateVersionInfo**](CertificateVersionInfo.md) | | [optional] |
|
10
11
|
| **creation_date** | **Time** | | [optional] |
|
11
12
|
| **customer_fragment_id** | **String** | | [optional] |
|
@@ -15,6 +16,7 @@
|
|
15
16
|
| **modification_date** | **Time** | | [optional] |
|
16
17
|
| **protection_key_name** | **String** | | [optional] |
|
17
18
|
| **target_name** | **String** | | [optional] |
|
19
|
+
| **unique_identifier** | **String** | | [optional] |
|
18
20
|
| **version** | **Integer** | | [optional] |
|
19
21
|
| **with_customer_fragment** | **Boolean** | | [optional] |
|
20
22
|
|
@@ -26,6 +28,7 @@ require 'akeyless'
|
|
26
28
|
instance = Akeyless::TargetItemVersion.new(
|
27
29
|
access_date: null,
|
28
30
|
access_date_display: null,
|
31
|
+
access_id: null,
|
29
32
|
certificate_version_info: null,
|
30
33
|
creation_date: null,
|
31
34
|
customer_fragment_id: null,
|
@@ -35,6 +38,7 @@ instance = Akeyless::TargetItemVersion.new(
|
|
35
38
|
modification_date: null,
|
36
39
|
protection_key_name: null,
|
37
40
|
target_name: null,
|
41
|
+
unique_identifier: null,
|
38
42
|
version: null,
|
39
43
|
with_customer_fragment: null
|
40
44
|
)
|
data/docs/TargetUpdateAws.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
| **access_key** | **String** | AWS secret access key | |
|
8
8
|
| **access_key_id** | **String** | AWS access key ID | |
|
9
9
|
| **description** | **String** | Description of the object | [optional] |
|
10
|
+
| **generate_external_id** | **Boolean** | A unique auto-generated value used in your AWS account when configuring your AWS IAM role to securely delegate access to Akeyless. Relevant only when using GW cloud ID | [optional] |
|
10
11
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
11
12
|
| **keep_prev_version** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
|
12
13
|
| **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,6 +15,7 @@
|
|
14
15
|
| **name** | **String** | Target name | |
|
15
16
|
| **new_name** | **String** | New target name | [optional] |
|
16
17
|
| **region** | **String** | AWS region | [optional][default to 'us-east-2'] |
|
18
|
+
| **role_arn** | **String** | AWS IAM role identifier that Gateway will assume in your AWS account, relevant only when using external ID | [optional] |
|
17
19
|
| **session_token** | **String** | Required only for temporary security credentials retrieved using STS | [optional] |
|
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] |
|
@@ -28,6 +30,7 @@ instance = Akeyless::TargetUpdateAws.new(
|
|
28
30
|
access_key: null,
|
29
31
|
access_key_id: null,
|
30
32
|
description: null,
|
33
|
+
generate_external_id: null,
|
31
34
|
json: null,
|
32
35
|
keep_prev_version: null,
|
33
36
|
key: null,
|
@@ -35,6 +38,7 @@ instance = Akeyless::TargetUpdateAws.new(
|
|
35
38
|
name: null,
|
36
39
|
new_name: null,
|
37
40
|
region: null,
|
41
|
+
role_arn: null,
|
38
42
|
session_token: null,
|
39
43
|
token: null,
|
40
44
|
uid_token: null,
|
data/docs/UpdateAWSTarget.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **access_key_id** | **String** | AWS access key ID | |
|
9
9
|
| **comment** | **String** | Deprecated - use description | [optional] |
|
10
10
|
| **description** | **String** | Description of the object | [optional] |
|
11
|
+
| **generate_external_id** | **Boolean** | A unique auto-generated value used in your AWS account when configuring your AWS IAM role to securely delegate access to Akeyless. Relevant only when using GW cloud ID | [optional] |
|
11
12
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
12
13
|
| **keep_prev_version** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
|
13
14
|
| **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,6 +16,7 @@
|
|
15
16
|
| **name** | **String** | Target name | |
|
16
17
|
| **new_name** | **String** | New target name | [optional] |
|
17
18
|
| **region** | **String** | AWS region | [optional][default to 'us-east-2'] |
|
19
|
+
| **role_arn** | **String** | AWS IAM role identifier that Gateway will assume in your AWS account, relevant only when using external ID | [optional] |
|
18
20
|
| **session_token** | **String** | Required only for temporary security credentials retrieved using STS | [optional] |
|
19
21
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
20
22
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
@@ -31,6 +33,7 @@ instance = Akeyless::UpdateAWSTarget.new(
|
|
31
33
|
access_key_id: null,
|
32
34
|
comment: null,
|
33
35
|
description: null,
|
36
|
+
generate_external_id: null,
|
34
37
|
json: null,
|
35
38
|
keep_prev_version: null,
|
36
39
|
key: null,
|
@@ -38,6 +41,7 @@ instance = Akeyless::UpdateAWSTarget.new(
|
|
38
41
|
name: null,
|
39
42
|
new_name: null,
|
40
43
|
region: null,
|
44
|
+
role_arn: null,
|
41
45
|
session_token: null,
|
42
46
|
token: null,
|
43
47
|
uid_token: null,
|
@@ -9,16 +9,20 @@
|
|
9
9
|
| **city** | **String** | City | [optional] |
|
10
10
|
| **company_name** | **String** | Company name | [optional] |
|
11
11
|
| **country** | **String** | Country | [optional] |
|
12
|
+
| **default_certificate_expiration_notification_days** | **Array<String>** | How many days before the expiration of the certificate would you like to be notified. To specify multiple events, use argument multiple times: --default-certificate-expiration-notification-days 1 --default-certificate-expiration-notification-days 5 | [optional] |
|
12
13
|
| **default_key_name** | **String** | Set the account default key based on the DFC key name. Use \"set-original-akeyless-default-key\" to revert to using the original default key of the account. | [optional] |
|
13
14
|
| **default_share_link_ttl_minutes** | **String** | Set the default ttl in minutes for sharing item number between 60 and 43200 | [optional] |
|
14
15
|
| **default_versioning** | **String** | If set to true, new versions is enabled by default | [optional] |
|
15
16
|
| **dp_enable_classic_key_protection** | **String** | Set to update protection with classic keys state [true/false] | [optional] |
|
16
17
|
| **dynamic_secret_max_ttl** | **Integer** | Set the maximum ttl for dynamic secrets | [optional] |
|
17
18
|
| **dynamic_secret_max_ttl_enable** | **String** | Set a maximum ttl for dynamic secrets [true/false] | [optional] |
|
19
|
+
| **enable_default_certificate_expiration_event** | **String** | How many days before the expiration of the certificate would you like to be notified. [true/false] | [optional] |
|
18
20
|
| **enable_item_sharing** | **String** | Enable sharing items [true/false] | [optional] |
|
19
21
|
| **enable_password_expiration** | **String** | Enable password expiration policy [true/false] | [optional] |
|
20
22
|
| **force_new_versions** | **String** | If set to true, new version will be created on update | [optional] |
|
21
23
|
| **gw_bound_ips** | **Array<String>** | A default list of comma-separated CIDR block that acts as a trusted Gateway entity. | [optional] |
|
24
|
+
| **hide_personal_folder** | **String** | Hide personal folder, if set - users will not be able to use personal folder [true/false] | [optional] |
|
25
|
+
| **hide_static_password** | **String** | Hide static secret's password type [true/false] | [optional] |
|
22
26
|
| **invalid_characters** | **String** | Characters that cannot be used for items/targets/roles/auths/event_forwarder names. Empty string will enforce nothing. | [optional][default to 'notReceivedInvalidCharacter'] |
|
23
27
|
| **item_type** | **String** | VersionSettingsObjectType defines object types for account version settings | [optional] |
|
24
28
|
| **items_deletion_protection** | **String** | Set or unset the default behaviour of items deletion protection [true/false] | [optional] |
|
@@ -58,16 +62,20 @@ instance = Akeyless::UpdateAccountSettings.new(
|
|
58
62
|
city: null,
|
59
63
|
company_name: null,
|
60
64
|
country: null,
|
65
|
+
default_certificate_expiration_notification_days: null,
|
61
66
|
default_key_name: null,
|
62
67
|
default_share_link_ttl_minutes: null,
|
63
68
|
default_versioning: null,
|
64
69
|
dp_enable_classic_key_protection: null,
|
65
70
|
dynamic_secret_max_ttl: null,
|
66
71
|
dynamic_secret_max_ttl_enable: null,
|
72
|
+
enable_default_certificate_expiration_event: null,
|
67
73
|
enable_item_sharing: null,
|
68
74
|
enable_password_expiration: null,
|
69
75
|
force_new_versions: null,
|
70
76
|
gw_bound_ips: null,
|
77
|
+
hide_personal_folder: null,
|
78
|
+
hide_static_password: null,
|
71
79
|
invalid_characters: null,
|
72
80
|
item_type: null,
|
73
81
|
items_deletion_protection: null,
|
data/docs/UpdatePKICertIssuer.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
| **add_tag** | **Array<String>** | List of the new tags that will be attached to this item | [optional] |
|
8
8
|
| **allow_any_name** | **Boolean** | If set, clients can request certificates for any CN | [optional] |
|
9
9
|
| **allow_copy_ext_from_csr** | **Boolean** | If set, will allow copying the extra extensions from the csr file (if given) | [optional] |
|
10
|
-
| **allow_subdomains** | **Boolean** | If set, clients can request certificates for subdomains
|
10
|
+
| **allow_subdomains** | **Boolean** | If set, clients can request certificates for subdomains of the allowed domains | [optional] |
|
11
11
|
| **allowed_domains** | **String** | A list of the allowed domains that clients can request to be included in the certificate (in a comma-delimited list) | [optional] |
|
12
12
|
| **allowed_extra_extensions** | **String** | A json string containing the allowed extra extensions for the pki cert issuer | [optional] |
|
13
13
|
| **allowed_ip_sans** | **String** | A list of the allowed CIDRs for ips that clients can request to be included in the certificate as part of the IP Subject Alternative Names (in a comma-delimited list) | [optional] |
|
@@ -22,6 +22,7 @@
|
|
22
22
|
| **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
|
23
23
|
| **description** | **String** | Description of the object | [optional] |
|
24
24
|
| **destination_path** | **String** | A path in which to save generated certificates | [optional] |
|
25
|
+
| **disable_wildcards** | **Boolean** | If set, generation of wildcard certificates will be disabled. | [optional] |
|
25
26
|
| **enable_acme** | **Boolean** | If set, the cert issuer will support the acme protocol | [optional] |
|
26
27
|
| **expiration_event_in** | **Array<String>** | How many days before the expiration of the certificate would you like to be notified. | [optional] |
|
27
28
|
| **gw_cluster_url** | **String** | The GW cluster URL to issue the certificate from. Required in Public CA mode, to allow CRLs on private CA, or to enable ACME | [optional] |
|
@@ -73,6 +74,7 @@ instance = Akeyless::UpdatePKICertIssuer.new(
|
|
73
74
|
delete_protection: null,
|
74
75
|
description: null,
|
75
76
|
destination_path: null,
|
77
|
+
disable_wildcards: null,
|
76
78
|
enable_acme: null,
|
77
79
|
expiration_event_in: null,
|
78
80
|
gw_cluster_url: null,
|
data/docs/UscCreate.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
10
10
|
| **namespace** | **String** | The namespace (relevant for Hashi vault target) | [optional] |
|
11
11
|
| **object_type** | **String** | | [optional] |
|
12
|
+
| **pfx_password** | **String** | Optional, the passphrase that protects the private key within the pfx certificate (Relevant only for Azure KV certificates) | [optional] |
|
12
13
|
| **secret_name** | **String** | Name for the new universal secrets | |
|
13
14
|
| **tags** | **Hash<String, String>** | Tags for the universal secrets | [optional] |
|
14
15
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
@@ -27,6 +28,7 @@ instance = Akeyless::UscCreate.new(
|
|
27
28
|
json: null,
|
28
29
|
namespace: null,
|
29
30
|
object_type: null,
|
31
|
+
pfx_password: null,
|
30
32
|
secret_name: null,
|
31
33
|
tags: null,
|
32
34
|
token: null,
|
data/docs/UscSyncInfo.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Akeyless::UscSyncInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **jq_secret_filter** | **String** | | [optional] |
|
8
|
+
| **last_error** | **String** | | [optional] |
|
9
|
+
| **namespace** | **String** | | [optional] |
|
10
|
+
| **secret_id** | **String** | | [optional] |
|
11
|
+
| **secret_name** | **String** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'akeyless'
|
17
|
+
|
18
|
+
instance = Akeyless::UscSyncInfo.new(
|
19
|
+
jq_secret_filter: null,
|
20
|
+
last_error: null,
|
21
|
+
namespace: null,
|
22
|
+
secret_id: null,
|
23
|
+
secret_name: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
data/docs/UscUpdate.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **description** | **String** | Description of the universal secrets | [optional] |
|
9
9
|
| **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
|
10
10
|
| **namespace** | **String** | The namespace (relevant for Hashi vault target) | [optional] |
|
11
|
+
| **pfx_password** | **String** | Optional, the passphrase that protects the private key within the pfx certificate (Relevant only for Azure KV certificates) | [optional] |
|
11
12
|
| **secret_id** | **String** | The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to update | |
|
12
13
|
| **tags** | **Hash<String, String>** | Tags for the universal secrets | [optional] |
|
13
14
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
@@ -25,6 +26,7 @@ instance = Akeyless::UscUpdate.new(
|
|
25
26
|
description: null,
|
26
27
|
json: null,
|
27
28
|
namespace: null,
|
29
|
+
pfx_password: null,
|
28
30
|
secret_id: null,
|
29
31
|
tags: null,
|
30
32
|
token: null,
|
data/docs/V2Api.md
CHANGED
@@ -438,6 +438,8 @@ All URIs are relative to *https://api.akeyless.io*
|
|
438
438
|
| [**sign_pki_cert_with_classic_key**](V2Api.md#sign_pki_cert_with_classic_key) | **POST** /sign-pki-cert-with-classic-key | |
|
439
439
|
| [**sign_rsa_ssa_pss**](V2Api.md#sign_rsa_ssa_pss) | **POST** /sign-rsassa-pss | |
|
440
440
|
| [**static_creds_auth**](V2Api.md#static_creds_auth) | **POST** /static-creds-auth | |
|
441
|
+
| [**static_secret_delete_sync**](V2Api.md#static_secret_delete_sync) | **POST** /static-secret-delete-sync | |
|
442
|
+
| [**static_secret_sync**](V2Api.md#static_secret_sync) | **POST** /static-secret-sync | |
|
441
443
|
| [**target_create_artifactory**](V2Api.md#target_create_artifactory) | **POST** /target-create-artifactory | |
|
442
444
|
| [**target_create_aws**](V2Api.md#target_create_aws) | **POST** /target-create-aws | |
|
443
445
|
| [**target_create_azure**](V2Api.md#target_create_azure) | **POST** /target-create-azure | |
|
@@ -25463,7 +25465,7 @@ No authorization required
|
|
25463
25465
|
|
25464
25466
|
## rotated_secret_delete_sync
|
25465
25467
|
|
25466
|
-
>
|
25468
|
+
> <RotatedSecretDeleteSyncOutput> rotated_secret_delete_sync(rotated_secret_delete_sync)
|
25467
25469
|
|
25468
25470
|
|
25469
25471
|
|
@@ -25489,7 +25491,7 @@ end
|
|
25489
25491
|
|
25490
25492
|
This returns an Array which contains the response data, status code and headers.
|
25491
25493
|
|
25492
|
-
> <Array(
|
25494
|
+
> <Array(<RotatedSecretDeleteSyncOutput>, Integer, Hash)> rotated_secret_delete_sync_with_http_info(rotated_secret_delete_sync)
|
25493
25495
|
|
25494
25496
|
```ruby
|
25495
25497
|
begin
|
@@ -25497,7 +25499,7 @@ begin
|
|
25497
25499
|
data, status_code, headers = api_instance.rotated_secret_delete_sync_with_http_info(rotated_secret_delete_sync)
|
25498
25500
|
p status_code # => 2xx
|
25499
25501
|
p headers # => { ... }
|
25500
|
-
p data # =>
|
25502
|
+
p data # => <RotatedSecretDeleteSyncOutput>
|
25501
25503
|
rescue Akeyless::ApiError => e
|
25502
25504
|
puts "Error when calling V2Api->rotated_secret_delete_sync_with_http_info: #{e}"
|
25503
25505
|
end
|
@@ -25511,7 +25513,7 @@ end
|
|
25511
25513
|
|
25512
25514
|
### Return type
|
25513
25515
|
|
25514
|
-
**
|
25516
|
+
[**RotatedSecretDeleteSyncOutput**](RotatedSecretDeleteSyncOutput.md)
|
25515
25517
|
|
25516
25518
|
### Authorization
|
25517
25519
|
|
@@ -27507,6 +27509,130 @@ No authorization required
|
|
27507
27509
|
- **Accept**: application/json
|
27508
27510
|
|
27509
27511
|
|
27512
|
+
## static_secret_delete_sync
|
27513
|
+
|
27514
|
+
> <StaticSecretDeleteSyncOutput> static_secret_delete_sync(static_secret_delete_sync)
|
27515
|
+
|
27516
|
+
|
27517
|
+
|
27518
|
+
### Examples
|
27519
|
+
|
27520
|
+
```ruby
|
27521
|
+
require 'time'
|
27522
|
+
require 'akeyless'
|
27523
|
+
|
27524
|
+
api_instance = Akeyless::V2Api.new
|
27525
|
+
static_secret_delete_sync = Akeyless::StaticSecretDeleteSync.new({name: 'name_example', usc_name: 'usc_name_example'}) # StaticSecretDeleteSync |
|
27526
|
+
|
27527
|
+
begin
|
27528
|
+
|
27529
|
+
result = api_instance.static_secret_delete_sync(static_secret_delete_sync)
|
27530
|
+
p result
|
27531
|
+
rescue Akeyless::ApiError => e
|
27532
|
+
puts "Error when calling V2Api->static_secret_delete_sync: #{e}"
|
27533
|
+
end
|
27534
|
+
```
|
27535
|
+
|
27536
|
+
#### Using the static_secret_delete_sync_with_http_info variant
|
27537
|
+
|
27538
|
+
This returns an Array which contains the response data, status code and headers.
|
27539
|
+
|
27540
|
+
> <Array(<StaticSecretDeleteSyncOutput>, Integer, Hash)> static_secret_delete_sync_with_http_info(static_secret_delete_sync)
|
27541
|
+
|
27542
|
+
```ruby
|
27543
|
+
begin
|
27544
|
+
|
27545
|
+
data, status_code, headers = api_instance.static_secret_delete_sync_with_http_info(static_secret_delete_sync)
|
27546
|
+
p status_code # => 2xx
|
27547
|
+
p headers # => { ... }
|
27548
|
+
p data # => <StaticSecretDeleteSyncOutput>
|
27549
|
+
rescue Akeyless::ApiError => e
|
27550
|
+
puts "Error when calling V2Api->static_secret_delete_sync_with_http_info: #{e}"
|
27551
|
+
end
|
27552
|
+
```
|
27553
|
+
|
27554
|
+
### Parameters
|
27555
|
+
|
27556
|
+
| Name | Type | Description | Notes |
|
27557
|
+
| ---- | ---- | ----------- | ----- |
|
27558
|
+
| **static_secret_delete_sync** | [**StaticSecretDeleteSync**](StaticSecretDeleteSync.md) | | |
|
27559
|
+
|
27560
|
+
### Return type
|
27561
|
+
|
27562
|
+
[**StaticSecretDeleteSyncOutput**](StaticSecretDeleteSyncOutput.md)
|
27563
|
+
|
27564
|
+
### Authorization
|
27565
|
+
|
27566
|
+
No authorization required
|
27567
|
+
|
27568
|
+
### HTTP request headers
|
27569
|
+
|
27570
|
+
- **Content-Type**: application/json
|
27571
|
+
- **Accept**: application/json
|
27572
|
+
|
27573
|
+
|
27574
|
+
## static_secret_sync
|
27575
|
+
|
27576
|
+
> <SecretSyncOutput> static_secret_sync(static_secret_sync)
|
27577
|
+
|
27578
|
+
|
27579
|
+
|
27580
|
+
### Examples
|
27581
|
+
|
27582
|
+
```ruby
|
27583
|
+
require 'time'
|
27584
|
+
require 'akeyless'
|
27585
|
+
|
27586
|
+
api_instance = Akeyless::V2Api.new
|
27587
|
+
static_secret_sync = Akeyless::StaticSecretSync.new({name: 'name_example'}) # StaticSecretSync |
|
27588
|
+
|
27589
|
+
begin
|
27590
|
+
|
27591
|
+
result = api_instance.static_secret_sync(static_secret_sync)
|
27592
|
+
p result
|
27593
|
+
rescue Akeyless::ApiError => e
|
27594
|
+
puts "Error when calling V2Api->static_secret_sync: #{e}"
|
27595
|
+
end
|
27596
|
+
```
|
27597
|
+
|
27598
|
+
#### Using the static_secret_sync_with_http_info variant
|
27599
|
+
|
27600
|
+
This returns an Array which contains the response data, status code and headers.
|
27601
|
+
|
27602
|
+
> <Array(<SecretSyncOutput>, Integer, Hash)> static_secret_sync_with_http_info(static_secret_sync)
|
27603
|
+
|
27604
|
+
```ruby
|
27605
|
+
begin
|
27606
|
+
|
27607
|
+
data, status_code, headers = api_instance.static_secret_sync_with_http_info(static_secret_sync)
|
27608
|
+
p status_code # => 2xx
|
27609
|
+
p headers # => { ... }
|
27610
|
+
p data # => <SecretSyncOutput>
|
27611
|
+
rescue Akeyless::ApiError => e
|
27612
|
+
puts "Error when calling V2Api->static_secret_sync_with_http_info: #{e}"
|
27613
|
+
end
|
27614
|
+
```
|
27615
|
+
|
27616
|
+
### Parameters
|
27617
|
+
|
27618
|
+
| Name | Type | Description | Notes |
|
27619
|
+
| ---- | ---- | ----------- | ----- |
|
27620
|
+
| **static_secret_sync** | [**StaticSecretSync**](StaticSecretSync.md) | | |
|
27621
|
+
|
27622
|
+
### Return type
|
27623
|
+
|
27624
|
+
[**SecretSyncOutput**](SecretSyncOutput.md)
|
27625
|
+
|
27626
|
+
### Authorization
|
27627
|
+
|
27628
|
+
No authorization required
|
27629
|
+
|
27630
|
+
### HTTP request headers
|
27631
|
+
|
27632
|
+
- **Content-Type**: application/json
|
27633
|
+
- **Accept**: application/json
|
27634
|
+
|
27635
|
+
|
27510
27636
|
## target_create_artifactory
|
27511
27637
|
|
27512
27638
|
> <TargetCreateOutput> target_create_artifactory(target_create_artifactory)
|
data/lib/akeyless/api/v2_api.rb
CHANGED
@@ -25576,7 +25576,7 @@ module Akeyless
|
|
25576
25576
|
|
25577
25577
|
# @param rotated_secret_delete_sync [RotatedSecretDeleteSync]
|
25578
25578
|
# @param [Hash] opts the optional parameters
|
25579
|
-
# @return [
|
25579
|
+
# @return [RotatedSecretDeleteSyncOutput]
|
25580
25580
|
def rotated_secret_delete_sync(rotated_secret_delete_sync, opts = {})
|
25581
25581
|
data, _status_code, _headers = rotated_secret_delete_sync_with_http_info(rotated_secret_delete_sync, opts)
|
25582
25582
|
data
|
@@ -25584,7 +25584,7 @@ module Akeyless
|
|
25584
25584
|
|
25585
25585
|
# @param rotated_secret_delete_sync [RotatedSecretDeleteSync]
|
25586
25586
|
# @param [Hash] opts the optional parameters
|
25587
|
-
# @return [Array<(
|
25587
|
+
# @return [Array<(RotatedSecretDeleteSyncOutput, Integer, Hash)>] RotatedSecretDeleteSyncOutput data, response status code and response headers
|
25588
25588
|
def rotated_secret_delete_sync_with_http_info(rotated_secret_delete_sync, opts = {})
|
25589
25589
|
if @api_client.config.debugging
|
25590
25590
|
@api_client.config.logger.debug 'Calling API: V2Api.rotated_secret_delete_sync ...'
|
@@ -25616,7 +25616,7 @@ module Akeyless
|
|
25616
25616
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(rotated_secret_delete_sync)
|
25617
25617
|
|
25618
25618
|
# return_type
|
25619
|
-
return_type = opts[:debug_return_type] || '
|
25619
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretDeleteSyncOutput'
|
25620
25620
|
|
25621
25621
|
# auth_names
|
25622
25622
|
auth_names = opts[:debug_auth_names] || []
|
@@ -27686,6 +27686,134 @@ module Akeyless
|
|
27686
27686
|
return data, status_code, headers
|
27687
27687
|
end
|
27688
27688
|
|
27689
|
+
# @param static_secret_delete_sync [StaticSecretDeleteSync]
|
27690
|
+
# @param [Hash] opts the optional parameters
|
27691
|
+
# @return [StaticSecretDeleteSyncOutput]
|
27692
|
+
def static_secret_delete_sync(static_secret_delete_sync, opts = {})
|
27693
|
+
data, _status_code, _headers = static_secret_delete_sync_with_http_info(static_secret_delete_sync, opts)
|
27694
|
+
data
|
27695
|
+
end
|
27696
|
+
|
27697
|
+
# @param static_secret_delete_sync [StaticSecretDeleteSync]
|
27698
|
+
# @param [Hash] opts the optional parameters
|
27699
|
+
# @return [Array<(StaticSecretDeleteSyncOutput, Integer, Hash)>] StaticSecretDeleteSyncOutput data, response status code and response headers
|
27700
|
+
def static_secret_delete_sync_with_http_info(static_secret_delete_sync, opts = {})
|
27701
|
+
if @api_client.config.debugging
|
27702
|
+
@api_client.config.logger.debug 'Calling API: V2Api.static_secret_delete_sync ...'
|
27703
|
+
end
|
27704
|
+
# verify the required parameter 'static_secret_delete_sync' is set
|
27705
|
+
if @api_client.config.client_side_validation && static_secret_delete_sync.nil?
|
27706
|
+
fail ArgumentError, "Missing the required parameter 'static_secret_delete_sync' when calling V2Api.static_secret_delete_sync"
|
27707
|
+
end
|
27708
|
+
# resource path
|
27709
|
+
local_var_path = '/static-secret-delete-sync'
|
27710
|
+
|
27711
|
+
# query parameters
|
27712
|
+
query_params = opts[:query_params] || {}
|
27713
|
+
|
27714
|
+
# header parameters
|
27715
|
+
header_params = opts[:header_params] || {}
|
27716
|
+
# HTTP header 'Accept' (if needed)
|
27717
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
27718
|
+
# HTTP header 'Content-Type'
|
27719
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
27720
|
+
if !content_type.nil?
|
27721
|
+
header_params['Content-Type'] = content_type
|
27722
|
+
end
|
27723
|
+
|
27724
|
+
# form parameters
|
27725
|
+
form_params = opts[:form_params] || {}
|
27726
|
+
|
27727
|
+
# http body (model)
|
27728
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(static_secret_delete_sync)
|
27729
|
+
|
27730
|
+
# return_type
|
27731
|
+
return_type = opts[:debug_return_type] || 'StaticSecretDeleteSyncOutput'
|
27732
|
+
|
27733
|
+
# auth_names
|
27734
|
+
auth_names = opts[:debug_auth_names] || []
|
27735
|
+
|
27736
|
+
new_options = opts.merge(
|
27737
|
+
:operation => :"V2Api.static_secret_delete_sync",
|
27738
|
+
:header_params => header_params,
|
27739
|
+
:query_params => query_params,
|
27740
|
+
:form_params => form_params,
|
27741
|
+
:body => post_body,
|
27742
|
+
:auth_names => auth_names,
|
27743
|
+
:return_type => return_type
|
27744
|
+
)
|
27745
|
+
|
27746
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
27747
|
+
if @api_client.config.debugging
|
27748
|
+
@api_client.config.logger.debug "API called: V2Api#static_secret_delete_sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
27749
|
+
end
|
27750
|
+
return data, status_code, headers
|
27751
|
+
end
|
27752
|
+
|
27753
|
+
# @param static_secret_sync [StaticSecretSync]
|
27754
|
+
# @param [Hash] opts the optional parameters
|
27755
|
+
# @return [SecretSyncOutput]
|
27756
|
+
def static_secret_sync(static_secret_sync, opts = {})
|
27757
|
+
data, _status_code, _headers = static_secret_sync_with_http_info(static_secret_sync, opts)
|
27758
|
+
data
|
27759
|
+
end
|
27760
|
+
|
27761
|
+
# @param static_secret_sync [StaticSecretSync]
|
27762
|
+
# @param [Hash] opts the optional parameters
|
27763
|
+
# @return [Array<(SecretSyncOutput, Integer, Hash)>] SecretSyncOutput data, response status code and response headers
|
27764
|
+
def static_secret_sync_with_http_info(static_secret_sync, opts = {})
|
27765
|
+
if @api_client.config.debugging
|
27766
|
+
@api_client.config.logger.debug 'Calling API: V2Api.static_secret_sync ...'
|
27767
|
+
end
|
27768
|
+
# verify the required parameter 'static_secret_sync' is set
|
27769
|
+
if @api_client.config.client_side_validation && static_secret_sync.nil?
|
27770
|
+
fail ArgumentError, "Missing the required parameter 'static_secret_sync' when calling V2Api.static_secret_sync"
|
27771
|
+
end
|
27772
|
+
# resource path
|
27773
|
+
local_var_path = '/static-secret-sync'
|
27774
|
+
|
27775
|
+
# query parameters
|
27776
|
+
query_params = opts[:query_params] || {}
|
27777
|
+
|
27778
|
+
# header parameters
|
27779
|
+
header_params = opts[:header_params] || {}
|
27780
|
+
# HTTP header 'Accept' (if needed)
|
27781
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
27782
|
+
# HTTP header 'Content-Type'
|
27783
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
27784
|
+
if !content_type.nil?
|
27785
|
+
header_params['Content-Type'] = content_type
|
27786
|
+
end
|
27787
|
+
|
27788
|
+
# form parameters
|
27789
|
+
form_params = opts[:form_params] || {}
|
27790
|
+
|
27791
|
+
# http body (model)
|
27792
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(static_secret_sync)
|
27793
|
+
|
27794
|
+
# return_type
|
27795
|
+
return_type = opts[:debug_return_type] || 'SecretSyncOutput'
|
27796
|
+
|
27797
|
+
# auth_names
|
27798
|
+
auth_names = opts[:debug_auth_names] || []
|
27799
|
+
|
27800
|
+
new_options = opts.merge(
|
27801
|
+
:operation => :"V2Api.static_secret_sync",
|
27802
|
+
:header_params => header_params,
|
27803
|
+
:query_params => query_params,
|
27804
|
+
:form_params => form_params,
|
27805
|
+
:body => post_body,
|
27806
|
+
:auth_names => auth_names,
|
27807
|
+
:return_type => return_type
|
27808
|
+
)
|
27809
|
+
|
27810
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
27811
|
+
if @api_client.config.debugging
|
27812
|
+
@api_client.config.logger.debug "API called: V2Api#static_secret_sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
27813
|
+
end
|
27814
|
+
return data, status_code, headers
|
27815
|
+
end
|
27816
|
+
|
27689
27817
|
# @param target_create_artifactory [TargetCreateArtifactory]
|
27690
27818
|
# @param [Hash] opts the optional parameters
|
27691
27819
|
# @return [TargetCreateOutput]
|