Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview change from Vault PR #199

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api_identity.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 7 additions & 9 deletions api_system.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/GenerateHashRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Name | Type | Description | Notes
**Algorithm** | Pointer to **string** | Algorithm to use (POST body parameter). Valid values are: * sha2-224 * sha2-256 * sha2-384 * sha2-512 Defaults to \"sha2-256\". | [optional] [default to "sha2-256"]
**Format** | Pointer to **string** | Encoding format to use. Can be \"hex\" or \"base64\". Defaults to \"hex\". | [optional] [default to "hex"]
**Input** | Pointer to **string** | The base64-encoded input data | [optional]
**Urlalgorithm** | Pointer to **string** | Algorithm to use (POST URL parameter) | [optional]



Expand Down
2 changes: 0 additions & 2 deletions docs/GenerateRandomRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bytes** | Pointer to **int32** | The number of bytes to generate (POST body parameter). Defaults to 32 (256 bits). | [optional] [default to 32]
**Format** | Pointer to **string** | Encoding format to use. Can be \"hex\" or \"base64\". Defaults to \"base64\". | [optional] [default to "base64"]
**Source** | Pointer to **string** | Which system to source random data from, ether \"platform\", \"seal\", or \"all\". | [optional] [default to "platform"]
**Urlbytes** | Pointer to **string** | The number of bytes to generate (POST URL parameter) | [optional]



Expand Down
1 change: 0 additions & 1 deletion docs/GenerateRandomWithBytesRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bytes** | Pointer to **int32** | The number of bytes to generate (POST body parameter). Defaults to 32 (256 bits). | [optional] [default to 32]
**Format** | Pointer to **string** | Encoding format to use. Can be \"hex\" or \"base64\". Defaults to \"base64\". | [optional] [default to "base64"]
**Source** | Pointer to **string** | Which system to source random data from, ether \"platform\", \"seal\", or \"all\". | [optional] [default to "platform"]



Expand Down
1 change: 0 additions & 1 deletion docs/GenerateRandomWithSourceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bytes** | Pointer to **int32** | The number of bytes to generate (POST body parameter). Defaults to 32 (256 bits). | [optional] [default to 32]
**Format** | Pointer to **string** | Encoding format to use. Can be \"hex\" or \"base64\". Defaults to \"base64\". | [optional] [default to "base64"]
**Urlbytes** | Pointer to **string** | The number of bytes to generate (POST URL parameter) | [optional]



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Context** | Pointer to **string** | Context string appended to every operationId | [optional]
**GenericMountPaths** | Pointer to **bool** | Use generic mount paths | [optional] [default to false]



Expand Down
1 change: 0 additions & 1 deletion docs/LeasesRenewLeaseRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Increment** | Pointer to **string** | The desired increment in seconds to the lease | [optional]
**LeaseId** | Pointer to **string** | The lease identifier to renew. This is included with a lease. | [optional]
**UrlLeaseId** | Pointer to **string** | The lease identifier to renew. This is included with a lease. | [optional]



Expand Down
1 change: 0 additions & 1 deletion docs/LeasesRevokeLeaseRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**LeaseId** | Pointer to **string** | The lease identifier to renew. This is included with a lease. | [optional]
**Sync** | Pointer to **bool** | Whether or not to perform the revocation synchronously | [optional] [default to true]
**UrlLeaseId** | Pointer to **string** | The lease identifier to renew. This is included with a lease. | [optional]



