Skip to content

Commit 1bc2eff

Browse files
committed
"Release v5.0.20"
1 parent 2c9c460 commit 1bc2eff

25 files changed

Lines changed: 435 additions & 31 deletions

.openapi-generator/FILES

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,10 +2324,3 @@ src/main/java/io/akeyless/client/model/WindowsService.java
23242324
src/main/java/io/akeyless/client/model/WindowsServiceAttributes.java
23252325
src/main/java/io/akeyless/client/model/WindowsTargetDetails.java
23262326
src/main/java/io/akeyless/client/model/ZeroSSLTargetDetails.java
2327-
src/test/java/io/akeyless/client/model/CertificateDiscoveryOutputTest.java
2328-
src/test/java/io/akeyless/client/model/CertificateDiscoveryTest.java
2329-
src/test/java/io/akeyless/client/model/CertificateMigrationTest.java
2330-
src/test/java/io/akeyless/client/model/CertificatePayloadTest.java
2331-
src/test/java/io/akeyless/client/model/CertificateScanTargetTest.java
2332-
src/test/java/io/akeyless/client/model/ScanResultsTest.java
2333-
src/test/java/io/akeyless/client/model/TargetErrorTest.java

api/openapi.yaml

Lines changed: 87 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22052,14 +22052,19 @@ components:
2205222052
api_token_ttl: api_token_ttl
2205322053
enable_tls: true
2205422054
enable_tls_curl: true
22055+
tls_cert_expiration_events:
22056+
- seconds_before: 1
22057+
- seconds_before: 1
2205522058
tls_key: tls_key
2205622059
enable_tls_configure: true
2205722060
tls_cert: tls_cert
2205822061
akeyless_url: akeyless_url
2205922062
display_name: display_name
22063+
tls_cert_expiration_date: 2000-01-23T04:56:07.000+00:00
2206022064
gw_cluster_url: gw_cluster_url
2206122065
enable_tls_hvp: true
2206222066
notify_on_status_change: true
22067+
tls_cert_common_name: tls_cert_common_name
2206322068
enable_sni_proxy: true
2206422069
hvp_route_version: 1
2206522070
ldap:
@@ -22474,11 +22479,17 @@ components:
2247422479
gcp_credentials_json: gcp_credentials_json
2247522480
ca_certificates:
2247622481
certificate_store:
22477-
- certificate_pem: certificate_pem
22482+
- expiration_events:
22483+
- seconds_before: 1
22484+
- seconds_before: 1
22485+
certificate_pem: certificate_pem
2247822486
name: name
2247922487
common_name: common_name
2248022488
expiration_date: 2000-01-23T04:56:07.000+00:00
22481-
- certificate_pem: certificate_pem
22489+
- expiration_events:
22490+
- seconds_before: 1
22491+
- seconds_before: 1
22492+
certificate_pem: certificate_pem
2248222493
name: name
2248322494
common_name: common_name
2248422495
expiration_date: 2000-01-23T04:56:07.000+00:00
@@ -24812,11 +24823,17 @@ components:
2481224823
CaCertificatesConfigPart:
2481324824
example:
2481424825
certificate_store:
24815-
- certificate_pem: certificate_pem
24826+
- expiration_events:
24827+
- seconds_before: 1
24828+
- seconds_before: 1
24829+
certificate_pem: certificate_pem
2481624830
name: name
2481724831
common_name: common_name
2481824832
expiration_date: 2000-01-23T04:56:07.000+00:00
24819-
- certificate_pem: certificate_pem
24833+
- expiration_events:
24834+
- seconds_before: 1
24835+
- seconds_before: 1
24836+
certificate_pem: certificate_pem
2482024837
name: name
2482124838
common_name: common_name
2482224839
expiration_date: 2000-01-23T04:56:07.000+00:00
@@ -25809,6 +25826,9 @@ components:
2580925826
x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types
2581025827
CertificateStore:
2581125828
example:
25829+
expiration_events:
25830+
- seconds_before: 1
25831+
- seconds_before: 1
2581225832
certificate_pem: certificate_pem
2581325833
name: name
2581425834
common_name: common_name
@@ -25824,6 +25844,11 @@ components:
2582425844
format: date-time
2582525845
type: string
2582625846
x-go-name: ExpirationDate
25847+
expiration_events:
25848+
items:
25849+
$ref: '#/components/schemas/CertificateExpirationEvent'
25850+
type: array
25851+
x-go-name: ExpirationEvents
2582725852
name:
2582825853
type: string
2582925854
x-go-name: Name
@@ -27276,6 +27301,7 @@ components:
2727627301
description: CreateUSC is a command that creates a Universal Secrets Connector
2727727302
example:
2727827303
target-to-associate: target-to-associate
27304+
gcp-sm-regions: gcp-sm-regions
2727927305
use-prefix-as-filter: "false"
2728027306
description: description
2728127307
usc-prefix: usc-prefix
@@ -27309,6 +27335,12 @@ components:
2730927335
description: GCP Project ID (Relevant only for GCP targets)
2731027336
type: string
2731127337
x-go-name: GcpProjectId
27338+
gcp-sm-regions:
27339+
description: |-
27340+
GCP Secret Manager regions to query for regional secrets (comma-separated, e.g., us-east1,us-west1). Max 12 regions.
27341+
Required when listing with object-type=regional-secrets.
27342+
type: string
27343+
x-go-name: GcpSmRegions
2731227344
item-custom-fields:
2731327345
additionalProperties:
2731427346
type: string
@@ -29380,6 +29412,7 @@ components:
2938029412
name: name
2938129413
expiration: 2000-01-23T04:56:07.000+00:00
2938229414
location: ""
29415+
region: region
2938329416
status: true
2938429417
- secret_id: secret_id
2938529418
key_id: key_id
@@ -29394,6 +29427,7 @@ components:
2939429427
name: name
2939529428
expiration: 2000-01-23T04:56:07.000+00:00
2939629429
location: ""
29430+
region: region
2939729431
status: true
2939829432
properties:
2939929433
secrets_list:
@@ -30051,6 +30085,9 @@ components:
3005130085
description: gatewayUpdateTlsCert is a command that updates Gateway TLS certificate
3005230086
example:
3005330087
json: false
30088+
expiration-event-in:
30089+
- expiration-event-in
30090+
- expiration-event-in
3005430091
cert-data: cert-data
3005530092
key-data: key-data
3005630093
uid-token: uid-token
@@ -30060,6 +30097,13 @@ components:
3006030097
description: TLS Certificate (base64 encoded)
3006130098
type: string
3006230099
x-go-name: CertData
30100+
expiration-event-in:
30101+
description: How many days before the expiration of the certificate would
30102+
you like to be notified.
30103+
items:
30104+
type: string
30105+
type: array
30106+
x-go-name: ExpirationEventsInDays
3006330107
json:
3006430108
default: false
3006530109
description: Set output format to JSON
@@ -30210,14 +30254,19 @@ components:
3021030254
api_token_ttl: api_token_ttl
3021130255
enable_tls: true
3021230256
enable_tls_curl: true
30257+
tls_cert_expiration_events:
30258+
- seconds_before: 1
30259+
- seconds_before: 1
3021330260
tls_key: tls_key
3021430261
enable_tls_configure: true
3021530262
tls_cert: tls_cert
3021630263
akeyless_url: akeyless_url
3021730264
display_name: display_name
30265+
tls_cert_expiration_date: 2000-01-23T04:56:07.000+00:00
3021830266
gw_cluster_url: gw_cluster_url
3021930267
enable_tls_hvp: true
3022030268
notify_on_status_change: true
30269+
tls_cert_common_name: tls_cert_common_name
3022130270
enable_sni_proxy: true
3022230271
hvp_route_version: 1
3022330272
properties:
@@ -30267,6 +30316,18 @@ components:
3026730316
tls_cert:
3026830317
type: string
3026930318
x-go-name: TLSCert
30319+
tls_cert_common_name:
30320+
type: string
30321+
x-go-name: TlsCertCommonName
30322+
tls_cert_expiration_date:
30323+
format: date-time
30324+
type: string
30325+
x-go-name: TlsCertExpirationDate
30326+
tls_cert_expiration_events:
30327+
items:
30328+
$ref: '#/components/schemas/CertificateExpirationEvent'
30329+
type: array
30330+
x-go-name: TlsCertExpirationEvents
3027030331
tls_key:
3027130332
type: string
3027230333
x-go-name: TLSKey
@@ -30729,8 +30790,8 @@ components:
3072930790
extended-key-usage:
3073030791
description: "A comma-separated list of extended key usage requests which\
3073130792
\ will be used for certificate issuance. Supported values: 'clientauth',\
30732-
\ 'serverauth'. If critical is present the extension will be marked as\
30733-
\ critical"
30793+
\ 'serverauth', 'codesigning'. If critical is present the extension will\
30794+
\ be marked as critical"
3073430795
type: string
3073530796
x-go-name: ExtKeyUsage
3073630797
extra-extensions:
@@ -43568,6 +43629,7 @@ components:
4356843629
name: name
4356943630
expiration: 2000-01-23T04:56:07.000+00:00
4357043631
location: ""
43632+
region: region
4357143633
status: true
4357243634
properties:
4357343635
created:
@@ -43593,6 +43655,9 @@ components:
4359343655
name:
4359443656
type: string
4359543657
x-go-name: Name
43658+
region:
43659+
type: string
43660+
x-go-name: Region
4359643661
secret_id:
4359743662
type: string
4359843663
x-go-name: SecretId
@@ -45903,6 +45968,7 @@ components:
4590345968
name: name
4590445969
expiration: 2000-01-23T04:56:07.000+00:00
4590545970
location: ""
45971+
region: region
4590645972
status: true
4590745973
- secret_id: secret_id
4590845974
key_id: key_id
@@ -45917,6 +45983,7 @@ components:
4591745983
name: name
4591845984
expiration: 2000-01-23T04:56:07.000+00:00
4591945985
location: ""
45986+
region: region
4592045987
status: true
4592145988
properties:
4592245989
secrets_list:
@@ -98853,8 +98920,8 @@ components:
9885398920
extended-key-usage:
9885498921
description: "A comma-separated list of extended key usage requests which\
9885598922
\ will be used for certificate issuance. Supported values: 'clientauth',\
98856-
\ 'serverauth'. If critical is present the extension will be marked as\
98857-
\ critical"
98923+
\ 'serverauth', 'codesigning'. If critical is present the extension will\
98924+
\ be marked as critical"
9885898925
type: string
9885998926
x-go-name: ExtKeyUsage
9886098927
extra-extensions:
@@ -115734,6 +115801,12 @@ components:
115734115801
type: string
115735115802
type: array
115736115803
x-go-name: ExpirationEventsInDays
115804+
gcp-sm-regions:
115805+
description: |-
115806+
GCP Secret Manager regions to query for regional secrets (comma-separated, e.g., us-east1,us-west1). Max 12 regions.
115807+
USC with GCP targets only.
115808+
type: string
115809+
x-go-name: GcpSmRegions
115737115810
host-provider:
115738115811
description: "Host provider type [explicit/target], Default Host provider\
115739115812
\ is explicit, Relevant only for Secure Remote Access of ssh cert issuer,\
@@ -118106,6 +118179,12 @@ components:
118106118179
\ the pfx certificate (Relevant only for Azure KV certificates)"
118107118180
type: string
118108118181
x-go-name: PfxPassword
118182+
region:
118183+
description: |-
118184+
Optional, create secret in a specific region (GCP only).
118185+
If empty, a global secret will be created (provider default).
118186+
type: string
118187+
x-go-name: Region
118109118188
secret-name:
118110118189
description: Name for the new universal secrets
118111118190
type: string

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'io.akeyless'
7-
version = '5.0.19'
7+
version = '5.0.20'
88