Expand Down
1 change: 0 additions & 1 deletion docs/PkiIssuerSignVerbatimRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Name | Type | Description | Notes
**OtherSans** | Pointer to **[]string** | Requested other SANs, in an array with the format <oid>;UTF8:<utf8 string value> for each entry. | [optional]
**PrivateKeyFormat** | Pointer to **string** | Format for the returned private key. Generally the default will be controlled by the \"format\" parameter as either base64-encoded DER or PEM-encoded DER. However, this can be set to \"pkcs8\" to have the returned private key contain base64-encoded pkcs8 or PEM-encoded pkcs8 instead. Defaults to \"der\". | [optional] [default to "der"]
**RemoveRootsFromChain** | Pointer to **bool** | Whether or not to remove self-signed CA certificates in the output of the ca_chain field. | [optional] [default to false]
**Role** | Pointer to **string** | The desired role with configuration for this request | [optional]
**SerialNumber** | Pointer to **string** | The Subject's requested serial number, if any. See RFC 4519 Section 2.31 'serialNumber' for a description of this field. If you want more than one, specify alternative names in the alt_names map using OID 2.5.4.5. This has no impact on the final certificate's Serial Number field. | [optional]
**SignatureBits** | Pointer to **int32** | The number of bits to use in the signature algorithm; accepts 256 for SHA-2-256, 384 for SHA-2-384, and 512 for SHA-2-512. Defaults to 0 to automatically detect based on key length (SHA-2-256 for RSA keys, and matching the curve size for NIST P-Curves). | [optional] [default to 0]
**Ttl** | Pointer to **string** | The requested Time To Live for the certificate; sets the expiration date. If not specified the role default, backend default, or system default TTL is used, in that order. Cannot be larger than the role max TTL. | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/PkiSignVerbatimRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Name | Type | Description | Notes
**OtherSans** | Pointer to **[]string** | Requested other SANs, in an array with the format <oid>;UTF8:<utf8 string value> for each entry. | [optional]
**PrivateKeyFormat** | Pointer to **string** | Format for the returned private key. Generally the default will be controlled by the \"format\" parameter as either base64-encoded DER or PEM-encoded DER. However, this can be set to \"pkcs8\" to have the returned private key contain base64-encoded pkcs8 or PEM-encoded pkcs8 instead. Defaults to \"der\". | [optional] [default to "der"]
**RemoveRootsFromChain** | Pointer to **bool** | Whether or not to remove self-signed CA certificates in the output of the ca_chain field. | [optional] [default to false]
**Role** | Pointer to **string** | The desired role with configuration for this request | [optional]
**SerialNumber** | Pointer to **string** | The Subject's requested serial number, if any. See RFC 4519 Section 2.31 'serialNumber' for a description of this field. If you want more than one, specify alternative names in the alt_names map using OID 2.5.4.5. This has no impact on the final certificate's Serial Number field. | [optional]
**SignatureBits** | Pointer to **int32** | The number of bits to use in the signature algorithm; accepts 256 for SHA-2-256, 384 for SHA-2-384, and 512 for SHA-2-512. Defaults to 0 to automatically detect based on key length (SHA-2-256 for RSA keys, and matching the curve size for NIST P-Curves). | [optional] [default to 0]
**Ttl** | Pointer to **string** | The requested Time To Live for the certificate; sets the expiration date. If not specified the role default, backend default, or system default TTL is used, in that order. Cannot be larger than the role max TTL. | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/PluginsCatalogRegisterPluginRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Name | Type | Description | Notes
**Command** | Pointer to **string** | The command used to start the plugin. The executable defined in this command must exist in vault's plugin directory. | [optional]
**Env** | Pointer to **[]string** | The environment variables passed to plugin command. Each entry is of the form \"key=value\". | [optional]
**Sha256** | Pointer to **string** | The SHA256 sum of the executable used in the command field. This should be HEX encoded. | [optional]
**Type** | Pointer to **string** | The type of the plugin, may be auth, secret, or database | [optional]
**Version** | Pointer to **string** | The semantic version of the plugin to use. | [optional]


Expand Down
1 change: 0 additions & 1 deletion docs/RadiusLoginRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Password** | Pointer to **string** | Password for this user. | [optional]
**Urlusername** | Pointer to **string** | Username to be used for login. (URL parameter) | [optional]
**Username** | Pointer to **string** | Username to be used for login. (POST request body) | [optional]


Expand Down
1 change: 0 additions & 1 deletion docs/RawWriteRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Name | Type | Description | Notes
**Compressed** | Pointer to **bool** | | [optional]
**CompressionType** | Pointer to **string** | | [optional]
**Encoding** | Pointer to **string** | | [optional]
**Path** | Pointer to **string** | | [optional]
**Value** | Pointer to **string** | | [optional]


Expand Down
17 changes: 2 additions & 15 deletions docs/SystemApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2649,11 +2649,9 @@ func main() {
log.Fatal(err)
}

genericMountPaths := true // bool | Use generic mount paths (defaults to false)
resp, err := client.System.InternalGenerateOpenApiDocumentWithParameters(
context.Background(),
InternalGenerateOpenApiDocumentWithParametersRequest{ /* populate request parameters */ },
genericMountPaths,
vault.WithToken("my-token"),
)
if err != nil {
Expand All @@ -2674,7 +2672,6 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**internalGenerateOpenApiDocumentWithParametersRequest** | [**InternalGenerateOpenApiDocumentWithParametersRequest**](InternalGenerateOpenApiDocumentWithParametersRequest.md) | |
**genericMountPaths** | **bool** | Use generic mount paths | [default to false]

(empty response body)

Expand Down Expand Up @@ -12149,7 +12146,6 @@ import (
"os"

"github.com/hashicorp/vault-client-go"
"github.com/hashicorp/vault-client-go/schema"
)

func main() {
Expand All @@ -12162,7 +12158,6 @@ func main() {

resp, err := client.System.SystemWriteNamespacesApiLockLock(
context.Background(),
SystemWriteNamespacesApiLockLockRequest{ /* populate request parameters */ },
vault.WithToken("my-token"),
)
if err != nil {
Expand All @@ -12175,14 +12170,11 @@ func main() {

### Path Parameters


This endpoint does not require any parameters.

### Other Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**systemWriteNamespacesApiLockLockRequest** | [**SystemWriteNamespacesApiLockLockRequest**](SystemWriteNamespacesApiLockLockRequest.md) | |

(empty response body)

Expand Down Expand Up @@ -12267,7 +12259,6 @@ import (
"os"

"github.com/hashicorp/vault-client-go"
"github.com/hashicorp/vault-client-go/schema"
)

func main() {
Expand All @@ -12280,7 +12271,6 @@ func main() {

resp, err := client.System.SystemWriteNamespacesApiLockUnlock(
context.Background(),
SystemWriteNamespacesApiLockUnlockRequest{ /* populate request parameters */ },
vault.WithToken("my-token"),
)
if err != nil {
Expand All @@ -12293,14 +12283,11 @@ func main() {

### Path Parameters


This endpoint does not require any parameters.

### Other Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**systemWriteNamespacesApiLockUnlockRequest** | [**SystemWriteNamespacesApiLockUnlockRequest**](SystemWriteNamespacesApiLockUnlockRequest.md) | |

(empty response body)

Expand Down
16 changes: 0 additions & 16 deletions docs/SystemWriteNamespacesApiLockLockRequest.md

This file was deleted.

16 changes: 0 additions & 16 deletions docs/SystemWriteNamespacesApiLockUnlockRequest.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/TransitGenerateHmacRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Name | Type | Description | Notes
**BatchInput** | Pointer to **[]map[string]interface{}** | Specifies a list of items to be processed in a single batch. When this parameter is set, if the parameter 'input' is also set, it will be ignored. Any batch output will preserve the order of the batch input. | [optional]
**Input** | Pointer to **string** | The base64-encoded input data | [optional]
**KeyVersion** | Pointer to **int32** | The version of the key to use for generating the HMAC. Must be 0 (for latest) or a value greater than or equal to the min_encryption_version configured on the key. | [optional]
**Urlalgorithm** | Pointer to **string** | Algorithm to use (POST URL parameter) | [optional]



Expand Down
2 changes: 0 additions & 2 deletions docs/TransitGenerateRandomRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bytes** | Pointer to **int32** | The number of bytes to generate (POST body parameter). Defaults to 32 (256 bits). | [optional] [default to 32]
**Format** | Pointer to **string** | Encoding format to use. Can be \"hex\" or \"base64\". Defaults to \"base64\". | [optional] [default to "base64"]
**Source** | Pointer to **string** | Which system to source random data from, ether \"platform\", \"seal\", or \"all\". | [optional] [default to "platform"]
**Urlbytes** | Pointer to **string** | The number of bytes to generate (POST URL parameter) | [optional]



Expand Down
1 change: 0 additions & 1 deletion docs/TransitGenerateRandomWithBytesRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bytes** | Pointer to **int32** | The number of bytes to generate (POST body parameter). Defaults to 32 (256 bits). | [optional] [default to 32]
**Format** | Pointer to **string** | Encoding format to use. Can be \"hex\" or \"base64\". Defaults to \"base64\". | [optional] [default to "base64"]
**Source** | Pointer to **string** | Which system to source random data from, ether \"platform\", \"seal\", or \"all\". | [optional] [default to "platform"]



Expand Down
1 change: 0 additions & 1 deletion docs/TransitGenerateRandomWithSourceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Bytes** | Pointer to **int32** | The number of bytes to generate (POST body parameter). Defaults to 32 (256 bits). | [optional] [default to 32]
**Format** | Pointer to **string** | Encoding format to use. Can be \"hex\" or \"base64\". Defaults to \"base64\". | [optional] [default to "base64"]
**Urlbytes** | Pointer to **string** | The number of bytes to generate (POST URL parameter) | [optional]



Expand Down
1 change: 0 additions & 1 deletion docs/TransitHashRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Name | Type | Description | Notes
**Algorithm** | Pointer to **string** | Algorithm to use (POST body parameter). Valid values are: * sha2-224 * sha2-256 * sha2-384 * sha2-512 * sha3-224 * sha3-256 * sha3-384 * sha3-512 Defaults to \"sha2-256\". | [optional] [default to "sha2-256"]
**Format** | Pointer to **string** | Encoding format to use. Can be \"hex\" or \"base64\". Defaults to \"hex\". | [optional] [default to "hex"]
**Input** | Pointer to **string** | The base64-encoded input data | [optional]
**Urlalgorithm** | Pointer to **string** | Algorithm to use (POST URL parameter) | [optional]



Expand Down
1 change: 0 additions & 1 deletion docs/TransitRestoreKeyRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Backup** | Pointer to **string** | Backed up key data to be restored. This should be the output from the 'backup/' endpoint. | [optional]
**Force** | Pointer to **bool** | If set and a key by the given name exists, force the restore operation and override the key. | [optional] [default to false]
**Name** | Pointer to **string** | If set, this will be the name of the restored key. | [optional]



Expand Down
Loading