99
buildscript {
1010
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "io.akeyless",
44
name := "akeyless-java",
5-
version := "5.0.19",
5+
version := "5.0.20",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/CertificateStore.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
|**certificatePem** | **String** | | [optional] |
1111
|**commonName** | **String** | | [optional] |
1212
|**expirationDate** | **OffsetDateTime** | | [optional] |
13+
|**expirationEvents** | [**List<CertificateExpirationEvent>**](CertificateExpirationEvent.md) | | [optional] |
1314
|**name** | **String** | | [optional] |
1415

1516

docs/CreateUSC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CreateUSC is a command that creates a Universal Secrets Connector
1212
|**deleteProtection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
1313
|**description** | **String** | Description of the Universal Secrets Connector | [optional] |
1414
|**gcpProjectId** | **String** | GCP Project ID (Relevant only for GCP targets) | [optional] |
15+
|**gcpSmRegions** | **String** | GCP Secret Manager regions to query for regional secrets (comma-separated, e.g., us-east1,us-west1). Max 12 regions. Required when listing with object-type=regional-secrets. | [optional] |
1516
|**itemCustomFields** | **Map<String, String>** | Additional custom fields to associate with the item | [optional] |
1617
|**json** | **Boolean** | Set output format to JSON | [optional] |
1718
|**k8sNamespace** | **String** | K8s namespace (Relevant to Kubernetes targets) | [optional] |

docs/GatewayUpdateTlsCert.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ gatewayUpdateTlsCert is a command that updates Gateway TLS certificate
99
| Name | Type | Description | Notes |
1010
|------------ | ------------- | ------------- | -------------|
1111
|**certData** | **String** | TLS Certificate (base64 encoded) | [optional] |
12+
|**expirationEventIn** | **List<String>** | How many days before the expiration of the certificate would you like to be notified. | [optional] |
1213
|**json** | **Boolean** | Set output format to JSON | [optional] |
1314
|**keyData** | **String** | TLS Private Key (base64 encoded) | [optional] |
1415
|**token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |

docs/GeneralConfigPart.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
|**notifyOnStatusChange** | **Boolean** | | [optional] |
2121
|**tcpPort** | **String** | | [optional] |
2222
|**tlsCert** | **String** | | [optional] |
23+
|**tlsCertCommonName** | **String** | | [optional] |
24+
|**tlsCertExpirationDate** | **OffsetDateTime** | | [optional] |
25+
|**tlsCertExpirationEvents** | [**List<CertificateExpirationEvent>**](CertificateExpirationEvent.md) | | [optional] |
2326
|**tlsKey** | **String** | | [optional] |
2427

2528

docs/GetKubeExecCreds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ getKubeExecCreds is a command that gets credentials for authentication with Kube
1313
|**certIssuerName** | **String** | The name of the PKI certificate issuer | |
1414
|**commonName** | **String** | The common name to be included in the PKI certificate (if CSR is supplied this flag is ignored and the CSR subject CN is taken) | [optional] |
1515
|**csrDataBase64** | **String** | Certificate Signing Request contents encoded in base64 to generate the certificate with | [optional] |
16-
|**extendedKeyUsage** | **String** | A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'. If critical is present the extension will be marked as critical | [optional] |
16+
|**extendedKeyUsage** | **String** | A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'. If critical is present the extension will be marked as critical | [optional] |
1717
|**extraExtensions** | **String** | A json string that defines the requested extra extensions for the certificate | [optional] |
1818
|**json** | **Boolean** | Set output format to JSON | [optional] |
1919
|**keyDataBase64** | **String** | PKI key file contents. If this option is used, the certificate will be printed to stdout | [optional] |

docs/GetPKICertificate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
|**certIssuerName** | **String** | The name of the PKI certificate issuer | |
1212
|**commonName** | **String** | The common name to be included in the PKI certificate (if CSR is supplied this flag is ignored and the CSR subject CN is taken) | [optional] |
1313
|**csrDataBase64** | **String** | Certificate Signing Request contents encoded in base64 to generate the certificate with | [optional] |
14-
|**extendedKeyUsage** | **String** | A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'. If critical is present the extension will be marked as critical | [optional] |
14+
|**extendedKeyUsage** | **String** | A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'. If critical is present the extension will be marked as critical | [optional] |
1515
|**extraExtensions** | **String** | A json string that defines the requested extra extensions for the certificate | [optional] |
1616
|**json** | **Boolean** | Set output format to JSON | [optional] |
1717
|**keyDataBase64** | **String** | PKI key file contents. If this option is used, the certificate will be printed to stdout | [optional] |

0 commit comments

Comments
 (0)